/* Warenkorb Breite */
.woocommerce-cart .mw-thin {
  max-width: 700px!important;
}

.woocommerce-Price-amount {
  color: #fff;
  font-size: 1em;
}

.woocommerce form.checkout {
  background-color: #e6e6e6;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  color: #222;
}

.woocommerce form.checkout input,
.woocommerce form.checkout textarea,
.woocommerce form.checkout select {
  background-color: #fff;
  color: #222;
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 14px;
}

.woocommerce form.checkout label {
  color: #222;
  font-weight: 500;
}

.woocommerce-billing-fields > h3 {
  display: none;
}

#shipping_details {
  margin-top: 40px;
  padding: 20px;
  background: #dcdcdc;
  border-radius: 4px;
}

.woocommerce form .form-row {
  margin-bottom: 10px;
}

.woocommerce input.input-text {
  padding: 6px 8px;
  font-size: 14px;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: 48%;
  float: left;
  clear: none;
  margin-bottom: 10px;
}

.woocommerce form .form-row-first {
  margin-right: 4%;
}

.woocommerce form .form-row-wide {
  clear: both;
  margin-bottom: 10px;
}

.woocommerce .checkout .col-1,
.woocommerce .checkout .col-2 {
  background-color: #e5e5e5;
  padding: 20px;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .billing-section .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .billing-section .form-row-wide {
    grid-column: 1 / -1;
  }
}

.woocommerce-checkout h3 {
  font-size: 1.9rem;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 600;
  color: #222;
}

.checkout-box,
.order-review-section,
.billing-section,
.shipping-section {
  margin-bottom: 30px;
}

.shipping-box h3 {
  margin-top: 15px;
}

.woocommerce-checkout #payment {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  color: #222;
}

/* === Einzelne Zahlungsarten === */
.woocommerce-checkout #payment .payment_methods li {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.5em 1em;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  margin-bottom: 0.75em;
}

.woocommerce-checkout #payment .payment_methods li input[type="radio"] {
  margin: 0;
  transform: scale(1.2);
}

.woocommerce-checkout #payment .payment_methods li label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  font-weight: 600;
  font-size: 1.4rem;
  color: #000;
  white-space: nowrap;
}

.woocommerce-checkout #payment .payment_methods li img {
  max-height: 22px;
}

.woocommerce-checkout .payment_box {
  background: #f6f5f3;
  border-left: 3px solid #d07a40;
  margin: 0.5em 0 0.5em 2em;
  padding: 1em;
  color: #333;
  border-radius: 5px;
}

.woocommerce-checkout #payment .payment_box:before {
  border-bottom-color: #f0f0f0;
}

.payment_methods label[for*="payment_method_bacs"]::before {
  font-family: "Font Awesome 5 Free";
  content: "\f09d";
  font-weight: 900;
  margin-right: 0.5em;
  color: #222;
}

.payment_methods label[for*="payment_method_paypal"]::before {
  font-family: "Font Awesome 5 Brands";
  content: "\f1f4";
  margin-right: 0.5em;
  color: #003087;
}

#paypal-message {
  min-width: 131px;
  min-height: 50px;
  display: block;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
}

.woocommerce-checkout #payment div.payment_box p {
  color: #fff;
}

.checkout-review-order {
  background: #fff;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  color: #222;
  font-size: 1.5rem;
}

.order-review-header,
.order-item,
.order-total-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5em 0;
  border-bottom: 1px solid #e5e5e5;
}

.order-review-header {
  font-weight: 600;
  border-bottom: 2px solid #ccc;
  margin-bottom: 0.5em;
}

.order-item-label {
  max-width: 60%;
  line-height: 1.4;
}

.order-item-price,
.order-total-line span:last-child {
  font-weight: 500;
  color: #333;
}

.order-total-line.total {
  font-size: 1.4em;
  font-weight: 700;
  border-top: 2px solid #ccc;
  padding-top: 1em;
  color: #111;
}

.order-item img {
  display: none;
}

.wc-gzd-additional-wrapper {
  font-size: .8em !important;
}

/* === Warenkorb-Wrapper === */
.custom-cart-wrapper {
  background: #1e1e1e;
  color: #fff;
  padding: 2em;
  border-radius: 8px;
  margin: 0 auto 2em auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2em;
}

/* === Einzelner Warenkorb-Artikel === */
.cart-item {
  display: flex;
  gap: 1em;
  align-items: flex-start;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 1em;
  position: relative;
  color: #fff;
}

/* === Artikelbild === */
.cart-item-image img {
  width: 80px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* === Entfernen-Icon === */
.cart-item-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  margin-right: 0.5em;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
  flex-shrink: 0;
  align-self: center;
}

.cart-item-remove a {
  display: block;
  color: #ff6b6b;
  font-size: 1.2em;
  text-decoration: none;
  text-align: center;
  line-height: 30px;
  width: 100%;
  height: 100%;
}

.cart-item-remove a:hover {
  transform: scale(1.2);
  color: #900;
}

/* === Artikelinfos === */
.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.cart-item-title {
  font-weight: 600;
  font-size: 1.1em;
  color: #fff;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 500;
  color: #ccc;
}

.cart-item-quantity {
  font-size: 0.95em;
  color: #aaa;
  margin-top: 0.25em;
}

/* === Zusatzdaten (Varianten etc.) === */
.custom-cart-item-data {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.custom-item-data-row {
  margin-bottom: 0.2rem;
}

.custom-item-data-label {
  font-weight: 500;
  margin-right: 0.3rem;
}

.custom-item-data-value {
  font-style: italic;
}

/* === Summe-Bereich === */
.custom-cart-totals {
  background: #2a2a2a;
  color: #fff;
  padding: 1em 1em 0 1em;
  border-radius: 8px;
  margin: 0 auto;
}

.custom-cart-totals h2 {
  font-size: 1.4em;
  margin-bottom: 1em;
  color: #fff;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5em;
}
@media (min-width: 700px) {
	.custom-cart-totals h2 {
		margin-top: 0;
	}
}
.cart-totals-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6em 0;
  border-bottom: 1px solid #333;
}

.cart-totals-row.total {
  font-weight: bold;
  border-top: 1px solid #555;
  margin-top: 1em;
  padding-top: 1em;
  border-bottom: none;
}

/* === Button-Leiste === */
.wc-proceed-to-checkout {

  text-align: center;
}

.checkout-button {
  background-color: #f4a742;
  color: #1e1e1e;
  padding: 0.8em 1.5em;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.checkout-button:hover {
  background-color: #e6952f;
}

/* === Hinweis für Kleinunternehmerregelung === */
.small-business-notice {
  font-size: 0.85em;
  margin-top: 1em;
  color: #aaa;
}

/* Für das umgebende Container-Element */
/* greift auf fast alle Varianten */
#paypal-button-container,
.wc-gzd-express-checkout-button-wrapper,
.wc-gzd-paypal-express-checkout-button,
.woocommerce-cart .paypal-buttons {
  display: flex !important;
  justify-content: flex-end;
  margin-top: 1.5em;
}

/* Mindestgröße für den Button */
#paypal-button-container iframe {
  min-width: 132px !important;
  min-height: 51px !important;
  display: block !important;
}

/* === Bestellung erhalten / Bestellbestätigung === */
.order-confirmation-title {
  font-size: 2rem;
  margin-bottom: 1em;
  color: #222;
}

.order-info {
  background: #f6f6f6;
  padding: 1em;
  border-radius: 6px;
  margin-bottom: 1.5em;
  line-height: 1.6;
}

.thankyou-products h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.2rem;
}

.order-items {
  list-style: none;
  padding-left: 0;
}

.order-items li {
  padding: 0.3em 0;
  border-bottom: 1px solid #ddd;
}

/* === Layout-Anpassungen für Checkout-Review-Box === */
.checkout-review-order {
  background: #fff;
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  color: #222;
  font-size: 1.5rem;
}

.order-review-header,
.order-item,
.order-total-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.5em 0;
  border-bottom: 1px solid #e5e5e5;
}

.order-review-header {
  font-weight: 600;
  border-bottom: 2px solid #ccc;
  margin-bottom: 0.5em;
}

.order-item-label {
  max-width: 100%;
  line-height: 1.4;
}

.order-item-price,
.order-total-line span:last-child {
  font-weight: 500;
  color: #333;
}

.order-total-line.total {
  font-size: 1.4em;
  font-weight: 700;
  color: #111;
  border-top: 2px solid #ccc;
  padding-top: 1em;
}

/* === Kleinere Anpassung für WooCommerce Germanized Hinweisbox === */
.wc-gzd-additional-wrapper {
  font-size: 0.8em !important;
}
/* Hinweistext Mängelexemplare */
.woocommerce-gzd-data-defective-copy-checkbox-text {
	font-size:.8em;
}
/* Neuer Warenkorb*/
.woocommerce-cart-contents {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  background: #2a2a2a;
}

.cart-item-thumbnail img {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.cart-item-remove {
  margin-left: auto;
  order: 2;
}

.cart-item-details {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.product-name a {
  font-weight: bold;
  text-decoration: none;
}

.product-price,
.product-subtotal {
  font-weight: 600;
  color: #333;
}

.product-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-quantity input[type="number"] {
  max-width: 70px;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid #ccc;
}

.cart-actions .coupon {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.cart-actions input[type="text"],
.cart-actions button {
  padding: 0.6rem 1rem;
  font-size: 1.5rem;
}

.cart-actions button, .shopback {
  background: #e5b76f;
  color: #2a2a2a;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}
.cart-actions button {
	margin-bottom: .5em;
}
.shopback {
	padding: .5em 1em;
	text-decoration: none;
}
.shopback:hover {
	background: #2a2a2a;
	color: #e5b76f;
}

.cart-actions button:hover {
  background: #555;
}
@media only screen and (min-width: 500px) {
  .paypal-button-tagline .paypal-button-text {

    color: #2a2a2a;
	}
}
.woocommerce form.login {
	background: #2a2a2a;
}
.products .product p.wc-gzd-additional-info  {
    display: none;
}
#site-header {
  margin-bottom: 0!important;
}
h1 {
  font-size: 2em!important;
}
.single-product h1 {
  display: block;
  font-size: 1.3em!important;
  padding: .5em 0 .5em 4em;
  border-radius: 2px;
  background-color: rgba(229,183, 111, 0.5);
  width: 70%;
}
.product .defect-description:not(:empty) {
  border: 0!important;
  margin: 0!important;
  padding: 0!important;
}
@media (min-width: 700px) {
  #site-header {
    margin-bottom: 0!important;
    /*min-height: 12rem;
    padding: 2.4rem 0;*/
  }
  h1 {
  font-size: 2em!important;
}
}
@media (max-width:768px) {
.single-product h1 {
  display: inherit;
  font-size: 1.3em!important;
  padding: 0;
  border-radius: 0;
  background-color: rgba(0, 0,0,0);
  width: 100%;
}
}