/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

.product-miniature__form {
  display: none !important;
}

/* Preise: Hinweis vor Preis je Sprache */

/* Deutsch */
body.lang-de .product-miniature__price::before {
  content: "ab ";
}

body.lang-de .product__price::before {
  content: "ab ";
}

/* Englisch */
body.lang-en .product-miniature__price::before,
body.lang-gb .product-miniature__price::before,
body.lang-en-gb .product-miniature__price::before {
  content: "from ";
}

body.lang-en .product__price::before,
body.lang-gb .product__price::before,
body.lang-en-gb .product__price::before {
  content: "from ";
}

/* Header: Login und Warenkorb ausblenden */
#_desktop_ps_customersignin,
#_desktop_ps_shoppingcart,
#_mobile_ps_customersignin,
#_mobile_ps_shoppingcart {
  display: none !important;
}


/* CTA Button (Kontaktformular) */
.ctf_click_open_contactform7 {
  display: inline-block;
  background: linear-gradient(135deg, #c40000, #ff1a1a);
  color: #fff !important;

  padding: 18px 30px;
  font-size: 20px;
  font-weight: 700;

  border-radius: 10px;
  text-decoration: none;
  text-align: center;

  border: 1px solid #000;
  box-shadow: 0 8px 22px rgba(196, 0, 0, 0.1);

  transition: all 0.2s ease;
  margin-top: 20px;

  animation: pulse-cta 5.5s infinite;
}

/* Hover */
.ctf_click_open_contactform7:hover {
  background: linear-gradient(135deg, #a30000, #e60000);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(196, 0, 0, 0.7);
}

/* Animation */
@keyframes pulse-cta {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}



/* Desktop: Produkt links groß, Kundenvorteile rechts kleiner + sticky */

@media (min-width: 992px) {
  .product__bottom {
    display: flex;
    align-items: flex-start;
    gap: 30px;
  }

  .product__bottom-left {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }

  .product__bottom-right {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    position: sticky;
    top: 30px;
    align-self: flex-start;
  }
}

.product__bottom-right {
  position: sticky;
  top: 100px;
  padding-top: 10px;
}

.wpcf7 p {
  margin-bottom: 10px !important;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select {
  margin-top: 4px;
  margin-bottom: 0;
  width: 100%;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 textarea {
  min-height: 120px;
}

.wpcf7-form br {
  display: none !important;
}

/* Checkbox-Zeile sauber links */
.wpcf7-form .wpcf7-list-item {
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-left: 0 !important;
}

/* Label selbst */
.wpcf7-form .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

#product .product-cover img {
  max-width: 80%;
  margin: 0 auto;
  display: block;
}

#product .images-container {
  text-align: center;
}

/* Contact Form 7: kompakt + 2-spaltig auf Desktop */
.cf7-compact {
  max-width: 760px;
}

.cf7-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
}

.cf7-two-col p {
  margin: 0 !important;
}

.cf7-two-col .cf7-full {
  grid-column: 1 / -1;
}

.cf7-compact input,
.cf7-compact select,
.cf7-compact textarea {
  width: 100%;
  padding: 7px 9px;
  margin-top: 3px;
  box-sizing: border-box;
}

.cf7-compact label {
  font-size: 14px;
  font-weight: 500;
}

.cf7-compact input[type="submit"] {
  width: auto;
  padding: 9px 18px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .cf7-two-col {
    grid-template-columns: 1fr;
  }
}
