/* =============================================================
   WeitLäufer – Custom CSS (ehemals Theme Customizer)
   ============================================================= */

#BorlabsCookieBox .brlbs-cmpnt-btn-preferences{
	background-color:white !important;
	color:blue !important;
}

@media (min-width: 993px) {
    /* 1. Header-Blockade lösen */
    .header-4 {
        overflow-x: visible !important;
    }

    /* 2. Globales Scroll-Verhalten für Sticky freigeben */
    html, body {
        overflow-x: visible !important;
    }
}
@media (min-width: 993px) {
    .single-product div.product .summary {
        top: 120px !important;
    }
}
@media (min-width: 771px){
.product-details-wrapper .load-more-images {
	position: relative;
	left: 0% !important;
	transform: translateX(0%) !important;
	bottom: 0rem;
	margin-top: 1rem;
	border-radius: 0px !important;
	border:none;
	border-bottom:1px solid #333;
	text-transform:inherit;
}
}

/* Zwingt den Hauptpreis, IMMER sichtbar zu bleiben, auch wenn eine Variante gewählt ist */
.single-product.product-type-variable .summary > p.price,
.single-product.product-type-variable .elementor-widget-woocommerce-product-price .price {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
}
.single-product.product-type-variable .summary .price-wrapper {
    display: block !important;
}
.single-product.product-type-variable .product-price-container {
    display: block !important;
}
.single-product .summary p.price {
    display: block !important;
}

.home .total-reviews {
	display:none !important;
}
.woocommerce-product-details__short-description p {
	font-family: Poppins;
	font-size: 0.94rem !important;
}
/* Automatische Silbentrennung in der Produktkurzbeschreibung */
.single-product .summary .woocommerce-product-details__short-description {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
}

.yith-ywar-product-rating .total-reviews{
	color:#333 !important;
}
/* Standard-Bewertungsblock in der Summary ausblenden */
.single-product .summary .yith-ywar-product-rating {
    display: none;
}
/* Bewertungsblock innerhalb unseres neuen Wrappers wieder anzeigen */
.single-product .summary .wl-rating-top .yith-ywar-product-rating {
    display: block;
}
.wl-rating-top{
	line-height:1rem;
}
.wl-rating-top .yith-ywar-product-rating .stars{
	height:25px;
	width:124px;
}

.home .wgm-info.woocommerce-de_price_taxrate,
#page .wgm-info.woocommerce-de_price_taxrate{
	display:none !important;
}
.woocommerce-variation-price .price .amount {
	font-size: 22px;
	font-weight: bold;
}
.woocommerce_de_versandkosten, .woocommerce-de_price_taxrate, .shipping_de.shipping_de_string {
	color: #888;
}
table.variations th.label span{
	font-family:Roboto;
	font-size:0.9rem;
}
.product .jdgm-widget.jdgm-widget{
	padding:0 0!important;
}
.agilist-weight-wrapper{
	display:none;
	font-family:Poppins;
	color:#333;
	text-transform:uppercase;
	margin-top:0.7rem;
}
span#agilist-weight{
	text-transform:lowercase;
	font-weight:bold;
}
.reset_variations,
.product p.stock{
	display:none !important;
}
.product-details-wrapper{
	padding-bottom:0rem;
}
.load-more-images{
	font-size:14px !important;
	background-color:#ffffff !important;
	color:#333 !important;
	border:2px solid #333;
}
.elementor-12172 .elementor-element.elementor-element-047d9f2 {
	padding-left: 0rem;
	padding-right: 0rem;
	padding-top: 0rem;
}

/* Review-Text kürzen */
.ywar-review-content {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
}
.ywar-review-content.is-expanded {
  -webkit-line-clamp: unset;
  max-height: none;
}
.ywar-review-read-more {
  display: inline-block;
  margin-top: 4px;
  cursor: pointer;
  font-size: 0.9em;
  font-weight: 500;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

/* ============================================================
   WAPF (WooCommerce Advanced Product Fields)
   ============================================================ */
.wapf-product-totals .wapf--inner {
	font-size: 1.5rem;
}
.wapf-field-container {
	position: relative;
	padding-bottom: 1rem;
	padding-top: rem;
}
.wapf-field-input {
	display: flex;
}
.wapf-pricing-hint {
	display: inline-block !important;
}
.wapf-swatch--text{
	font-size:0.8rem;
	padding:0.5rem 0.1rem;
}
.wapf-swatch--text,
.wapf-swatch-wrapper {
	flex: 1;
}
.wapf-field-description,
.wapf-field-description a{
	font-size: 0.8rem;
	margin-bottom: 10px;
	line-height: 1.3rem;
}
span.wapf-tt-wrap.wapf-tt-icon {
	font-size: 1.4rem;
}
@media screen and (max-width: 768px) {
  .wapf-field-description,
  .wapf-field-description a{
		font-size: 0.8rem;
	}
}
.wapf-swatch--text{
	margin: 0 5px 0 0;
	border-radius: 2px;
	border:1px solid #111;
}
.wapf-swatch--text label {
	padding: 0rem 11px;
	font-size: 0.8rem;
}
.wapf-swatch--text label span.subtitle{
	font-size: 0.8rem;
}
.wapf-swatch--text.wapf-checked {
	background: #111;
}
.wapf-swatch--text.wapf-checked label {
	color: #fff !important;
}
body.single-product.postid-12172 .wapf-field-label label span,
body.single-product.postid-96   .wapf-field-label label span {
	font-size: 1rem;
	font-family:'Poppins', sans-serif;
	color:#111;
	text-transform:uppercase;
	font-weight:bold;
}
.wapf-swatch-label,
.wapf-swatch-label a,
.wapf-pricing-hint { font-size: 0.7rem; line-height: .9rem; }
.wapf-pricing-hint { display: block; }
.wapf-swatch--color { margin: 0 5px 5px 0; max-width: 52px; }
.wapf-product-totals .wapf--inner { padding: 0; }
.wapf-label-text { display: block; padding-left: 30px; line-height: 1.2rem; font-size: 0.8rem !important; }

/* ============================================================
   Agilist Zubehör-Block
   ============================================================ */
.agilist-accessories {
  padding-top: 0rem;
  font-size: 0.8rem;
  color:#333;
}
.agilist-accessories::before {
  content: "Passende Taschen:";
  display: block;
  margin-bottom: 0.5rem;
  font-family: "Poppins";
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}
.agilist-accessories label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #000;
  border-radius: 2px;
  padding: 0.1rem 0.8rem;
  margin-bottom: 0.5rem;
}
.agilist-accessories input[type="number"] {
  width: 40px;
  padding: 0.25rem 0.4rem;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.woocommerce_de_versandkosten, .woocommerce-de_price_taxrate, .shipping_de.shipping_de_string {
	display: none !important;
}
.product p.stock{
	border-top:none;
	padding-top:0;
	padding-bottom:0 !important;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
	clear: both;
}
.site footer.site-footer .widget .widget-title,
.site-footer .widget.widget_block h2 {
	font-size: 1.3rem;
	margin-bottom: 2rem;
}
footer.site-footer a:not(.button),
footer.copyright a {
	color: #fcfcfc;
	font-size: 0.9rem;
}
footer.site-footer {
	background-color: #202020 !important;
	padding: 5em 0em 5em 0;
	margin-bottom:5rem;
}
footer.copyright {
	padding: 2rem 0;
	background-color: white !important;
	color: black !important;
}

/* Legacy itemprop offers ausblenden */
.postid-96 .legacy-itemprop-offers,
.postid-12172 .legacy-itemprop-offers{
    display:none;
}

/* Produktpreis */
p.price{
    font-family: 'Poppins' !important;
	font-weight:600 !important;
	font-size:1.5rem !important;
	color:#333 !important;
}
table.variations th.label span{
	font-family:var( --e-global-typography-primary-font-family ), Sans-serif;
	font-weight:600;
}
.product .jdgm-widget.jdgm-widget {
	padding: 0 0.5em;
}

/* ============================================================
   Wanderausrüstung Packliste
   ============================================================ */
.elementor-13685 .elementor-element.elementor-element-f713a3d img{
  width:100%;
  max-height:50vh;
  object-fit:cover !important;
  object-position:bottom !important;
  display:block;
}
.wanderausruestung-packliste{
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color:#333;
  line-height:1.6;
}
.wanderausruestung-packliste h1{
  text-align:center;
  font-size:2.4rem;
  margin:2rem 0 1.5rem;
  font-weight:800;
}
.wanderausruestung-packliste h2{
  font-size:1.8rem;
  margin:2rem 0 1rem;
  font-weight:700;
  border-bottom:3px solid #2A2A2A;
  padding-bottom:.3rem;
}
.wanderausruestung-packliste img.alignright{
  float:right;
  margin:0 0 1rem 1.75rem;
  border-radius:8px;
  box-shadow:0 4px 10px rgba(0,0,0,.08);
  max-width:220px;
  height:auto;
}
.wanderausruestung-packliste .pl-new.pl-wl{
  width:100%;
  border-collapse:collapse;
  margin:1.5rem 0;
  font-size:.95rem;
}
.wanderausruestung-packliste .pl-new.pl-wl td{
  border:1px solid #dee2e6;
  padding:.65rem .8rem;
}
.wanderausruestung-packliste .pl-new.pl-wl tr:first-child td{
  background:#2A2A2A;
  color:#fff;
  font-weight:700;
}
.wanderausruestung-packliste .pl-new.pl-wl tr:nth-child(even){
  background:#f8f9fa;
}
.wanderausruestung-packliste .pl-new.pl-wl tr:not(:first-child):hover td{
  background:#eef3f8;
}
.wanderausruestung-packliste ul{
  padding-left:1.25rem;
}
.wanderausruestung-packliste ul li{
  margin-bottom:.5rem;
}
.wanderausruestung-packliste a{
  color:#0063B2;
  text-decoration:none;
}
.wanderausruestung-packliste a:hover{
  text-decoration:underline;
}
.wanderausruestung-packliste details > summary{
  list-style:none;
  cursor:pointer;
  font-weight:600;
  padding:.75rem 1rem;
  background:#f1f5f9;
  border:1px solid #e2e8f0;
  border-radius:6px;
  position:relative;
}
.wanderausruestung-packliste details > summary::marker{
  content:"";
}
.wanderausruestung-packliste details > summary::after{
  content:"+";
  position:absolute;
  right:1rem;
  transition:transform .2s ease;
}
.wanderausruestung-packliste details[open] > summary::after{
  transform:rotate(45deg);
}
.wanderausruestung-packliste details > *:not(summary){
  padding:1rem 1.25rem;
  border:1px solid #e2e8f0;
  border-top:none;
  background:#fff;
  border-radius:0 0 6px 6px;
}
@media(max-width:600px){
  .wanderausruestung-packliste h1{font-size:1.8rem;}
  .wanderausruestung-packliste h2{font-size:1.4rem;}
  .wanderausruestung-packliste h3{font-size:1.15rem;}
  .wanderausruestung-packliste,
  .wanderausruestung-packliste p,
  .wanderausruestung-packliste li,
  .wanderausruestung-packliste td,
  .wanderausruestung-packliste th{
    font-size:.9rem;
  }
  .lightweight-accordion .lightweight-accordion-title span{font-size:0.8rem !important;}
  .wanderausruestung-packliste table{font-size:.9rem;}
  .wanderausruestung-packliste img.alignright{float:none;display:block;margin:0 auto 1rem auto;max-width:80%;}
}
@media(max-width:400px){
  .wanderausruestung-packliste h1{font-size:1.5rem;}
  .wanderausruestung-packliste h2{font-size:1.2rem;}
  .wanderausruestung-packliste h3,
  .wanderausruestung-packliste .lightweight-accordion-title span{font-size:1rem;}
  .wanderausruestung-packliste,
  .wanderausruestung-packliste p,
  .wanderausruestung-packliste li,
  .wanderausruestung-packliste td,
  .wanderausruestung-packliste th{
    font-size:.8rem;
  }
}

/* ============================================================
   Contact Form 7 – Modernes Styling (.wpcf7-modern)
   ============================================================ */
.wpcf7-modern {
  --accent: #2563eb;
  --accent-light: #3b82f6;
  --bg: #ffffff;
  --text: #0f172a;
  max-width: 540px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--bg);
  color: var(--text);
  border-radius: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(12px);
  animation: formFade 0.6s ease 0.2s forwards;
}
@keyframes formFade {
  to { opacity: 1; transform: translateY(0); }
}
.wpcf7-modern label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.wpcf7-modern input[type="text"],
.wpcf7-modern input[type="email"],
.wpcf7-modern textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.875rem;
  background: #f8fafc;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.wpcf7-modern textarea {
  min-height: 8rem;
  resize: vertical;
}
.wpcf7-modern input:focus,
.wpcf7-modern textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent);
}
.wpcf7-modern .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  margin: 1.25rem 0;
  line-height: 1.4;
  gap: 0.5rem;
}
.wpcf7-modern .wpcf7-acceptance input[type="checkbox"] {
  accent-color: var(--accent);
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
}
.wpcf7-modern input[type="submit"] {
  display: inline-block;
  cursor: pointer;
  background: #AD6F4D !important;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  margin-bottom:4rem;
  border: none;
  border-radius: 0.875rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.wpcf7-modern input[type="submit"]:hover,
.wpcf7-modern input[type="submit"]:focus {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
}
.wpcf7-modern input[type="submit"]:active {
  transform: translateY(0);
}
.wpcf7-modern .wpcf7-response-output {
  margin-top: 1rem;
  font-size: 0.925rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}
.wpcf7-modern .wpcf7-validation-errors {
  background: #fee2e2;
  color: #991b1b;
}
.wpcf7-modern .wpcf7-mail-sent-ok {
  background: #dcfce7;
  color: #166534;
}

/* ============================================================
   Praxis-Tipp Box
   ============================================================ */
.praxis-tipp-box {
  background: linear-gradient(90deg, #f4f5f7 80%, #f7f7fa 100%);
  border-radius: 12px;
  border: 1.5px solid #e1e2e6;
  box-shadow: 0 2px 16px 0 rgba(40,50,60,0.06);
  padding: 1.2em 1.6em;
  margin: 2em 0;
  display: flex;
  align-items: flex-start;
  gap: 1em;
  font-size: 1em;
  transition: box-shadow 0.15s;
}
.praxis-tipp-box:hover {
  box-shadow: 0 4px 24px 0 rgba(40,50,60,0.12);
}
.praxis-tipp-label {
  display: inline-block;
  background: #e1e2e6;
  color: #3a3c40;
  font-weight: 700;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  padding: 0.25em 0.85em;
  margin-right: 0.5em;
  margin-top: 0.2em;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .praxis-tipp-box {
    flex-direction: column;
    gap: 0.3em;
    padding: 1em 1em;
  }
  .praxis-tipp-label {
    margin-right: 0;
    margin-bottom: 0.4em;
  }
}

/* ============================================================
   Packliste Container
   ============================================================ */
.packliste-container {
  background: linear-gradient(90deg, #f5f6fa 85%, #e9ecf2 100%);
  border: 1.5px solid #e0e3ea;
  border-radius: 14px;
  margin: 2em auto 2.5em auto;
  padding: 2em 2em 1.4em 2em;
  box-shadow: 0 3px 20px 0 rgba(60,70,90,0.08);
  font-size: 0.86em;
}
.packliste-title {
  font-weight: 700;
  font-size: 1.11em;
  margin-bottom: 1.1em;
  letter-spacing: 0.03em;
  color: #374357;
  text-align: left;
}
.packliste-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
}
.packliste-list li {
  font-size: 0.86rem;
  line-height:0.86rem;
  background: #f7f9fb;
  border-radius: 7px;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 6px 0 rgba(80,100,120,0.03);
}
.packliste-list li label {
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  user-select: none;
}
.packliste-list input[type="checkbox"] {
  accent-color: #485976;
  width: 1.12em;
  height: 1.12em;
  margin-right: 0.95em;
  border-radius: 4px;
  border: 1.2px solid #aab3c6;
  transition: accent-color 0.15s;
}
@media (max-width: 600px) {
  .packliste-container {
    padding: 1.1em 0.6em 0.6em 0.6em;
    font-size: 0.98em;
  }
  .packliste-title {
    font-size: 1em;
  }
  .packliste-list li {
    font-size: 0.97em;
    padding: 0.32em 0.4em;
  }
}
.packliste-category {
  font-weight: 600;
  color: #485976;
  font-size: 1em;
  margin: 1.2em 0 0.4em 0;
  letter-spacing: 0.03em;
  padding-left: 2px;
  border-left: 4px solid #e0e3ea;
}
.packliste-category:first-of-type {
  margin-top: 0.5em;
}

/* Ausverkaufte Produkte abdunkeln */
.woocommerce li.product.outofstock img {
  filter: brightness(0.7);
}

/* ============================================================
   YITH Advanced Reviews – HMG-inspired clean style
   ============================================================ */

/* --- Stats wrapper: horizontal, no cards --- */
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper.columns-2 {
	margin: 0 auto;
	gap: 0;
	align-items: flex-start;
}

/* --- Average rating box --- */
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-average-rating-box {
	min-height: auto;
	max-width: 200px;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-average-rating-box .average-rating {
	font-size: 2.4rem;
	font-weight: 700;
	font-family: 'Poppins', sans-serif;
	color: #111;
	line-height: 1;
}
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-average-rating-box .stars {
	margin: 0.25rem 0 0 0;
}

/* --- Graph box: compact bars --- */
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-graph-box {
	max-width: 500px;
	min-width: 250px;
	height: auto;
	gap: 2px;
	padding: 0;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none !important;
}

/* Rating bars: black, thin */
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-graph-box .rating-group .rating-bar {
	height: 6px;
	background: #e5e5e5 !important;
	border-radius: 3px !important;
}
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-graph-box .rating-group .rating-bar .rating-bar-accent {
	height: 6px;
	background: #111 !important;
	border-radius: 3px !important;
}

/* Rating group rows: compact */
.yith-ywar-main-wrapper .yith-ywar-stats-wrapper .yith-ywar-graph-box .rating-group {
	margin-bottom: 2px;
	font-size: 0.85rem;
	color: #333;
}

/* --- Single review cards: flat, border-bottom only --- */
.yith-ywar-reviews-list .yith-ywar-single-review.with-badge.featured-review,
.yith-ywar-reviews-list .yith-ywar-single-review {
	border: none !important;
	box-shadow: none !important;
	border-bottom: 1px solid #e5e5e5 !important;
	border-radius: 0;
	padding: 1.25rem 0;
}
.yith-ywar-single-review .review-content {
	font-size: 0.85rem;
	line-height: 1.4rem;
	color: #333;
}
.yith-ywar-single-review .review-rating {
	height: 20px;
	width: 100px;
}

/* --- Mobile --- */
@media (max-width: 600px) {
	.yith-ywar-single-review .review-content {
		font-size: 0.8rem;
		line-height: 1.3rem;
	}
	.yith-ywar-product-rating.page-loop .stars {
		width: 100px;
	}
}
