/* ==========================================================================
   1. WooCommerce Account & Customer Login
   ========================================================================== */

/* WooCommerce Account: Register and Login */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  padding: 0;
  margin: 0;
  border-radius: 0;
  border: none;
}

/* Customer Login Columns */
.woocommerce #customer_login.col2-set .col-1,
.woocommerce-page #customer_login.col2-set .col-1,
.woocommerce #customer_login.col2-set .col-2,
.woocommerce-page #customer_login.col2-set .col-2 {
  margin-top: 15px;
  margin-bottom: 30px;
  padding: 0 30px;
}

.woocommerce #customer_login h2 {
  font-size: 24px !important;
  text-transform: uppercase;
}

@media (max-width: 770px) {
  .woocommerce #customer_login.col2-set .col-1,
  .woocommerce-page #customer_login.col2-set .col-1,
  .woocommerce #customer_login.col2-set .col-2,
  .woocommerce-page #customer_login.col2-set .col-2 {
    margin-bottom: 50px;
  }
}

/* Account Form Extras */
.woocommerce-account .woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
  margin-top: 10px;
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-LostPassword.lost_password {
  margin-top: 20px;
}

.woocommerce div.product div.images {
  box-shadow: none !important;
}

.titel-singel-product .elementor-heading-title {
  text-align: center !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	color: var(--e-global-color-7fcaea0b);
	background-color: var(--e-global-color-primary);
}
/* ==========================================================================
   2. Product Cards
   ========================================================================== */
.product-cards .woocommerce ul.products li.product {
  border-radius: 0;
}

.product-cards ul.products li.product .woocommerce-loop-product__title {
  padding: 0 25px !important;
}

.product-cards.elementor-wc-products ul.products li.product {
  transition: transform 0.3s ease !important, box-shadow 0.3s ease !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.product-cards.elementor-wc-products ul.products li.product:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5) !important;
}

.product-cards.elementor-wc-products ul.products li.product span.onsale {
  padding: 0 8px;
  border-radius: 25px;
}

.product-cards .woocommerce-loop-product__title:after {
  display: none;
}

.product-cards.elementor-wc-products ul.products li.product .woocommerce-loop-product__title {
  text-align: center;
}
.woocommerce div.product form.cart {
	margin-bottom: 0px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border-color: var(--e-global-color-primary);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	color: var(--e-global-color-accent);
}
ul.products li.product .price .woocommerce-Price-amount, div.product p.price .woocommerce-Price-amount {
	color: var(--e-global-color-secondary);
	font-weight: bolder;
}
.product_meta {
	display: flex;
	flex-direction: column;
}
/* Weitere Produkte*/
.related ul.products li.product .price {
	color: var(--e-global-color-secondary);
}
.related ul.products li.product a.product_type_simple {
	color: var(--e-global-color-7fcaea0b)!important;
	transition: background-color 0.3s ease, transform 0.2s ease;
}
.related ul.products li.product a.product_type_simple:hover, a.product_type_simple.add_to_cart_button:hover {
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-7fcaea0b)!important;
	transform: scale(1.05); 
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	text-align: center;
	font-size: larger;
}
/* ==========================================================================
   3. Single Product View & Tabs
   ========================================================================== */
/* Hover styles for alternate buttons in Single Product
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor))
  .woocommerce #respond input#submit.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor))
  .woocommerce a.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor))
  .woocommerce button.button.alt:hover,
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor))
  .woocommerce input.button.alt:hover {
  background-color: var(--e-global-color-secondary)!important;
  color: var(--e-global-color-7fcaea0b)!important;*/
}
}
/* Stil für den "In den Warenkorb" Button */
.product button.button.alt {
    background-color: var(--e-global-color-secondary);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover-Effekt */
.product button.button.alt:hover {
    background-color:  var(--e-global-color-accent); 
    transform: scale(1.05); /* Leichte Vergrößerung */
}

body.single-product header .header-img-titel {
  background-position: top center !important;
}


/* ==========================================================================
   4. Payment, Order Review & Checkout Sections
   ========================================================================== */
body.woocommerce-account:not([class*=elementor-page-]) .site-main {
  max-width: 100%;
}

.woocommerce #add_payment_method #payment ul.payment_methods,
.woocommerce .woocommerce-cart #payment ul.payment_methods,
.woocommerce .woocommerce-checkout #payment ul.payment_methods,
.woocommerce table.shop_table {
  background-color: #f4f4f4;
  border: 0;
}

.woocommerce #order_payment_heading,
.woocommerce #order_review_heading {
  color: #000;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.woocommerce #payment.woocommerce-checkout-payment {
  margin-top: 2rem;
}

.woocommerce .elementor-products-grid ul.products.elementor-grid li.product a.woocommerce-loop-product__link {
  display: block;
  position: relative;
  width: 100%;
}
.woocommerce-form-coupon-toggle .woocommerce-info, .wc_payment_methods .woocommerce-info {
	background-color: var(--e-global-color-primary);
	color: white;
	border-top-color: var(--e-global-color-secondary);
}
.woocommerce-form-coupon-toggle .woocommerce-info::before, .wc_payment_methods .woocommerce-info::before {
	color: var(--e-global-color-secondary);
}
.woocommerce-form-coupon-toggle a.showcoupon {
	color: white;
}
.warenkorb-shortcode .elementor-widget-shortcode { 
	width: 100%;
}
/* ==========================================================================
   5. Forms & Flex Controls
   ========================================================================== */
.woocommerce form fieldset {
  padding: 0;
}

.woocommerce form .form-row {
  padding: 3px;
  margin: 0 0 6px;
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  margin: 0 -5px;
  justify-content: flex-start;
  align-items: stretch;
  flex-direction: column;
}

.woocommerce form .form-row-last,
.woocommerce-page form .form-row-last {
  float: left;
}

/* Flex Control Thumbs */
.woocommerce .flex-control-thumbs {
  border: 0 solid var(--e-global-color-primary);
  bottom: 0;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 10px;
  position: relative;
  text-align: center;
  width: 100%;
}

.woocommerce .flex-control-thumbs .flex-active {
  cursor: default;
  opacity: 1;
}

.woocommerce .flex-control-thumbs img {
  cursor: pointer;
  display: block;
  opacity: 0.7;
  width: 100%;
}

.woocommerce .flex-control-thumbs img:hover {
  opacity: 0.5;
}

.woocommerce .flex-control-thumbs li {
  display: inline-block;
  zoom: 0.8;
  margin: 15px 5% 0 0;
  min-width: 100px;
  vertical-align: top;
  width: 16%;
}

/* Select Elements */
.pewc-preset-style .select2-container--default .select2-selection--single,
.woocommerce form .form-row select,
.woocommerce-page form .form-row select {
  border: 2px solid var(--e-global-color-accent);
  border-radius: 0;
}


/* ==========================================================================
   6. Layout & Columns
   ========================================================================== */
main#content .page-content .woocommerce {
  width: 100%;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  flex: 0 0 48%;
  max-width: 48%;
  width: 48%;
}

main#content .page-content .woocommerce .woocommerce-ResetPassword,
main#content .page-content .woocommerce .woocommerce-ResetPassword.lost_reset_password {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content {
  flex: 0 0 100%;
  max-width: 65%;
  width: 100%;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  padding: 0 !important;
}


/* ==========================================================================
   7. Headings, Labels & Typography
   ========================================================================== */
.woocommerce .col2-set .col-1 h3,
.woocommerce-page .col2-set .col-1 h3,
.woocommerce .col2-set .col-2 h3,
.woocommerce-page .col2-set .col-2 h3,
.woocommerce-shipping-fields .woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox span {
  color: #000;
  font-weight: 700;
}

.woocommerce .elementor-85 .elementor-element form.cart table.variations tr td {
  padding-right: 0;
  text-align: right;
}

.woocommerce .quantity .qty {
  text-align: center;
  width: 80px;
}

.woocommerce .quantity input {
  line-height: 1;
  padding: 11px;
}

.woocommerce h1.product_title {
  font-size: 40px;
  text-align: left;
  line-height: 45px;
}

.woocommerce h2 {
  font-size: 22px;
  text-align: left;
}

.woocommerce form .form-row label {
  line-height: 1.6;
  margin-top: 5px;
}

.woocommerce form .form-row.woocommerce-validated input.input-text {
  border-color: var(--e-global-color-accent);
}


/* ==========================================================================
   8. Tables & Product Listings
   ========================================================================== */
.woocommerce table.shop_attributes td {
  padding: 8px;
}

.woocommerce table.shop_attributes td p,
.pewc-product-extra-groups {
  padding: 0;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot td,
.woocommerce table.shop_table tfoot th {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 700;
}

.woocommerce ul.products li img {
  position: relative;
}

.woocommerce ul.products li.product {
  -o-transition: all 0.25s;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
  align-content: center;
  align-items: center;
  background-color: #fff;
  border: 0 solid #000000;
  border-radius: 3px;
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.woocommerce ul.products li.product a img {
  object-fit: cover;
  text-align: center;
  transition: all 0.25s ease-in-out;
  width: 100%;
}

/* Loop Product Title */
.woocommerce-loop-product__title {
  margin-top: 9px !important;
  padding: 10px !important;
}

.woocommerce-loop-product__title:after {
  color: var(--e-global-color-accent);
  content: '›';
  margin-left: 0.5rem;
  vertical-align: 0.1rem;
}

/* Breadcrumb & Misc */
.woocommerce .woocommerce-breadcrumb {
  margin: 1rem 0;
}


/* ==========================================================================
   9. Product Gallery & Shipping Totals
   ========================================================================== */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery__image a.customize-unpreviewable {
  max-height: 550px;
}

.woocommerce-product-gallery__image a img {
  max-height: 500px;
  object-fit: contain;
  object-position: top center;
}

.woocommerce-shipping-totals.shipping th {
  vertical-align: middle;
}

.woocommerce-shipping-totals.shipping th:after {
  content: "\f48b";
  font-family: "Font Awesome 5 Free";
  margin-left: 10px;
}


/* ==========================================================================
   10. MyAccount Navigation & Account Styles
   ========================================================================== */
.woocommerce-MyAccount-navigation li a {
  color: #fff;
  display: block;
  font-weight: 400;
  text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  max-width: 300px;
  width: 25%;
}

.woocommerce-account .woocommerce-myaccount-navigation {
  width: 25%;
}

.woocommerce-billing-fields span.woocommerce-input-wrapper,
.woocommerce-shipping-fields span.woocommerce-input-wrapper,
.woocommerce-additional-fields span.woocommerce-input-wrapper {
  width: 100%;
}

.woocommerce-breadcrumb a {
  color: var(--e-global-color-accent) !important;
}
.woocommerce-MyAccount-navigation {
	background-color: var(--e-global-color-primary);
}
nav.woocommerce-MyAccount-navigation a {
	display: flex;
  flex-direction: row;
  align-items: center;	
	text-decoration: none!important;
}
nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link:hover {
	background-color: #ffffff;
}
nav.woocommerce-MyAccount-navigation a:before {
    position: relative;
    bottom: 2px;
}
nav.woocommerce-MyAccount-navigation a {
	line-height: inherit;
}
.elementor-widget-loop-carousel .heading-link a {
	transition: color 0.2s ease-in-out;
}
.elementor-widget-loop-carousel .heading-link a:hover {
  color: var(--e-global-color-primary);
}

/* Konto-Seite */
.logged-in.woocommerce-account.woocommerce-page .page-content .woocommerce {
    background: rgb(255, 255, 255);
    padding: 0;
    margin: 2rem 0;
    display: flex;
    box-shadow: 0px 0px 30px 0px rgb(0 0 0 / 12%);
	border-radius: 12px;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: left;
    width: 30%;
}
nav.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    padding: 0 30px;
    border-bottom: 1px solid var(--e-global-color-accent);
    transition: all 0.3s ease;
    font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active {
    background: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation-link.is-active a {
	color: var(--e-global-color-accent);
}
nav.woocommerce-MyAccount-navigation a {
    color: #fff;
    line-height: 60px;
    display: block;
}
.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content {
    padding: 30px;
}
nav.woocommerce-MyAccount-navigation ul {
   padding-inline-start: 0 !important;
}

/* ==========================================================================
   11. Buttons & Interactive Elements
   ========================================================================== */
/* General WooCommerce Buttons */
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input#submit,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button {
  background-color: var(--e-global-color-primary);
  font-size: 18px;
  font-weight: 500;
  border-radius: 3px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt.disabled,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled {
  background-color: var(--e-global-color-primary);
}

/* Checkout Action Links */
.wc-block-checkout__actions_row a {
  fill: var(--e-global-color-text);
  color: var(--e-global-color-text) !important;
  font-size: 18px;
  font-weight: 500;
}

.wc-block-checkout__actions_row a:hover {
  color: var(--e-global-color-primary) !important;
}

/* Additional Button & Link Styles */
.woocommerce-button.button.view {
  margin-right: 10px;
}


/* ==========================================================================
   12. Mobile Styles
   ========================================================================== */
@media screen and (max-width: 992px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    max-width: 50%;
    width: 50%;
  }
  .woocommerce ul.products li.product {
    width: 50% !important;
  }
  .wc-block-components-order-summary .wc-block-components-order-summary-item__image > img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .woocommerce ul.products li.product {
    width: 100% !important;
  }
  /* Mobile coupon adjustments */
  div.coupon .input-text#coupon_code {
    width: 100% !important;
    margin-bottom: 10px;
  }
  .woocommerce-page table.cart td.actions .coupon .input-text + .button {
    width: 100% !important;
  }
}


/* ==========================================================================
   13. Xenofit Cart Styles
   ========================================================================== */
.woocommerce-cart table.cart {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: #f4f4f4;
  border-radius: 0;
  overflow: hidden;
}

.woocommerce-cart table.cart th {
  background-color: var(--e-global-color-accent);
  color: #fff;
  font-weight: bold;
  text-align: left;
  padding: 15px;
}

.woocommerce-cart table.cart tr {
  border-bottom: 1px solid #fff;
}

.woocommerce-cart table.cart tr:last-child {
  border-bottom: none;
}

.woocommerce-cart table.cart td {
  padding: 15px;
  text-align: left;
  vertical-align: middle;
}

.woocommerce-cart table.cart img {
  max-width: 60px;
  height: auto;
  border-radius: 5px;
}

.woocommerce-cart table.cart .product-name a {
  color: var(--e-global-color-accent);
  font-weight: bold;
  text-decoration: none;
}

.woocommerce-cart table.cart .product-name a:hover {
  color: var(--e-global-color-primary);
}

.woocommerce-cart table.cart .quantity input {
  width: 60px;
  text-align: center;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 5px;
  background-color: #fff;
}

.woocommerce-cart table.cart .product-subtotal,
.woocommerce-cart table.cart .order-total {
  font-size: 1.2em;
  font-weight: bold;
}

.woocommerce-cart .actions .button,
.woocommerce-cart .checkout-button {
  display: inline-block;
  background-color: var(--e-global-color-primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: bold;
  text-align: center;
  border: none;
  transition: background-color 0.3s ease;
}

.woocommerce-cart .actions .button:hover,
.woocommerce-cart .checkout-button:hover {
  background-color: var(--e-global-color-primary);
}


/* ==========================================================================
   14. Messages & Errors
   ========================================================================== */
.woocommerce-message {
	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-7fcaea0b);
	padding: 15px;
	border: 1px solid #000000;
	border-radius: 5px;
	margin-bottom: 20px;
	padding-left: 60px;
}

.woocommerce-error {
  background-color: var(--e-global-color-accent);
  color: var(--e-global-color-7fcaea0b);
  padding: 15px;
  border: 1px solid #000000;
  border-radius: 5px;
  margin-bottom: 20px;
}
.woocommerce-error a:hover {
	color: var(--e-global-color-7fcaea0b)!important;
	text-decoration: underline;
}
.elementor-widget.elementor-widget-text-editor ul.woocommerce-error, .elementor-shortcode .woocommerce-notices-wrapper .woocommerce-message {
	padding-left: 60px;
}

.woocommerce-info {
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-7fcaea0b);
}

/* ==========================================================================
   15. Additional / Miscellaneous
   ========================================================================== */
/* Back to Shop Button */
span.wp-block-button a {
  background-color: #fff;
  border: 1px solid;
  border-color: var(--e-global-color-primary);
}

span.wp-block-button a:hover {
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-7fcaea0b);
}
/** Button**/
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
	background-color: var(--e-global-color-primary);
	color: #ffffff;
}
:where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button:hover {
  	background-color: var(--e-global-color-secondary);
	color: #ffffff;
}