/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

/* =========================
   Generale
   ========================= */
p {
  text-align: justify;
}

/* =========================
   Header
   ========================= */
#Subheader:after {
  box-shadow: inset 0 4px 3px -2px rgba(0, 0, 0, 0) !important;
}

@media only screen and (max-width: 767px) {
  .minimalist-header-no #Subheader {
    padding: 20px 0 !important;
  }
}

/* =========================
   Menu
   ========================= */
.promomenu a {
  color: #faa61a !important;
  font-weight: bold !important;
}

.mfn-megamenu-title {
  background: #464646 !important;
}

#Top_bar .menu > li ul {
  background-color: #000 !important;
}

/* =========================
   Post
   ========================= */
.grid .post-footer {
  display: none;
}

.post-title {
  text-align: center;
}

.entry-title {
  font-size: 24px;
}

/* =========================
   WooCommerce
   ========================= */
.woocommerce .product .product_wrapper .product_image_wrapper {
  margin-top: 80px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
  margin: 30px 10px;
}

#Top_bar a#header_cart {
  display: none;
}

.image_frame:not(.no_link) .image_wrapper img:not(.ls-l) {
  margin-bottom: 0 !important;
}

.image_frame .image_wrapper .mask,
.edd_download_image:after {
  box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
  -webkit-box-shadow: inset 0 0 0 0 rgba(0, 0, 0, 0);
}

.image_frame,
.wp-caption {
  border-width: 4px !important;
  padding: 10px !important;
}

.header-cart-total,
.top-bar-right-icon-user,
.toggle-login-modal,
.logged-out,
.top-bar-right-icon-cart {
  display: none !important;
}

/* =========================
   WPML
   ========================= */
#Top_bar .wpml-languages a.active,
#Top_bar .wpml-languages ul.wpml-lang-dropdown {
  background-color: #fff !important;
}

/* =========================
   Autore e Commenti
   ========================= */
.author-box,
.section-post-comments {
  display: none !important;
}

/* ============================================================
   FIX: WPBakery / Betheme Bilder werden zu klein gerendert
   (überschreibt die 288px-Max-Width und ähnliche Limitierungen)
   ============================================================ */

/* 1) Alle relevanten Wrapper dürfen nicht limitieren */
.wpb_single_image,
.wpb_single_image .wpb_wrapper,
.wpb_single_image .vc_single_image-wrapper,
.wpb_single_image figure,
.vc_single_image,
.vc_single_image .vc_single_image-wrapper,
.vc_single_image figure,
figure.vc_single_image-wrapper,
figure.vc_figure {
  width: 100% !important;
  max-width: 100% !important;
}

/* 2) Bild selbst: volle Breite der Spalte nutzen */
.wpb_single_image img,
.vc_single_image img,
img.vc_single_image-img {
  display: block !important;
  width: 100% !important;      /* streckt auf Spaltenbreite */
  max-width: 100% !important;  /* entfernt harte Pixel-Limits */
  height: auto !important;     /* Proportionen beibehalten */
}

/* 3) Sicherheitsnetz gegen fixe Pixelwerte (z. B. 288px) */
.vc_single_image .vc_single_image-wrapper {
  max-width: none !important;
}

/* 4) Entfernt mögliche globale Bild-Resets aus Theme/Grid */
.img-scale,
.img-with-grid,
.content_wrapper img {
  max-width: 100% !important;
  height: auto !important;
}

/* 5) Optional: nur gezielte Bilder vergrößern
   (im Widget bei „Nome classe
