/* Konto-Bereich */

.woocommerce-account .addresses .title .edit {
  float: none !important;
}

/* Warenkorb */

:root {
  font-size: 16px;
} 

/* Hauptcontainer */
.cardmain {
  display: flex;
  flex-direction: column;
  padding-top: 3.125rem; /* 50px */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.cardmain .cart-subtotal{
	display: none;
}

.cardmain .cart_totals h2{
	display: none;
}

.cardmain .shop_table{
	border: none !important;
	
}

.cardmain .woocommerce-shipping-totals {
    display: none;
}

.woocommerce-page table.shop_table td {
	text-align: right;
}

.coupon .button, .checkout-button,
button[name="update_cart"] {
  background-color: #00cc00;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: var(--wp--preset--font-size--medium) !important;
  border-radius: 1.25rem;
  padding: 0.625rem 1.25rem !important;
}

.product-name {
	font-size: 1rem;
	color: black;
	font-weight: 600;
}

.wc-proceed-to-checkout {
    margin-right: 20px;
}

/* Kategorie-Filter Buttons */
.product-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
	width: auto;
}

.product-category-filter .cat-btn {
  background-color: #f0f0f0;
  border: none;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 100px;
  transition: background-color 0.3s, color 0.3s;
  text-align: center;
}

.product-category-filter .cat-btn:hover {
  background-color: #e0e0e0;
}

.product-category-filter .active-cat-btn {
  background-color: var(--wp--preset--color--accent-3);
  color: var(--wp--preset--color--base);
}

.product-category-filter .active-cat-btn:hover {
  background-color: var(--wp--preset--color--accent-3);
  color: var(--wp--preset--color--base);
}

/* ================================
   Responsive Design
   ================================ */

/* Laptops / Tablets (max-width: 1024px) */
@media (max-width: 64em) {
  .categorycontent {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    justify-items: center;
  }
	
	.shopcontent .breadcrumps{
	padding-right: 0px !important;
}
	
		.title{
	padding-right: 0px !important;
	
}
	.catfilter{ 
	padding-right: 0px;
	}
	
  .categoryText {
    font-size: 0.9375rem; /* 15px */
  }

  .categoryPic {
    max-width: 20rem; /* 320px */
    max-height: 22rem; /* 352px */
    overflow: hidden;
  }

  .product-category-filter .cat-btn {
    font-size: 0.8125rem; /* 13px */
    padding: 0.35rem 0.7rem;
  }
}

/* Smartphones / kleine Tablets (max-width: 768px) */
@media (max-width: 48em) {
  .categorycontent {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    max-width: 700px;
  }
  .categoryPic {
    max-width: 12rem;
    max-height: 16rem;
		 overflow: hidden;
  }

	.shopcontent .breadcrumps{
		padding-right: 0px;
	}
	
	.title{
	padding-right: 0px !important;
	
	}
	.catfilter{ 
	padding-right: 0px;
	}
  .categoryText {
    font-size: 0.875rem; /* 14px */
  }



  .product-category-filter .cat-btn {
    font-size: 0.75rem; /* 12px */
    padding: 0.3rem 0.6rem;
  }
}

/* Sehr kleine Smartphones (max-width: 480px) */
@media (max-width: 30em) {
  .categorycontent {
    grid-template-columns: 1fr;
    max-width: 90%;
  }
  .categoryPic {
    max-width: 100%;
    height: auto;
		 overflow: hidden;
  }
  .categoryText {
    font-size: 0.85rem;
  }
	
	.shopcontent .breadcrumps{
	padding-right: 0px;
	}
	
		.title{
	padding-right: 0px !important;
	
	}

	.catfilter{ 
	padding-right: 0px;
	}

  .product-category-filter .cat-btn {
    font-size: 0.7rem; /* 11px */
    padding: 0.25rem 0.5rem;
  }
}

/* Member Preistabelle */
.member-pricetable {
  width: 100%;
  min-width: 30rem;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.member-pricetable .header-row {
  background-color: #ff8000;
  color: #fff;
}

.member-pricetable .member-row {
  border: 1px solid #fff;
  height: 50px;
}

.member-pricetable .member-name {
  border: 1px solid #fff;
  background-color: #ff6600;
  color: #fff;
  padding: 10px;
}

.member-pricetable .member-price {
  text-align: center;
  background-color: #f3f3f3;
  padding: 10px;
}

.product-column {
    flex-basis: auto !important;
}

/*Kasse*/

.columns_customer_details {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

.column_billing {
  order: 2;
}

.column_shipping {
  order: 1;
}

#order_review {
  order: 3;
  max-width: 25vw;
}

#order_payment_heading {
    display: none !important;
}

.woocommerce-checkout-payment {
  display: none !important;
}

#order_review {
    display: flex;
    flex-direction: column;
}

#order_review .cart-wrapper { order: 1; }
#order_review .seminar-fields-wrapper { order: 2; }
#order_review .wc-gzd-checkbox-placeholder-legal { order: 3; }
#order_review .wc-gzd-order-submit { order: 4; }

.woocommerce-checkout main .woocommerce {
    max-width: 80vw;
}

.content {
  display: flex;
  justify-content: center;
  background-color: #f3f3f3;
  margin-top: 0;
  padding-top: 0;
}

.content .woocommerce {
  background-color: #f3f3f3;
}

.content .woocommerce-billing-fields h3,
.content .woocommerce-additional-fields h3,
.content .woocommerce-checkout-review-order h3 {
  color: #ff6600;
  font-weight: bold;
  font-size: 22px;
}

.content input {
  border-radius: 100px !important;
}

.content form {
  display: flex;
  flex-direction: column;
}

.no-error {
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.tax-rate th {
  background-color: #ff6600;
  color: white;
}

.content button {
  border-radius: 100px !important;
}

.woocommerce-alt-billing-checkbox {
  display: flex;
  flex-direction: row;
  padding: 0px;
  align-items: center;
}

.woocommerce-additional-fields {
  display: flex;
  flex-direction: column;
}

#use_alt_billing_field {
  display: flex;
  align-items: center;
}

.woocommerce-alt-billing-checkbox .optional {
  display: none !important;
}


#billing_first_name_field,
#billing_last_name_field,
#billing_company_field,
#billing_country_field,
#billing_address_1_field,
#billing_address_2_field,
#billing_postcode_field,
#billing_city_field,
#billing_phone_field,
#billing_email_field,
#order_comments_field,
#alt_billing_first_name_field,
#alt_billing_last_name_field,
#alt_billing_company_field,
#alt_billing_country_field,
#alt_billing_address_1_field,
#alt_billing_postcode_field,
#alt_billing_city_field,
.form-row-first,
.form-row-last {
  display: flex;
  flex-direction: column;
  padding-right: 0px;
}

#alt_billing_first_name_field,
#alt_billing_last_name_field,
#alt_billing_company_field,
#alt_billing_country_field,
#alt_billing_address_1_field,
#alt_billing_postcode_field,
#alt_billing_city_field
 {
  padding-bottom: 0px;
}

div.woocommerce-alt-billing-checkbox h3 {
  margin-top: 20px !important;
}

label.checkbox,
.woocommerce-form__label-for-checkbox.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
  padding: 6px 4px;
  border-radius: 6px;
  user-select: none;
}


label.checkbox .input-checkbox,
.woocommerce-form__label-for-checkbox.checkbox .input-checkbox {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  z-index: 3;
}


label.checkbox::before,
.woocommerce-form__label-for-checkbox.checkbox::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #ff6600;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  margin-right: 8px;
  position: relative;
  vertical-align: middle;
}


label.checkbox:hover::before,
label.checkbox:has(input:focus-visible)::before,
.woocommerce-form__label-for-checkbox.checkbox:hover::before,
.woocommerce-form__label-for-checkbox.checkbox:has(input:focus-visible)::before {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}


label.checkbox:has(input:checked)::before,
.woocommerce-form__label-for-checkbox.checkbox:has(input:checked)::before {
  background-color: #ff6600;
  border-color: #ff6600;
}

label.checkbox:has(input:checked)::after,
.woocommerce-form__label-for-checkbox.checkbox:has(input:checked)::after {
  content: "";
  position: absolute;
  left: 12px; 
  top: 10px; 
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
  pointer-events: none;
  z-index: 4;
}


label.checkbox:not(:has(input:checked))::after,
.woocommerce-form__label-for-checkbox.checkbox:not(:has(input:checked))::after {
  content: none;
}

label.checkbox,
.woocommerce-form__label-for-checkbox.checkbox {
  -webkit-tap-highlight-color: transparent;
}

.content .place-order {
  display: flex;
  flex-direction: column;
}

.custom-error-notice {
  background-color: #f7f6f7;
  border-top: 4px solid #cc0000;
  color: #333;
  display: flex;
  align-items: flex-start;
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.custom-error-icon {
  margin-right: 1rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.custom-error-icon-svg path {
  fill: #cc0000;
}

.custom-error-content {
  flex: 1;
}

.custom-error-heading {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.custom-error-list {
  margin: 0;
  padding-left: 1.2rem;
  list-style-type: disc;
}

.woocommerce-cart-form__cart-itemc {
  display: flex;
  flex-direction: row;
  background-color: #f3f3f3;
  justify-content: space-between;
}

.cart-collateralsc{
	background-color: #f3f3f3;
}

.order-totalc{
		display: flex;
		flex-direction: row;
	justify-content: flex-end;
}

.checkout-price{
	color: #ff6600;
}

.checkout-product-price{
	font-size: 1rem;
	color: black;
	font-weight: 600;
}

.shop_table{
	border-bottom: 1px solid;
	border-bottom-color:  grey;
}

/* Tablets */
@media (max-width: 1024px) {
  .no-error {
    flex-direction: column;
  }
}

/* Smartphones */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    padding: 20px;
  }

  .no-error {
    flex-direction: column;
  }

	.wp-block-navigation {
		display: none !important;
	}
}
