/* Kasse und Danke-Seite. Farben: Dunkelgruen #063d33, Gruen #456920, Flaechen #f3f6ee, Linie #e2e8da, Text #1e2b27, leise #5d6b63,
   Fehler #b42318. */

/* ---------- Schwebende Hinweis-Karten, wenn die Haus-Schicht fehlt ---------- */

.emeu-karten-ohne-haus .emeu-hinweise-stapel .emeu-hinweis--schwebend {
  background: #fff;
  color: #1e2b27;
  border: 1px solid #e2e8da;
  border-left: 4px solid #063d33;
  padding: 14px 18px;
  font-size: .875rem;
  line-height: 1.5;
  text-align: left;
}
.emeu-karten-ohne-haus .emeu-hinweise-stapel .emeu-hinweis--fehler { border-left-color: #b42318; }
.emeu-karten-ohne-haus .emeu-hinweise-stapel .emeu-hinweis--erfolg { border-left-color: #456920; }
.emeu-karten-ohne-haus .emeu-hinweise-stapel ul.emeu-hinweis--schwebend {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
}
.emeu-karten-ohne-haus .emeu-hinweise-stapel ul.emeu-hinweis--schwebend > li {
  margin: 0;
  white-space: normal;
}
.emeu-karten-ohne-haus .emeu-hinweise-stapel .emeu-hinweis--schwebend a:not(.button) {
  color: #456920;
  font-weight: 600;
  text-decoration: underline;
}
.emeu-karten-ohne-haus .emeu-hinweise-stapel .emeu-hinweis--schwebend .button {
  background: #456920;
  border-color: #456920;
  color: #fff;
  text-decoration: none;
}
.emeu-karten-ohne-haus .emeu-hinweise-stapel button.emeu-hinweis__schliessen { color: #1e2b27; }

/* ---------- Kasse: Hinweise stehen im Formular ---------- */

body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-NoticeGroup .woocommerce-error,
body.woocommerce-checkout:not(.woocommerce-order-received) form.checkout > .woocommerce-error {
  list-style: none;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #fdf2f1;
  color: #5c1a14;
  border: 1px solid #f3cdc9;
  border-left: 4px solid #b42318;
  border-radius: 10px;
  font-size: .9375rem;
  line-height: 1.5;
  white-space: normal;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error li {
  margin: 0;
  padding: 0;
  white-space: normal;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error li + li { margin-top: 6px; }
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-error a {
  color: #5c1a14;
  font-weight: 600;
  text-decoration: underline;
}
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-notices-wrapper .woocommerce-info {
  margin: 0 0 24px;
  padding: 14px 18px;
  background: #f3f6ee;
  color: #063d33;
  border: 1px solid #dfe7d3;
  border-left: 4px solid #456920;
  border-radius: 10px;
  font-size: .9375rem;
  line-height: 1.5;
}

/* ---------- Danke-Seite ---------- */

body.woocommerce-order-received .woocommerce-thankyou-order-received {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
  padding: 22px 26px;
  width: auto;
  background: #f3f6ee;
  color: #063d33;
  border: 1px solid #dfe7d3;
  border-left: 6px solid #456920;
  border-radius: 14px;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
  content: "";
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #456920 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 20px no-repeat;
}

body.woocommerce-order-received ul.woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
body.woocommerce-order-received ul.woocommerce-order-overview::before,
body.woocommerce-order-received ul.woocommerce-order-overview::after {
  content: none;
  display: none;
}
body.woocommerce-order-received ul.woocommerce-order-overview li {
  float: none;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e2e8da;
  border-radius: 12px;
  color: #5d6b63;
  font-size: .8125rem;
  line-height: 1.4;
  text-transform: none;
}
body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 4px;
  color: #063d33;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
  margin: 0 0 14px;
  color: #063d33;
  font-size: 1.25rem;
}
body.woocommerce-order-received table.woocommerce-table--order-details {
  width: 100%;
  margin: 0;
  border: 1px solid #e2e8da;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid #eef1ea;
  background: transparent;
  color: #1e2b27;
  font-size: .9375rem;
  vertical-align: top;
}
body.woocommerce-order-received table.woocommerce-table--order-details .product-total,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot td {
  text-align: right;
}
body.woocommerce-order-received table.woocommerce-table--order-details thead th {
  background: #f3f6ee;
  color: #063d33;
  font-weight: 700;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
  color: #5d6b63;
  font-weight: 600;
}
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: 0;
}
body.woocommerce-order-received table.woocommerce-table--order-details .product-name a {
  color: #456920;
  font-weight: 600;
  text-decoration: none;
}
body.woocommerce-order-received table.woocommerce-table--order-details .product-name a:hover { text-decoration: underline; }
body.woocommerce-order-received table.woocommerce-table--order-details .product-quantity { color: #5d6b63; }
body.woocommerce-order-received table.woocommerce-table--order-details .delivery-time-info { margin: 6px 0 0; color: #5d6b63; font-size: .8125rem; }

body.woocommerce-order-received .woocommerce-customer-details { margin-top: 32px; }
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::before,
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses::after {
  content: none;
  display: none;
}
body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #e2e8da;
  border-radius: 14px;
}
body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  line-height: 1.6;
  color: #1e2b27;
}
body.woocommerce-order-received .woocommerce-customer-details address p { margin: 4px 0 0; }

@media (max-width: 700px) {
  body.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 1.125rem; padding: 18px 18px; }
  body.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns--addresses { grid-template-columns: 1fr; }
  body.woocommerce-order-received table.woocommerce-table--order-details th,
  body.woocommerce-order-received table.woocommerce-table--order-details td { padding: 12px 14px; }
}
