/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* General */
html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
}

/* Header */
.menu-all {
  background: #ff0000;
}

.menu-all a {
  color: #fff !important;
}

/* Nav */
.menu-image {
  min-height: 230px;
}

.menu-title {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px;
}

/* Cookie Page */
.cmplz-document {
  max-width: 100% !important;
}

/* PRODUCT CATEGORY PAGE */
.produktkat-titel {
  min-height: 40px;
}

/* .fusion-post-card-image.kategoriebild img {
  width: 100%;
  height: 200px;
  object-fit: contain;
}

.fusion-post-card-image.kategoriebild {
  aspect-ratio: 1/1;
  margin-bottom: 0px;
} */

.acf-height {
  min-height: 70px;
}

.hide-acf-cat {
  font-size: 12px !important;
}

/* Hintergrund Grün, wenn Menge grösser 0 ist */
.fusinon-body #main .fusion-post-card-cart .quantity input[type=number].qty.bg-gree {
  background-color: #c8e6c9 !important;
}

.wpf_links {
  font-size: 14px;
}

.wpf_links a {
  color: #ccc !important;
}

.wpf_item li .wpf_selected {
  color: #ff0000 !important;
}

.fusion-sort-form select {
  font-size: 12px;
  padding: 0 5px;
  background: white;
}

.products-per-page-form select {
  font-size: 12px;
  padding: 0 15px;
  background: white;
}

/* Hide the text on the "Add to Cart" button */
.fusion-post-card-cart.awb-add-to-cart-style-button .fusion-post-card-cart-add-to-cart {
  font-size: 0 !important;
  position: relative;
}

/* Ensure the cart icon remains visible */
.fusion-post-card-cart.awb-add-to-cart-style-button .fusion-post-card-cart-add-to-cart::before {
  font-family: "profitpoint";
  font-size: 18px;
  font-weight: 300;
  content: '\e903';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.fusion-post-card-cart.awb-add-to-cart-style-button .fusion-post-card-cart-add-to-cart:hover::before {
  color: #ffffff;
}

/* Wholesale */
.whols_label {
  font-weight: 600 !important;
  font-size: 16px !important;
  margin-left: -10px;
}

.whols_wholesaler_price {
  margin-bottom: 0 !important;
}

.whols_label_left {
  display: none;
}


.only-logged-in {
  display: none;
}

/* wird nur angezeigt, wenn Benutzer eingeloggt ist*/
.whols_invalid_msg.woocommerce-message {
  margin-top: 20px;
  color: #fff;
  background: #ff0000;
  padding: 10px;
}

.whols_invalid_msg.woocommerce-error {
  margin-top: 20px;
  color: #fff;
  background: #ff0000;
  padding: 10px;
}

#whols_reg_submit {
  background: #ccc;
  color: #000;
  border: none;
  transition: 0.5s;
}

#whols_reg_submit:hover {
  background: red;
  color: #fff;
  border: none;
}

.wpfCheckboxHier {
  font-size: 12px !important;
}

#remove-msg {
  position: fixed !important;
  top: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: red !important;
  color: white !important;
  padding: 15px 25px !important;
  border-radius: 8px !important;
  z-index: 999999 !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px 2px black !important;
}


@media only screen and (max-width: 500px) {
  /* .fusion-post-card-image.kategoriebild img {
    width: 100%;
    height: 150px;
    object-fit: contain;
  }

  .fusion-post-card-image.kategoriebild {
    aspect-ratio: 1/1;
    margin-bottom: 10px;
  } */
}

@media only screen and (min-width:801px) and (max-width: 1200px) {
  /*  .fusion-post-card-image.kategoriebild img {
    width: 100%;
    height: 170px;
    object-fit: contain;
  }

  .fusion-post-card-image.kategoriebild {
    aspect-ratio: 1/1;
    margin-bottom: 10px;
  } */
}

@media only screen and (min-width:1201px) and (max-width: 1550px) {
  /* .fusion-post-card-image.kategoriebild img {
    width: 100%;
    height: 150px;
    object-fit: contain;
  }

  .fusion-post-card-image.kategoriebild {
    aspect-ratio: 1/1;
    margin-bottom: 10px;
  } */
}

/** PRODUCT PAGE **/
.single_add_to_cart_button {
  height: 38px;
}

.woocommerce-price-suffix {
  display: none;
}

.price-adjust .whols_label {
  font-weight: 600 !important;
  font-size: 16px !important;
  margin-left: 0px;
}

.description_tab {
  display: none;
}

#tab-description {
  padding: 0 !important;
}

.hide-acf {
  font-size: 14px !important;
}

/** CART PAGE **/
.wc-block-cart__submit:hover {
  border: thin solid #ff0000;
  background: #ff0000;
  transition: 0.5s;
}

.wc-block-cart__submit {
  border: thin solid #ff0000;
  background: #fff;
  transition: 0.5s;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover {
  color: #fff;
  transition: 0.5s;
}

.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
  color: #ff0000;
  transition: 0.5s;
}

.wc-block-components-totals-shipping .wc-block-components-shipping-address {
  display: none !important;
}

.wc-block-cart-item__prices:before {
  content: 'EP (exkl. MwSt)';
  font-size: 12px;
}

.wc-block-cart-item__total-price-and-sale-badge-wrapper {
  display: inline !important;
}

.wc-block-cart-item__total {
  font-weight: 600;
}

.wc-block-cart-item__total:before {
  content: 'Total (exkl. MwSt)';
  font-size: 12px;
  font-weight: 400;
}

td.wc-block-cart-item__image {
  width: 5%;
}

td.wc-block-cart-item__product {
  width: 65%;
}

td.wc-block-cart-item__total {
  width: 30%;
}

.wc-block-components-radio-control__description-group--column {
  display: none !important;
}

.wc-block-components-totals-fees__3-abholrabatt {
  color: green;
  font-weight: 800;
}

h1.warenkorb {
  margin-bottom: 20px;
}

h2.warenkorb {
  margin-bottom: 20px;
}

.neuste-produkte {
  background: green;
}

.wc-block-cart .wc-block-components-product-name {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.wc-block-cart .wc-block-cart-items__row a[tabindex="-1"] {
  pointer-events: none;
  cursor: default;
}

@container (min-width: 700px) {
  .wc-block-cart__main .wc-block-cart-items td {
    display: table-cell;
  }
}

/* Robuste Zentrierung für Avada MiniCart Counter */
li.fusion-widget-cart .fusion-widget-cart-number {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 50% !important;
  font-size: 12px !important;
  line-height: 1 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  background-color: var(--awb-custom_color_1) !important;
  border: 1px solid var(--awb-custom_color_1) !important;
  color: var(--awb-color1) !important;
  position: relative !important;
  top: 0 !important;
  vertical-align: middle !important;
  transform: translateX(-10px) !important;
  /* nach links verschieben */
  transform: translateY(-12px) !important;
  /* nach links verschieben */
}

@media only screen and (max-width: 520px) {
  .awb-menu__main-a .awb-menu__main-a_regular .awb-menu__main-a_icon-only .fusion-flex-link {
    padding-left: 0 !important;
  }
}

@media only screen and (max-width: 728px) {
  td.wc-block-cart-item__image {
    width: 100%;
  }

  td.wc-block-cart-item__product {
    width: 100%;
  }

  td.wc-block-cart-item__total {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0.5rem;
  }

  .wc-block-cart-item__prices {
    font-size: 12px !important;
    float: none;
  }
}

/** CHECKOUT PAGE **/
.wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices {
  display: none !important;
}

.price.wc-block-components-product-price {
  background: none !important;
}

.wc-block-components-checkout-place-order-button--full-width {
  font-family: 'Montserrat';
  background: #fff;
  box-shadow: none;
  border: thin solid #ff0000;
  color: #ff0000;
  font-size: 16px;
  text-transform: uppercase;
  transition: 0.5s;
}

.wc-block-components-checkout-place-order-button--full-width:hover {
  background: #ff0000;
  color: #fff;
  transition: 0.5s;
}

.wc-block-components-product-metadata__description {
  display: none;
}

.wc-block-checkout__sidebar .wc-block-components-product-name {
  font-size: 16px !important;
}

/** SEARCH PAGE **/
h2.fusion-nothing-found.fusion-responsive-typography-calculated {
  font-size: 18px !important;
}

/** THANKYOU PAGE **/
p.bank {
  margin-bottom: 0 !important;
}

.shipped_via {
  display: none;
}

.shop_table.order_details tfoot tr th {
  vertical-align: top;
}

/** ACCOUNT PAGE **/
.avada-myaccount-user {
  display: none;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .edit {
  padding: 0;
}

/* Footer */
.footer-link:hover {
  color: #fff;
}

.kontakt-item .fusion-li-item-content a {
  color: #000;
}

.kontakt-item .fusion-li-item-content a:hover {
  color: #ff0000;
}

/* Misc */
#menu-hauptmenu-1,
#menu-hauptmenu-2 {
  top: -11px;
}

nav.expanded .awb-menu__m-toggle {
  position: absolute;
  background: red;
  z-index: 1111;
  top: -52px;
  color: white;
  right: -18px;
}

nav.awb-menu.expanded>ul {
  border-top: 1px solid #ff0000;
}

/* Overlay hinter Mobile-Menü */
.awb-menu.expanded::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 998;
  top: 0;
  pointer-events: auto;
}

/* Menü selbst bleibt über Overlay */
.awb-menu.expanded {
  position: relative;
  z-index: 999;
}

.fusion-body:not(.has-sidebar) .alignwide:not(.tribe-events-view) {
  width: auto !important;
}

.buttons_added input:disabled {
  filter: grayscale(1);
  border-color: #ccc !important;
  background-color: #f2f2f2 !important;
}

.buttons_added input:disabled svg {
  stroke: #bcbcbc !important;
}

.fusion-classic-product-image-wrapper.fusion-woo-product-image.fusion-post-card-image.images {
  display: flex;
  justify-content: center;
}

.woocommerce-product-gallery__image.fusion-image-wrapper {
  display: flex;
  justify-content: center;
}

.woocommerce-product-gallery__image.fusion-image-wrapper img {
  width: 50%;
  height: 180px;
  object-fit: contain;
}

.post-card .fusion-text,
.post-card .fusion-builder-row {
  display: flex !important;
  justify-content: center !important;
}

.post-card .fusion-woo-price-tb {
  justify-content: center !important;
}

.woocommerce-product-gallery__image.fusion-image-wrapper {
  min-width: 80px;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img {
  width: 80% !important;
}