/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.27.5.1772274554
Updated: 2026-02-28 10:29:14

*/

/* === KW: Thank-you Page sauber stylen === */

/* Tabellen-Schrift korrekt vererben */
body.woocommerce-order-received table,
body.woocommerce-order-received th,
body.woocommerce-order-received td {
  font-family: var(--et-body-font-family, inherit) !important;
}

/* Headline-Gewichtung etwas ruhiger */
body.woocommerce-order-received h2,
body.woocommerce-order-received th {
  font-weight: 600;
}

/* Download-Button optisch ruhiger */
body.woocommerce-order-received .woocommerce a.button,
body.woocommerce-order-received .woocommerce .button {
  background: transparent !important;
  border: 1px solid rgba(0,0,0,0.55) !important;
  color: #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 10px 16px !important;
}

/* Hover dezent */
body.woocommerce-order-received .woocommerce a.button:hover,
body.woocommerce-order-received .woocommerce .button:hover {
  background: #000 !important;
  color: #fff !important;
}

/* Fokus nicht blau */
body.woocommerce-order-received .woocommerce a.button:focus,
body.woocommerce-order-received .woocommerce .button:focus {
  outline: 2px solid #000 !important;
  outline-offset: 2px !important;
  box-shadow: none !important;
}

/* === KW: Checkout Top Margin reduzieren === */

body.woocommerce-checkout #main-content,
body.woocommerce-cart #main-content {
  padding-top: 40px !important;
}

body.woocommerce-checkout .et_pb_section,
body.woocommerce-cart .et_pb_section {
  padding-top: 40px !important;
}

/* Mobile noch kompakter */
@media (max-width: 767px) {
  body.woocommerce-checkout #main-content,
  body.woocommerce-cart #main-content {
    padding-top: 20px !important;
  }

  body.woocommerce-checkout .et_pb_section,
  body.woocommerce-cart .et_pb_section {
    padding-top: 20px !important;
  }
}

/* === KW: Checkout Header kompakter (Mobile) === */

@media (max-width: 767px) {

  body.woocommerce-checkout #main-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.woocommerce-checkout #et-top-navigation {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.woocommerce-checkout #main-content {
    margin-top: 0 !important;
    padding-top: 10px !important;
  }

}