/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.variations_form.cart {
	
	.variable-item-radio-value-wrapper, .variable-item-radio-input-wrapper {
		display: flex !important;
		align-items: center 
	}
	.variable-item-radio-value {
		padding: 0px 3px;
	}
	
	.price a.button.alg-cfp-btn {
		background: white;
    border: none;
    padding: 0px;
    color: #0070b8;
		padding-left: 3px;
	}
}

.product-property-table:not(:has(.product-property-value)) {
	display: none;
}

.product-property-wrapper:not(:has(.product-property-value)) {
	display: none;
}

.product-datenblatt:not(:has(a)) {
	display: none;
}

.woocommerce-variation-price .price:not(:has(.woocommerce-Price-amount)) {
	display: none;
}


#wfacp-e-form div.wfacp_shipping_price {
	width: 60% !important;
}

#wfacp-e-form div.wfacp_shipping_radio {
	width: 40% !important;
}

.table.wfacp_mini_cart_reviews {
  table-layout: fixed;
  width: 100%;
}

table.wfacp_mini_cart_reviews th
{
  width: 40% !important;
}

table.wfacp_mini_cart_reviews td
{
  width: 60% !important;
}

table.wfacp_mini_cart_reviews .shipping_total_fee span {
	text-transform: none; 
}


/* Eingabefeld */
.mailpoet_form input[type="email"],
.mailpoet_form input[type="text"] {
  background-color: transparent !important;
  color: #ffffff !important;
  border: none !important;
  border-bottom: 2px solid #ffffff !important;
  border-radius: 0 !important;
  padding: 10px 4px !important;
  font-size: 1rem !important;
  flex: 1 !important;
  width: auto !important;
}

/* Placeholder */
.mailpoet_form input::placeholder {
  color: rgba(255,255,255,0.75) !important;
}

/* Button */
.mailpoet_form input[type="submit"],
.mailpoet_form button[type="submit"] {
  background-color: #1a4f8a !important;
  color: #ffffff !important;
  border: none !important;
  padding: 12px 28px !important;
  font-size: 1rem !important;
  font-weight: bold !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
	
	&:hover {
	  color: #1a4f8a !important;
		background-color: #ffffff !important;
	}
}

/* Datenschutz / Checkbox-Text */
.mailpoet_form .mailpoet_paragraph,
.mailpoet_form label,
.mailpoet_form p,
.mailpoet_form span,
.mailpoet_form a {
  color: #ffffff !important;
}

div.mailpoet_paragraph.aronda-email {
		display: inline-flex;
    width: 64%;
    margin-right: 4%;
}

div.mailpoet_paragraph.aronda-abo {
		display: inline-flex;
    width: 30%;
}

.aronda-swiper.custom .description {
	white-space: pre-line;
}

div.mailpoet_paragraph.dsgvo label {
	font-size: 0.9rem !important;
	line-height: 1.4 !important;
	a {
		text-decoration: underline;
	}
}
@media (max-width: 767px) {
	div.mailpoet_paragraph.aronda-email {
    width: 54%;
	}

	div.mailpoet_paragraph.aronda-abo {
			width: 40%;
	}
}

@media (max-width: 500px) {
		.mailpoet_form input[type="submit"] {
		font-size: 0.8rem !important;
		padding: 10px 18px !important;
	}
}

/* Carsan – mobiles Filtermenü */
@media (max-width: 767px) {
  #shop-filter-bar .filter-mobile-drawer,
  #shop-filter-bar .filter-mobile-drawer * {
    box-sizing: border-box;
  }

  #shop-filter-bar .filter-mobile-drawer {
    width: min(100vw, 430px);
    height: 100vh;
    height: 100dvh;
    background: #f5f7fa;
    box-shadow: -8px 0 32px rgb(0 0 0 / 15%);
  }

  /* Kopf bleibt beim Scrollen sichtbar */
  #shop-filter-bar .filter-mobile-drawer__header {
    flex: 0 0 auto;
    min-height: 76px;
    padding: 16px 20px;
    padding-top: max(16px, env(safe-area-inset-top));
    background: #fff;
    border-bottom: 1px solid #e2e8ee;
  }

  #shop-filter-bar .filter-mobile-drawer__title {
    color: #172b3a;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
  }

  /* Bestehender Button inklusive Klickfunktion bleibt erhalten */
  #shop-filter-bar .filter-mobile-close {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    border: 1px solid #dce4eb !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #172b3a !important;
    font-size: 0 !important;
    box-shadow: none;
  }

  #shop-filter-bar .filter-mobile-close::before,
  #shop-filter-bar .filter-mobile-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%) rotate(45deg);
  }

  #shop-filter-bar .filter-mobile-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  /* Nur der Inhalt scrollt */
  #shop-filter-bar .filter-mobile-drawer .filter-pills {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    gap: 14px !important;
    padding: 20px 16px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior-y: contain;
    align-items: stretch !important;
    justify-content: flex-start;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-pill {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    border: 1px solid #dce4eb !important;
    border-radius: 12px !important;
    background: #fff;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-pill > summary {
    min-height: 56px;
    gap: 10px;
    padding: 16px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #172b3a !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill[open] > summary {
    border-radius: 12px 12px 0 0 !important;
    background: #eaf4fa !important;
    color: #00649f !important;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill.is-active > summary {
    background: #eaf4fa !important;
    color: #00649f !important;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill__summary-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  #shop-filter-bar .filter-mobile-drawer .pill-badge.is-empty {
    display: none;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-pill__dropdown {
    position: static;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    max-height: none;
    margin: 0 !important;
    padding: 8px 12px 12px !important;
    gap: 2px !important;
    border: 0 !important;
    border-radius: 0 0 12px 12px !important;
    box-shadow: none !important;
    background: #fff;
  }

  /* Checkbox | umbrechender Text | Produktanzahl */
  #shop-filter-bar .filter-mobile-drawer
  .filter-pill__dropdown > label[data-fkey][data-fval] {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 6px;
    border-radius: 6px;
    color: #263746 !important;
    font-size: 14px !important;
    line-height: 1.45;
    cursor: pointer;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill__dropdown input[type="checkbox"] {
    appearance: auto;
    inline-size: 20px;
    block-size: 20px;
    margin: 0;
    align-self: center;
    accent-color: #0070b8; 
    cursor: pointer;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-option__text {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #shop-filter-bar .filter-mobile-drawer .pill-count {
    color: #607080 !important;
    font-size: 12px !important;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  #shop-filter-bar .filter-mobile-drawer
  label[data-fkey][data-fval]:has(input:checked) {
    background: #eaf4fa;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-apply-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 12px;
    padding: 14px 12px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: #0070b8 !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: normal;
    cursor: pointer;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-apply-btn:hover {
    background: #005b96 !important;
  }

  #shop-filter-bar .filter-mobile-drawer :focus-visible {
    outline: 2px solid #0070b8 !important;
    outline-offset: 3px;
  }
}

@media (max-width: 767px) {
  #shop-filter-bar .filter-mobile-drawer .filter-pills {
    gap: 10px !important;
    padding: 14px 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  #shop-filter-bar .filter-mobile-drawer .filter-pill > summary {
    min-height: 48px;
    padding: 12px 16px !important;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-pill__dropdown {
    padding: 6px 12px 10px !important;
    gap: 0 !important;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill__dropdown > label[data-fkey][data-fval] {
    min-height: 40px;
    padding: 7px 6px;
    gap: 10px;
    align-items: center;
    line-height: 1.35;
  }

  #shop-filter-bar .filter-mobile-drawer
  .filter-pill__dropdown input[type="checkbox"] {
    align-self: center;
    margin: 0;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-option__text,
  #shop-filter-bar .filter-mobile-drawer .pill-count {
    align-self: center;
    margin: 0;
  }

  #shop-filter-bar .filter-mobile-drawer .filter-apply-btn {
    min-height: 44px;
    margin-top: 8px;
    padding: 12px !important;
  }

  /* Sichtbare Überschrift ersetzen */
  #shop-filter-bar .filter-mobile-drawer__title {
    font-size: 0 !important;
  }

  #shop-filter-bar .filter-mobile-drawer__title::after {
    content: "Filter";
    font-size: 20px;
    line-height: 1.3;
  }
}