/* ================================================= */
/* SHOP WOOCOMMERCE */
/* Produktseite (Einzelprodukt)*/
/* ================================================= */


/* ========== Preise stylen ========== */
/* 1) Allgemeiner Preis auf der Einzelproduktseite (stärkerer Selektor) */
body.single-product p.price .woocommerce-Price-amount.amount {
  font-size: 2rem !important;   /* anpassen: 2.4rem ≈ 38.4px bei 16px Basis */
  font-weight: 800 !important;
  line-height: 1 !important;
  }

body.single-product p.price .woocommerce-Price-currencySymbol {
  font-size: 1.2rem !important;
  opacity: 0.8;
  }
body.single-product p.price span {
  font-size: 1.2rem !important;
  opacity: 0.8;
  }

/* 2) Sale-Preis (aktueller Preis) größer hervorheben */
body.single-product p.price ins .woocommerce-Price-amount.amount {
  font-size: 2rem !important;
  }

/* 3) Durchgestrichener Originalpreis kleiner und leichter */
body.single-product p.price del .woocommerce-Price-amount.amount {
  font-size: 1.2rem !important;
  opacity: 0.8;
  }


/* ==========Anfrage-Buttons auf Produktseite hinzufügen ==========*/
/* Anfrage-Buttons einheitlich gestalten */
.custom-inquiry-buttons .avia-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;                 /* Abstand zwischen Icon und Text */
  font-size: 14px !important;
  line-height: 1.4;
  min-height: 44px;         /* gleiche Höhe */
  padding: 8px 16px;        /* Innenabstand */
  box-sizing: border-box;
}

.custom-inquiry-buttons .avia_button_icon {
  display: flex;
  align-items: center;
}

.custom-inquiry-buttons .avia_button_icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}


/* ========== Cashback Button Wrapper ========== */
/* Cashback Button Wrapper nach product_meta */
.cashback-pdf-wrap {
  margin-top: 15px;      /* Abstand nach oben */
  margin-bottom: 0px;   /* Abstand nach unten */
  padding-top: 10px;     /* etwas Luft innen */
  border-top: 1px solid #eee; /* feine Trennlinie zum Meta-Bereich */
}

/* Button selbst anpassen */
.cashback-pdf-wrap .avia-button {
  background-color: #000;   /* schwarz */
  border-radius: 0;         /* eckig */
  color: #fff !important;   /* weiße Schrift */
  font-weight: 700;
  text-transform: uppercase;      /* markanter Text */
  padding: 12px 20px;
  font-size: 15px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* leichter Schatten */
  transition: all 0.3s ease;
}

.cashback-pdf-wrap .avia-button:hover {
  background-color: #333;   /* etwas heller beim Hover */
}
/* SVG-Blitz für VKW-Button */
.vkw-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 0px;
  vertical-align: middle;
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'><path fill='red' d='M296 160H180.6L208 0 24 288h96L80 512z'/></svg>");
}


/* ========== Abstand der TAB etwas kleiner ========== */
#top div.product .woocommerce-tabs {
	padding: 10px 0 0 0;
}


/* ========== Cross-Sells Grid ==========*/
/* Standard: 4 Spalten */
.cross-sells ul.products li.product {
    width: 24.25% !important;
    margin-right: 1% !important;
    clear: none !important;
}

/* Jede 4. Kachel ohne Rand */
.cross-sells ul.products li.product:nth-child(4n) {
    margin-right: 0 !important;
}

.cross-sells {
  margin-top: 0px;
}
/* ---- Responsive Anpassungen ---- */

/* Tablet: 2 Spalten */
@media (max-width: 750px) {
    .cross-sells ul.products li.product {
        width: 49% !important;
        margin-right: 2% !important;
    }
    .cross-sells ul.products li.product:nth-child(2n) {
        margin-right: 0 !important;
    }
}

/* Handy: 1 Spalte */
@media (max-width: 450px) {
    .cross-sells ul.products li.product {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

/* ========== HÖHE bei Galerie, Related, Cross-sells ========== */
#top .inner_product_header {
  min-height: 20px;
}