/* DURU – Single Product UI additions */

.dp-holocard-side-title,
.dp-swyget-heading {
  margin: 0 0 .45rem;
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.25;
  font-weight: 700;
}

#holocard-editors,
#holocard-previews {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

#holocard-editors .holocard-editor {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 1100px) {
  .single-product.duru-no-gallery.duru-double-sided div.product .summary {
    width: min(94vw, 1180px);
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0;
  }

  #holocard-editors.is-double-sided,
  #holocard-previews.is-double-sided {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Galerie behält trotz verbreiterter Summary ihre bisherige Größe */
  .single-product.duru-no-gallery.duru-double-sided
  .duru-product-popup-gallery {
    width: 100%;
    max-width: 670px;
  }
}

/* Der reguläre Preis oben wird serverseitig entfernt; der Variationspreis
   bleibt für WooCommerce intern bestehen, wird aber nicht doppelt angezeigt. */
.single-product .woocommerce-variation-price {
  display: none !important;
}

.duru-relocated-price {
  margin: 14px 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 200;
  color: #000;	
}

.dp-readmore-target {
  --dp-readmore-line-height: 1.55;
  --dp-readmore-lines: 3;
  line-height: var(--dp-readmore-line-height);
}

.dp-readmore-target.is-collapsed {
  max-height: 2.8em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 15%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 15%, transparent 100%);
}

.dp-readmore-target.is-expanded {
  max-height: none;
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}

.dp-readmore-toggle {
  display: inline-flex;
  margin: .35rem 0 .9rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: gray;
  font: inherit;
	font-size: .8rem;
  font-weight: 200;
  /* text-decoration: underline;
  text-underline-offset: .18em; */
  cursor: pointer;
}
