/*
Theme Name: Brunetti
Author: Sandra Gumbrecht
Author URI: https://www.gu-co.de
Theme URI: https://brunetticaffe.de/
Tags: full-site-editing, editor-style, block-styles, block-patterns
Text Domain: brunetti
Requires at least: 6.3
Requires PHP: 7.4
Tested up to: 6.3
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
:root {
  --swiper-theme-color: #78281b !important;
  --swiper-pagination-bullet-opacity: 0.8;
}

html {
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

a,
a:hover {
  transition: all 0.55s ease-in-out;
  -moz-transition: all 0.55s ease-in-out;
  -webkit-transition: all 0.55s ease-in-out;
}

.wp-block-group.alignfull {
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  left: 50%;
  padding-left: var(--wp--preset--spacing--60);
  padding-right: var(--wp--preset--spacing--60);
}
/**
*
* HELPER
*
**/
@media screen and (max-width: 778px) {
  .hide-mobile {
    display: none;
    visibility: hidden;
  }
}

/**
*
* HEADER
*
**/
.wrapper-logo-shopmeta {
  position: relative;
}
.wrapper-shopmeta {
  position: absolute;
  right: 0;
}

/* Logo */

@media only screen and (max-width: 480px) {
  header .logo {
    width: 140px;
  }
}
@media only screen and (max-width: 380px) {
  header .wrapper-logo {
    justify-content: left !important;
    margin-left: 2.75rem;
  }
  header .logo {
    width: 120px;
  }
}

/* Banner */
.wrapper-banner .entry-content {
  padding: 0.5rem 0;
  text-align: center !important;
}

/* NAVIGATION */
.wrapper-mainmenu .mega-menu-wrap .max-mega-menu > li.mega-menu-item {
  font-weight: 600;
  padding: 0 0.25rem !important;
}
@media only screen and (max-width: 960px) {
  .wrapper-mainmenu .mega-menu-wrap .max-mega-menu > li.mega-menu-item {
    padding: 0 0.35rem !important;
  }
}
@media only screen and (min-width: 960px) {
  .wrapper-mainmenu .mega-menu-wrap .max-mega-menu > li.mega-menu-item {
    padding: 0 0.75rem !important;
  }
}
@media only screen and (min-width: 1280px) {
  .wrapper-mainmenu .mega-menu-wrap .max-mega-menu > li.mega-menu-item {
    padding: 0 1rem !important;
  }
}

@media only screen and (max-width: 778px) {
  .wrapper-mainmenu .mega-menu-toggle {
    position: absolute;
    top: -2.75rem;
    left: -0.5rem;
  }
}

/*
* Breadcrumb
*/
.woocommerce-breadcrumb {
  font-size: 12px;
  opacity: 0.9;
}
/*
* Header Search
*/
.shop-meta form {
  margin: 0 auto;
  text-align: center;
}
.shop-meta input {
  width: calc(80% - 6rem);
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
@media only screen and (max-width: 778px) {
  .shop-meta input {
    width: calc(90% - 4.5rem);
    padding-left: 0.875rem;
    padding-right: 0.875rem;
  }
}
/* FILTER */

.yith-wcan-filters .yith-wcan-filter .filter-title {
  color: var(--wp--preset--color--primary);
  font-size: var(--wp--preset--font-size--extra-small);
}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > a,
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item > label > a {
  color: var(--wp--preset--color--contrast);
  font-size: var(--wp--preset--font-size--extra-small);
}

.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.active > a,
.yith-wcan-filters
  .yith-wcan-filter
  .filter-items
  .filter-item.active
  > label
  > a {
  color: var(--wp--preset--color--primary);
}
.yith-wcan-filter input[type="checkbox"] {
  border: var(--wp--preset--color--primary);
  background-color: var(--wp--preset--color--primary);
  accent-color: var(--wp--preset--color--primary);
}
button.yith-wcan-reset-filters {
  background-color: #fff;
  border: none;
  color: var(--wp--preset--color--primary);
  padding: 15px 32px;
  text-align: left;
  text-decoration: none;
  display: inline-block;
  font-size: var(--wp--preset--font-size--extra-small);
}
button.yith-wcan-reset-filters::before {
  content: "x";
}
.yith-wcan-filters .filter-item a {
  display: inline-block !important;
}
#mega-menu-wrap-max_mega_menu_4 #mega-menu-max_mega_menu_4 li {
  line-height: 1.85;
}
/**
*
* HELPER
*
**/
.custom-taxonomy .checked::before,
.liste.checked li::before {
  content: "";
  background: url(assets/images/icon-check.svg) no-repeat;
  width: 14px;
  height: 10px;
  display: inline-block;
  margin-right: 0.5rem;
}

/*
* Spaltensets
*/
/* 4 Spalten Responsive Mobile 400px */

@media only screen and (max-width: 781px) and (min-width: 360px) {
  .wrapper-4-cols {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .wrapper-4-cols .col {
    grid-column: span 6 / span 6;
    width: auto;
  }
}
/*
* Buttons
*
*/
.wp-element-button {
  background-color: var(--wp--preset--color--primary);
  border-radius: 24px;
  color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--poppins-semibold);
  font-size: var(--wp--preset--font-size--extra-small);
  line-height: 1.25;
  padding-top: 10px;
  padding-right: 24px;
  padding-bottom: 10px;
  padding-left: 24px;
}
.wp-block-button.is-style-brunetti-flat-button .wp-element-button {
  background-color: transparent;
  color: var(--wp--preset--color--primary);
}
.wp-block-button.is-style-brunetti-flat-button .wp-element-button::after {
  content: " >";
  position: relative;
  top: 1px;
}
/**
*
* FOOTER
*
**/
/* Warum Brunetti */
.footer-why-wrapper .col {
  border-radius: 1rem;
}

/* Info Spalten */
@media only screen and (min-width: 600px) {
  .footer-wrapper-infos-cols .footer-col4 .wp-block-column {
    flex-basis: 100% !important;
  }
}

@media only screen and (min-width: 600px) {
  .footer-wrapper-infos-cols {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 2em var(--wp--preset--spacing--30) !important;
  }
  .footer-wrapper-infos-cols .footer-col1 {
    grid-column: span 12 / span 12;
  }
  .footer-wrapper-infos-cols .footer-col2 {
    grid-column: span 6 / span 6;
  }
  .footer-wrapper-infos-cols .footer-col3 {
    grid-column: span 6 / span 6;
  }
  .footer-wrapper-infos-cols .footer-col4 {
    grid-column: span 12 / span 12;
  }
}

@media only screen and (min-width: 960px) {
  .footer-wrapper-infos-cols {
    gap: 2em var(--wp--preset--spacing--50) !important;
  }
  .footer-wrapper-infos-cols .footer-col1 {
    grid-column: span 4 / span 4;
  }
  .footer-wrapper-infos-cols .footer-col2 {
    grid-column: span 4 / span 4;
  }
  .footer-wrapper-infos-cols .footer-col3 {
    grid-column: span 4 / span 4;
  }
}

@media only screen and (min-width: 1280px) {
  .footer-wrapper-infos-cols {
    gap: 2em var(--wp--preset--spacing--80) !important;
  }
  .footer-wrapper-infos-cols .footer-col1 {
    grid-column: span 3 / span 3;
  }
  .footer-wrapper-infos-cols .footer-col2 {
    grid-column: span 3 / span 3;
  }
  .footer-wrapper-infos-cols .footer-col3 {
    grid-column: span 3 / span 3;
  }
  .footer-wrapper-infos-cols .footer-col4 {
    grid-column: span 3 / span 3;
  }

  .footer-wrapper-infos-cols .footer-col4 .footer-kontakt-wrapper {
    flex-wrap: wrap !important;
  }
}

/* Payment Delivery Spalten */

@media only screen and (max-width: 1080px) {
  .footer-wrapper-pay-deliver-cols {
    flex-wrap: wrap !important;
    gap: 2em var(--wp--preset--spacing--30) !important;
  }
  .footer-wrapper-pay-deliver-cols .footer-pay,
  .footer-wrapper-pay-deliver-cols .footer-deliver {
    flex-basis: 100% !important;
  }
}

@media only screen and (max-width: 781px) {
  .pay-wrapper .wp-block-column.col,
  .pay-wrapper .col,
  .deliver-wrapper .wp-block-column.col.img {
    flex-basis: 25% !important;
  }
}

@media only screen and (max-width: 600px) {
  .pay-wrapper .wp-block-column.col,
  .pay-wrapper .col,
  .deliver-wrapper .wp-block-column.col.img {
    flex-basis: 33% !important;
  }
}
/* Newsletter */

#customForm .quick_form_31_css {
  background-color: transparent !important;
  border-width: 0 !important;
}
#zcampaignOptinForm > :nth-child(2) {
  width: 100% !important;
}
#zcampaignOptinForm > :nth-child(3) {
  margin-left: 0 !important;
}
#customForm .quick_form_31_css {
  height: auto;
}
@media only screen and (min-width: 768px) {
  #customForm .quick_form_31_css {
    height: 180px;
  }
}
/**
*
* WOOCOMMERCE
*
**/

/**
* Product Single
**/

/* Content Top */
/* change width of column when screen is 781px and smaller */

@media (max-width: 1279px) {
  .product-single-top-wrapper .product-single-img {
    flex-basis: 50% !important;
  }
}
@media (max-width: 959px) {
  .product-single-top-wrapper .product-single-img {
    flex-basis: 40% !important;
  }
}

/* Rating */
.wc-block-grid__product-rating
  .wc-block-grid__product-rating__stars
  span:before,
.woocommerce .star-rating span::before {
  color: #f5a623;
}
.woocommerce .star-rating::before {
  content: "SSSSS";
  color: #b1a5a2;
}

.woocommerce-review-link {
  font-size: 12px;
}

/* Preis */
.product-single-info del span.woocommerce-Price-amount.amount {
  font-weight: 600;
}
.wp-block-woocommerce-gzd-product-is-empty p {
  display: none;
}
.product-single-info ins span.woocommerce-Price-amount.amount,
.product-single-info
  .wc-block-components-product-price
  span.woocommerce-Price-amount.amount
  bdi {
  font-size: var(--wp--preset--font-size--large);
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--poppins-semibold);
}
.price del,
.wc-block-components-product-price del span bdi {
  font-size: var(--wp--preset--font-size--extra-small) !important;
}
.wp-block-woocommerce-gzd-product-price-label.wp-block-woocommerce-gzd-product-unit-price,
.wp-block-woocommerce-gzd-product-price-label.wp-block-woocommerce-gzd-product-unit-price
  .woocommerce-Price-amount.amount,
.wp-block-woocommerce-gzd-product-price-label.wp-block-woocommerce-gzd-product-unit-price
  .unit-base,
.wp-block-woocommerce-gzd-product-price-label.wp-block-woocommerce-gzd-product-unit-price
  .unit,
.wc-gzd-block-grid__product-unit-price,
.wp-block-woocommerce-gzd-product-price-label.wp-block-woocommerce-gzd-product-unit-price
  ins,
.wc-gzd-block-components-product-shipping-costs-info.wc-gzd-block-grid__product-shipping-costs-info.shipping-costs-info,
.wc-gzd-block-components-product-delivery-time.wc-gzd-block-grid__product-delivery-time.delivery-time-info,
.woocommerce div.product p.stock,
.wc-gzd-block-components-product-tax-info.wc-gzd-block-grid__product-tax-info,
.up-sells .wc-gzd-additional-info.tax-info,
.up-sells .wc-gzd-additional-info.shipping-costs-info,
.up-sells .wc-gzd-additional-info.shipping-costs-info a,
.steuer-versand p,
.wc-gzd-block-components-product-unit-price
  .wp-block-post.product
  ins
  span.woocommerce-Price-amount.amount {
  font-size: 14px !important;
  color: #b1a5a2;
  text-decoration: none;
  font-weight: 400;
}
.wc-gzd-additional-info.wc-gzd-additional-info-loop {
  margin-top: 0 !important;
}
.wc-gzd-additional-info-loop.shipping-costs-info,
.wc-gzd-additional-info-loop.tax-info {
  margin-bottom: 0 !important;
}
.wc-block-grid.has-4-columns:not(.alignwide):not(.alignfull)
  .wc-block-grid__product {
  font-size: inherit;
}

.wc-gzd-block-components-product-shipping-costs-info.wc-gzd-block-grid__product-shipping-costs-info.shipping-costs-info
  a,
.wc-gzd-block-components-product-unit-price
  .wp-block-post.product
  ins
  span.woocommerce-Price-amount.amount {
  font-size: 14px;
  color: #b1a5a2;
  font-weight: 400;
}

/* Excerpt */
.wp-block-post-excerpt__excerpt {
  margin-bottom: 1rem;
}
/* To Card Button */
.wp-block-add-to-cart-form.wc-block-add-to-cart-form {
  margin-top: 0;
}
.woocommerce div.product p.stock {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}
form.cart {
  display: flex !important;
}
form.cart button {
  background-color: var(--wp--preset--color--primary);
  border-radius: 1.5rem;
  padding-left: var(--wp--preset--spacing--30);
  padding-right: var(--wp--preset--spacing--30);
  flex-grow: 1;
}

.wp-block-post-terms a:where(:not(.wp-element-button)) {
  color: var(--wp--preset--color--contrast);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--wp--preset--color--secondary);
}

/* Hint Versandkosten */
.liste.checked {
  text-align: center;
  list-style: none;
}

/* Product Imgage */
.woocommerce .wp-block-woocommerce-product-image-gallery {
  max-width: 800px;
}
.woocommerce div.product div.images img {
  border-radius: 1rem;
}

.flex-control-nav.flex-control-thumbs {
  margin-top: 1rem !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  border: 4px solid transparent;
  width: calc(25% - 8px);
}

/* Pills*/
.custom-taxonomy .title {
  text-transform: uppercase;
  margin-bottom: 0;
}
.custom-taxonomy .checked-wrapper {
  margin-top: 0.75rem;
}
.custom-taxonomy .checked {
  background-color: var(--wp--preset--color--secondary);
  padding: 0.375rem 1rem;
  margin-right: 0.75rem;
  font-size: 14px;
  border-radius: 1rem;
}

/* Tabs */
.custom-tabs-wrapper {
  margin-top: 8rem;
  margin-bottom: 8rem;
}
.custom-tabs-wrapper #tab-description,
.custom-tabs-wrapper #tab-additional_information {
  background-color: var(--wp--preset--color--secondary);
  padding-top: 2rem;
  padding-bottom: 2rem;

  padding-right: var(--wp--preset--spacing--50);

  padding-left: var(--wp--preset--spacing--50);
}
.custom-tabs-wrapper .global-content {
  max-width: var(--wp--style--global--content-size);
  margin: 0 auto;
}
.custom-tabs-wrapper .custom-tab-title {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 600;
}
.woocommerce table.shop_attributes td {
  font-style: normal;
}
/*
* Reviews
*/
.wc-block-review-list.wc-block-components-review-list {
  padding-left: 0;
}
.wc-block-review-list-item__item.wc-block-components-review-list-item__item {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--wp--preset--color--secondary);
}
.wc-block-review-list-item__author.wc-block-components-review-list-item__author,
.wc-block-review-list-item__published-date.wc-block-components-review-list-item__published-date {
  font-size: var(--wp--preset--font-size--extra-small);
  font-weight: 400;
  opacity: 0.8;
}
#tab-reviews {
  padding-top: var(--wp--preset--spacing--80);
}
ol.commentlist {
  padding: 0;
}
.comment-text {
  padding: 1rem 0 !important;
  margin: 0 !important;
  border-top: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}
/*
* Upsell
*/
.up-sells h2 {
  padding-top: var(--wp--preset--spacing--50);
  padding-bottom: var(--wp--preset--spacing--80);
}
.up-sells.upsells.products {
  text-align: center;
}
.up-sells .woocommerce-loop-product__title {
  font-size: var(--wp--preset--font-size--extra-small) !important;
}
/*
* Cards
*/
.wp-block-woocommerce-related-products
  .wc-block-components-product-price.wc-block-grid__product-price {
  margin-bottom: 0;
}
.wc-block-grid__product-image img {
  border-radius: 16px;
}

/* .wp-block-post.product */

.wp-block-woocommerce-related-products ins span.woocommerce-Price-amount.amount,
.up-sells ins span.woocommerce-Price-amount.amount,
ul.wc-block-grid__products
  li.wc-block-grid__product
  .wc-gzd-additional-info:not(.deposit-packaging-type),
.wp-block-woocommerce-product-price ins span.woocommerce-Price-amount.amount,
.wp-block-post.product ins span.woocommerce-Price-amount.amount {
  font-size: var(--wp--preset--font-size--small);
}
.wp-block-woocommerce-related-products del span.woocommerce-Price-amount.amount,
ul.wc-block-grid__products
  li.wc-block-grid__product
  .wc-gzd-additional-info:not(.deposit-packaging-type),
.wp-block-woocommerce-product-price ins span.woocommerce-Price-amount.amount,
.products-block-post-template
  .wc-gzd-additional-info:not(.deposit-packaging-type),
.wp-block-post.product ins span.woocommerce-Price-amount.amount,
.wp-block-post.product .wc-gzd-additional-info:not(.deposit-packaging-type) {
  opacity: 0.7;
}
/* .card-titel a, */
ul.wc-block-grid__products
  li.wc-block-grid__product
  .wc-gzd-additional-info:not(.deposit-packaging-type)
  a,
.wp-block-woocommerce-product-price ins span.woocommerce-Price-amount.amount,
.wp-block-post.product ins span.woocommerce-Price-amount.amount,
.up-sells ins span.woocommerce-Price-amount.amount {
  text-decoration: none;
  font-weight: normal;
  opacity: 1;
}
.card-titel a {
  text-decoration: none;
}
.wc-block-product,
.wc-block-grid__product,
.products-block-post-template,
.wp-block-post.product {
  margin: 0 auto;
  text-align: center;
}
.wc-block-product h3 a,
.products-block-post-template h3 a,
.wp-block-post.product h3 a {
  font-size: var(--wp--preset--font-size--extra-small) !important;
}
.wc-block-product h3 a,
.wc-block-grid__product a.wc-block-grid__product-link,
.wc-block-grid__product ins,
.products-block-post-template h3 a,
.wp-block-post.product h3 a {
  text-decoration: none;
}
.wc-block-product .wc-gzd-additional-info,
.wc-block-product .wc-gzd-additional-info a,
.wc-block-grid__product .wc-gzd-additional-info,
.wc-block-grid__product .wc-gzd-additional-info a,
.products-block-post-template
  .wc-gzd-additional-info:not(.deposit-packaging-type),
.products-block-post-template .wc-gzd-additional-info a,
.wp-block-post.product .wc-gzd-additional-info a,
.wp-block-post.product .wc-gzd-additional-info:not(.deposit-packaging-type),
.wc-gzd-additional-info .woocommerce-Price-amount.amount,
.up-sells .wc-gzd-additional-info-loop,
.up-sells .wc-gzd-additional-info-loop .unit-base,
.up-sells .wc-gzd-additional-info-loop .unit {
  color: #b1a5a2;
  font-size: 0.75rem !important;
  margin-top: 0;
  text-align: center;
}

.wc-block-product .wc-gzd-additional-info.tax-info,
.up-sells .wc-gzd-additional-info.tax-info,
.wc-block-product .wc-gzd-additional-info.shipping-costs-info,
.wc-block-grid__product .wc-gzd-additional-info.tax-info,
.wc-block-grid__product .wc-gzd-additional-info.shipping-costs-info,
.products-block-post-template .wc-gzd-additional-info.tax-info,
.products-block-post-template .wc-gzd-additional-info.shipping-costs-info,
.wp-block-post.product .wc-gzd-additional-info.tax-info,
.wp-block-post.product .wc-gzd-additional-info.shipping-costs-info,
.up-sells .wc-gzd-additional-info.shipping-costs-info {
  display: inline-block;
}
/* .wc-block-product .wc-gzd-additional-info.shipping-costs-info::before,
.wc-block-grid__product .wc-gzd-additional-info.shipping-costs-info::before,
.products-block-post-template
  .wc-gzd-additional-info.shipping-costs-info::before {
  content: " / ";
}
@media only screen and (max-width: 500px) {
  .wc-block-product .wc-gzd-additional-info.shipping-costs-info::before,
  .wc-block-grid__product .wc-gzd-additional-info.shipping-costs-info::before,
  .products-block-post-template
    .wc-gzd-additional-info.shipping-costs-info::before {
    content: "  ";
  }
} */
.wc-block-product .wc-gzd-additional-info.tax-infoo::after,
.wc-block-grid__product .wc-gzd-additional-info.tax-info::after,
.products-block-post-template .wc-gzd-additional-info.tax-info::after,
.wc-gzd-additional-info.tax-info::after {
  content: " / ";
}
.product p.wc-gzd-additional-info {
  margin-bottom: 0 !important;
}
/*
* Hints
*/
.woocommerce .wp-block-woocommerce-product-image-gallery span.onsale,
.wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-right.wc-block-grid__product-onsale,
.woocommerce ul.products li.product .onsale,
.wc-block-grid .wc-block-grid__product-onsale {
  left: 4px;
  top: 4px;
  right: auto;
}

.woocommerce span.onsale,
.wc-block-grid__product-onsale span:where(:not(.screen-reader-text)),
.wc-block-grid .wc-block-grid__product-onsale,
.wc-block-grid__product-image .wc-block-grid__product-onsale,
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  background-color: transparent !important;
  border-radius: 0;
  font-size: 0.875rem !important;
  line-height: 3.236 !important;
  text-transform: none !important;
  width: 116px !important;
  height: 60px !important;
  padding-top: 4px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wc-block-grid__product .wc-block-grid__product-onsale {
  width: 106px !important;
}
@media only screen and (max-width: 781px) {
  .woocommerce span.onsale,
  .wc-block-grid__product-onsale span:where(:not(.screen-reader-text)),
  .wc-block-grid .wc-block-grid__product-onsale,
  .wc-block-grid__product-image .wc-block-grid__product-onsale,
  .woocommerce span.onsale,
  .woocommerce ul.products li.product .onsale,
  .woocommerce span.onsale {
    font-size: 0.75rem !important;
    line-height: 1.5 !important;
    width: 90px !important;
    height: 50px !important;
    padding-top: 2px;
  }
}
li.wc-block-product {
  position: relative;
}
.type-product .wp-block-group {
  position: relative;
}
.soldout {
  font-size: 0.75rem !important;
  line-height: 3.236 !important;
  text-transform: none !important;
  width: 130px !important;
  height: 54px !important;
  padding-top: 14px;
  text-align: center;
  z-index: 2;
  position: absolute;
  top: 20px;
  color: white;
}
.soldout::after {
  content: "";
  background: url(assets/images/soldout.svg) no-repeat;
  width: 130px;
  height: 54px;
  display: inline-block;
  position: absolute;
  top: 4px;
  left: 6px;
  background-size: contain;
  z-index: -1;
}

.wp-block-woocommerce-product-image-gallery .onsale::after,
/* .wc-block-grid__product-onsale span:where(:not(.screen-reader-text))::after, */
.wc-block-components-product-sale-badge::after,
.wc-block-grid__product-onsale::after,
.woocommerce span.onsale::after {
  content: "";
  background: url(assets/images/sale.svg) no-repeat;
  width: 116px;
  height: 56px;
  display: inline-block;
  position: absolute;
  top: 4px;
  left: 6px;
  background-size: contain;
  z-index: -1;
}
@media only screen and (max-width: 781px) {
  .wp-block-woocommerce-product-image-gallery .onsale::after,
  /* .wc-block-grid__product-onsale span:where(:not(.screen-reader-text))::after, */
.wc-block-components-product-sale-badge::after,
.wc-block-grid__product-onsale::after,
  .woocommerce span.onsale::after {
    width: 90px;
    height: 50px;
    top: 2px;
    left: 4px;
  }
}
/*
* Produkt Kategorie
*/
.product-category img {
  border-radius: 1rem;
}
.woocommerce-loop-category__title {
  text-align: center;
}
.woocommerce-loop-category__title .count {
  display: none;
}
/*
*
* Germanized Errors
*
*/
@media only screen and (max-width: 700px) {
  .wp-block-woocommerce-germanized-pro-multilevel-checkout
    .wp-block-woocommerce-germanized-pro-multilevel-checkout-sidebar {
    width: 100%;
  }
}
/*
*
* Blöcke
*
*/
/* Media Text*/
.wp-block-media-text__media,
.wp-block-media-text__media img {
  border-radius: 1.25rem;
}
/* Loop */
.wp-block-query .wp-block-post-title a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/*
*
* Forms
*
*/

input[type="tel"],
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"] {
  border-radius: 1.5rem;
  border-color: var(--wp--preset--color--primary);
  padding-top: 10px;
  padding-bottom: 10px;
}
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="search"]:hover {
  border-color: var(--wp--preset--color--contrast);
}

input[type="tel"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
select:focus-visible {
  outline: 1px solid var(--wp--preset--color--secondary);
}

select {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--wp--preset--color--contrast);
  font-size: var(--wp--preset--font-size--extra-small) !important;
}

/*
*
* Pattern
*
*/
.timeline > div:nth-child(odd) > div:nth-child(odd) > div {
  justify-content: flex-start;
}
.timeline
  > div:nth-child(odd)
  > div:nth-child(odd)
  > div
  .wp-block-outermost-icon-block {
  order: 1;
}
.timeline > div:nth-child(odd) > div:nth-child(odd) > div p {
  order: 2;
}
.timeline > div:nth-child(even) > div:nth-child(1) {
  order: 2;
}
.timeline > div:nth-child(even) > div:nth-child(2) {
  order: 1;
}
@media only screen and (min-width: 778px) {
  .timeline > div:nth-child(odd) > div:nth-child(odd) > div {
    justify-content: flex-end;
  }
  .timeline
    > div:nth-child(odd)
    > div:nth-child(odd)
    > div
    .wp-block-outermost-icon-block {
    order: 2;
  }
  .timeline > div:nth-child(odd) > div:nth-child(odd) > div p {
    order: 1;
  }
  .timeline > div:nth-child(even) > div:nth-child(1) {
    order: 1;
  }
  .timeline > div:nth-child(even) > div:nth-child(2) {
    order: 2;
  }
}

/* Timeline */
.cool-vertical-timeline-body .timeline-content .story-details {
  background: #f9f7f7;
  box-shadow: none;
}
