/* DRB Mobil-Korrekturen 23.11.2026 – getestet bei 375x812 und 360x780 */
@media (max-width: 767px) {
  /* 1) Produktseiten + Komplettset: Warenkorb-Button ragt aus dem Bildschirm */
  .single-product div.product .elementor-add-to-cart form.cart {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .single-product div.product .elementor-add-to-cart form.cart .single_add_to_cart_button {
    flex: 1 1 100% !important;
    width: 100%;
    min-height: 48px;
    margin-left: 0 !important;
    white-space: normal;
  }

  /* 2) Kasse: Bestelltabelle ragt aus der Karte (bei 360 px aus dem Bildschirm) */
  body.woocommerce-checkout table.woocommerce-checkout-review-order-table {
    table-layout: fixed !important;
    width: 100% !important;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th.product-total,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total {
    width: 42%;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
  body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
    padding-left: 8px !important;
    padding-right: 8px !important;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  body.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
    font-size: 12px !important;
  }

  /* 3) Kasse: Beschriftung "Kredit-/Debitkarten" rutscht unter den Auswahlpunkt, Logos überlappen den Text */
  body.woocommerce-checkout #payment ul.payment_methods > li > label {
    max-width: calc(100% - 34px);
    line-height: 1.5 !important;
  }
  body.woocommerce-checkout #payment ul.payment_methods > li.payment_method_stripe_cc > label img {
    height: 18px !important;
    width: auto !important;
    margin-left: 6px !important;
  }

  /* 4) Startseite: H1 klebt am Bildschirmrand */
  .home .elementor-element-64528d4 .elementor-heading-title {
    padding: 0 16px;
  }

  /* 5) Marke: eckig statt rund */
  .drb-r12 .step { border-radius: 0 !important; }
  .drb-mobile-menu-button { border-radius: 0 !important; }
}

/* Komplettset: Kaufknopf in Petrol wie auf den anderen Produktseiten (23.11.2026) */
.single-product form.cart.drb-complete-set-cart .single_add_to_cart_button {
  background: #0F6A75 !important;
  border-color: #0F6A75 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  border-radius: 0 !important;
}

/* 23.11.2026 abends: Knopf "Cookie-Einstellungen" am Seitenende auf gleiche Höhe wie der Nach-oben-Pfeil (beide 48 px hoch, 18 px über dem Rand) */
@media (max-width: 767px) {
  .drb-mobile-cookie-access { padding-bottom: 18px !important; }
}
