body.woocommerce-checkout {
  --cs-cd-bg: #f4f6f9;
  --cs-cd-card: #ffffff;
  --cs-cd-border: #d6dee8;
  --cs-cd-text: #1f2a37;
  --cs-cd-muted: #5e6978;
  --cs-cd-accent: #b70e0c;
  --cs-cd-accent-dark: #8e0b09;
  --cs-cd-shadow: 0 10px 28px rgba(20, 38, 61, 0.08);
}

body.woocommerce-checkout #main {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

body.woocommerce-checkout form.checkout.woocommerce-checkout.cs-cd-enhanced {
  margin: 0;
}

body.woocommerce-checkout .cs-cd-layout {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  gap: 20px;
  align-items: start;
}

body.woocommerce-checkout .cs-cd-left,
body.woocommerce-checkout .cs-cd-right {
  min-width: 0;
}

body.woocommerce-checkout .cs-cd-right {
  position: sticky;
  top: 110px;
}

body.woocommerce-checkout .cs-cd-section,
body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2,
body.woocommerce-checkout .cs-cd-right .woocommerce-content-box.full-width {
  border: 1px solid var(--cs-cd-border);
  border-radius: 16px;
  background: var(--cs-cd-card);
  box-shadow: var(--cs-cd-shadow);
}

body.woocommerce-checkout #customer_details {
  display: block !important;
  margin: 0 0 16px;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 16px;
  padding: 18px;
  clear: both !important;
  display: block !important;
}

body.woocommerce-checkout #customer_details .col-2 {
  margin-bottom: 16px;
}

body.woocommerce-checkout #customer_details .col-1 > h3,
body.woocommerce-checkout #customer_details .col-2 > h3 {
  margin: 0 0 12px;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--cs-cd-text);
}

body.woocommerce-checkout .cs-cd-section {
  margin: 0 0 16px;
  padding: 16px;
}

body.woocommerce-checkout .cs-cd-section:last-child {
  margin-bottom: 0;
}

body.woocommerce-checkout .cs-cd-section__title {
  margin: 0 0 12px;
  color: var(--cs-cd-text);
  font-size: 1.35rem;
  line-height: 1.2;
}

body.woocommerce-checkout .cs-cd-delivery-options h3,
body.woocommerce-checkout .cs-cd-delivery-options p {
  margin-top: 0;
}

body.woocommerce-checkout .cs-cd-delivery-options p {
  color: var(--cs-cd-muted);
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .cs-cd-delivery-options .delivery-day-button,
body.woocommerce-checkout .cs-cd-delivery-options .pickup-day-button {
  border: 1px solid #ccd6e1;
  border-radius: 10px;
  background: #fff;
  color: var(--cs-cd-text);
  min-height: 46px;
  padding: 8px 14px;
  margin: 0 8px 8px 0;
  font-weight: 600;
  transition: all 0.16s ease;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .cs-cd-delivery-options .delivery-day-button:hover,
body.woocommerce-checkout .cs-cd-delivery-options .pickup-day-button:hover {
  border-color: var(--cs-cd-accent);
  background: #fff7f7;
}

body.woocommerce-checkout .cs-cd-delivery-options .delivery-day-button.selected,
body.woocommerce-checkout .cs-cd-delivery-options .pickup-day-button.selected,
body.woocommerce-checkout .cs-cd-delivery-options .delivery-day-button.active,
body.woocommerce-checkout .cs-cd-delivery-options .pickup-day-button.active,
body.woocommerce-checkout .cs-cd-delivery-options .delivery-day-button[aria-pressed="true"],
body.woocommerce-checkout .cs-cd-delivery-options .pickup-day-button[aria-pressed="true"] {
  color: #fff !important;
}

body.woocommerce-checkout .cs-cd-delivery-options input[type="radio"] {
  margin-right: 5px;
}

body.woocommerce-checkout .cs-cd-delivery-options label {
  margin-right: 12px;
}

body.woocommerce-checkout .cs-cd-points .cs-points-widget-wrap {
  margin: 0;
}

body.woocommerce-checkout .cs-cd-points .cs-points-widget {
  margin: 0;
  border: 0;
  box-shadow: none;
  padding: 0;
  background: transparent;
}

body.woocommerce-checkout .cs-cd-points .cs-points-widget__header h3 {
  display: none !important;
}

body.woocommerce-checkout .cs-cd-points .cs-points-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card {
  border: 1px solid #d6dee8;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 13px 12px;
  box-shadow: 0 6px 16px rgba(31, 42, 55, 0.05);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
  min-height: 0;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card:hover {
  border-color: #b8c9dc;
  box-shadow: 0 10px 20px rgba(31, 42, 55, 0.08);
  transform: translateY(-1px);
}

body.woocommerce-checkout .cs-cd-points .cs-points-card.is-selected {
  border-color: #2f6ea8;
  background: linear-gradient(180deg, #f4f9ff 0%, #eaf3ff 100%);
  box-shadow: 0 0 0 2px rgba(47, 110, 168, 0.12) inset, 0 10px 22px rgba(47, 110, 168, 0.12);
}

body.woocommerce-checkout .cs-cd-points .cs-points-card.is-disabled {
  opacity: 0.62;
  background: #f3f5f8;
  border-color: #d9e1ea;
  box-shadow: none;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card__discount {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 800;
  color: #173654;
  margin-bottom: 4px;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card__save {
  color: #4f5f72;
  font-size: 0.84rem;
  line-height: 1.25;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card__cost {
  color: #24364b;
  font-size: 0.86rem;
  font-weight: 650;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card__badge {
  background: #e6edf6;
  color: #3f5064;
  border: 1px solid #d5e0ec;
}

body.woocommerce-checkout .cs-cd-points .cs-points-card__remove {
  background: #d8e7f7;
  color: #1f4e7a;
}

body.woocommerce-checkout .cs-cd-points .cs-points-widget__summary {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d5dde8;
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-card {
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f2f6fb 100%);
  padding: 10px 12px;
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-card.is-selected {
  border-color: #2f6ea8;
  background: linear-gradient(180deg, #f1f8ff 0%, #e7f1fe 100%);
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-card__label {
  color: #5b6778;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.25;
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-card__value {
  display: block;
  margin-top: 4px;
  color: #1f2d3f;
  font-size: 1.18rem;
  line-height: 1.1;
  font-weight: 800;
}

body.woocommerce-checkout .cs-cd-points .cs-points-balance-card__hint {
  margin-top: 3px;
  color: #667385;
  font-size: 0.75rem;
}

body.woocommerce-checkout .cs-cd-coupon-ui {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

body.woocommerce-checkout .cs-cd-coupon-ui input[type="text"] {
  border: 1px solid #c8d2dd;
  border-radius: 10px;
  min-height: 46px;
  padding: 10px 12px;
  font-size: 1rem;
  width: 100%;
}

body.woocommerce-checkout .cs-cd-coupon-ui button {
  border: 0;
  border-radius: 10px;
  min-height: 46px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--cs-cd-accent) 0%, #d0221f 100%);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

body.woocommerce-checkout .cs-cd-coupon-ui button:hover,
body.woocommerce-checkout .cs-cd-coupon-ui button:focus {
  background: linear-gradient(135deg, var(--cs-cd-accent-dark) 0%, #ab1714 100%);
  box-shadow: 0 8px 18px rgba(183, 14, 12, 0.25);
}

body.woocommerce-checkout .cs-cd-coupon-feedback {
  margin-top: 10px;
  color: var(--cs-cd-muted);
  font-size: 0.95rem;
}

body.woocommerce-checkout .cs-cd-coupon-feedback.is-success {
  color: #1f7a39;
}

body.woocommerce-checkout .cs-cd-coupon-feedback.is-error {
  color: #b31b1b;
}

body.woocommerce-checkout .cs-cd-coupon-feedback.is-info {
  color: var(--cs-cd-muted);
}

body.woocommerce-checkout .cs-cd-order-notes .woocommerce-additional-fields {
  margin: 0;
}

body.woocommerce-checkout .cs-cd-order-notes .woocommerce-additional-fields > h3 {
  display: none !important;
}

body.woocommerce-checkout .cs-cd-order-notes #order_comments_field {
  margin: 0;
}

body.woocommerce-checkout .cs-cd-order-notes #order_comments {
  min-height: 120px;
}

body.woocommerce-checkout form.checkout_coupon.cs-cd-original-coupon {
  display: none !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-content-box.full-width {
  margin: 0;
  padding: 16px;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-content-box.full-width #order_review_heading {
  margin: 0 0 12px;
  color: var(--cs-cd-text);
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-payment {
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table thead th {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7686;
  border-bottom: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table td {
  padding: 12px 10px;
  overflow-wrap: normal;
  word-break: normal;
  border: 0 !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tr.cart_item td {
  border-top: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tr.order-total th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tr.order-total td {
  font-size: 1.08rem;
  font-weight: 800;
  color: #1e2a38;
  border-top: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table {
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: 4px;
  width: 100%;
  table-layout: auto;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table th {
  text-align: left !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table td {
  text-align: right !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table td {
  vertical-align: middle;
  border-top: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tbody tr.cart_item td {
  background: #ffffff;
  border: 1px solid #e1e8f0 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tbody tr.cart_item td:first-child {
  border-right: 0 !important;
  border-radius: 10px 0 0 10px;
  text-align: left !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tbody tr.cart_item td:last-child {
  border-left: 0 !important;
  border-radius: 0 10px 10px 0;
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding-right: 8px !important;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr td {
  padding: 12px 14px;
  background: transparent;
  border: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr th {
  border-right: 0;
  border-radius: 0;
  color: #344355;
  font-size: 0.95rem;
  font-weight: 650;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr td {
  border-left: 0;
  border-radius: 0;
  color: #1e2a38;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.shipping td {
  color: #2b3a4c;
  overflow-wrap: break-word;
  word-break: normal;
  white-space: normal;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.cart-discount td {
  color: #17683d;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.tax-rate td,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.tax-total td {
  font-size: 0.9rem;
  color: #536176;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total td {
  background: transparent;
  border: 0;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total th {
  color: #1f2e40;
  font-size: 1.1rem;
  font-weight: 800;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total td {
  color: #bd1512;
  font-size: 1.35rem;
  font-weight: 900;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot th,
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot td {
  white-space: normal;
}

/* Disable Woo responsive pseudo labels for checkout summary table (caused vertical letter stacking). */
body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table.shop_table_responsive tr td::before {
  content: none !important;
  display: none !important;
}

body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 7px;
  align-items: center;
  min-height: 0;
}

body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper .product-thumbnail img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}

body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper .product-info {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.2;
}

body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper .product-info > *,
body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper .product-info .quantity {
  margin: 0;
  line-height: 1.2;
}

body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tbody tr.cart_item .product-total {
  font-size: 1.08rem;
}

body.woocommerce-checkout .cs-cd-right #payment ul.payment_methods > li {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 10px;
}

body.woocommerce-checkout .cs-cd-right #payment ul.payment_methods {
  margin: 0 0 14px;
  padding: 0;
  border-bottom: 0;
}

body.woocommerce-checkout .cs-cd-right #payment ul.payment_methods > li > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #243346;
  padding: 2px 0;
}

body.woocommerce-checkout .cs-cd-right #payment ul.payment_methods > li input[type="radio"] {
  accent-color: var(--cs-cd-accent);
}

body.woocommerce-checkout .cs-cd-right #payment ul.payment_methods > li input[type="radio"]:checked + label {
  color: var(--cs-cd-accent-dark);
}

body.woocommerce-checkout .cs-cd-right #payment div.payment_box {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #d3deea;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
  border-radius: 10px;
  color: #2f3e52;
  line-height: 1.55;
}

body.woocommerce-checkout .cs-cd-right #payment div.payment_box::before {
  border-bottom-color: #dbe6f3;
}

body.woocommerce-checkout .cs-cd-right #payment .woocommerce-privacy-policy-text,
body.woocommerce-checkout .cs-cd-right #payment .woocommerce-terms-and-conditions-wrapper {
  color: #4f5d70;
  font-size: 0.93rem;
  line-height: 1.5;
}

body.woocommerce-checkout .cs-cd-right #payment #place_order {
  border-radius: 999px;
  min-height: 52px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--cs-cd-accent) 0%, #d0221f 100%);
}

body.woocommerce-checkout .cs-cd-right #payment #place_order:hover,
body.woocommerce-checkout .cs-cd-right #payment #place_order:focus {
  background: linear-gradient(135deg, var(--cs-cd-accent-dark) 0%, #ab1714 100%);
}

body.woocommerce-checkout.cs-cd-updating .cs-cd-right,
body.woocommerce-checkout.cs-cd-updating .cs-cd-points {
  opacity: 0.56;
  pointer-events: none;
  transition: opacity 0.14s ease;
}

body.woocommerce-checkout .cs-cd-highlight {
  animation: csCdPulse 0.38s ease;
}

@keyframes csCdPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(183, 14, 12, 0.2);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(183, 14, 12, 0);
  }
}

@media (max-width: 1180px) {
  body.woocommerce-checkout .cs-cd-layout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .cs-cd-right {
    position: static;
    top: auto;
  }

  body.woocommerce-checkout .cs-cd-points .cs-points-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-checkout .cs-cd-points .cs-points-balance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.woocommerce-checkout .cs-cd-coupon-ui {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout #customer_details .col-1 > h3,
  body.woocommerce-checkout #customer_details .col-2 > h3,
  body.woocommerce-checkout .cs-cd-section__title {
    font-size: 1.25rem;
  }

  body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.woocommerce-checkout .cs-cd-right .fusion-product-name-wrapper .product-thumbnail img {
    width: 42px;
    height: 42px;
  }

  body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tbody tr.cart_item td {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }

  body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr th,
  body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr td {
    padding: 10px 11px;
  }

  body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total th {
    font-size: 1rem;
  }

  body.woocommerce-checkout .cs-cd-right .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    font-size: 1.15rem;
  }

  body.woocommerce-checkout .cs-cd-points .cs-points-grid,
  body.woocommerce-checkout .cs-cd-points .cs-points-balance-grid {
    grid-template-columns: 1fr;
  }

  body.woocommerce-checkout .cs-cd-points .cs-points-card {
    padding: 12px 11px;
  }

  body.woocommerce-checkout .cs-cd-points .cs-points-card__discount {
    font-size: 1.65rem;
  }
}

/* Bestellung-erhalten Seite */
body.woocommerce-order-received {
  --cs-cd-bg: #f4f6f9;
  --cs-cd-card: #ffffff;
  --cs-cd-border: #d6dee8;
  --cs-cd-text: #1f2a37;
  --cs-cd-muted: #5e6978;
  --cs-cd-accent: #b70e0c;
  --cs-cd-shadow: 0 10px 28px rgba(20, 38, 61, 0.08);
}

body.woocommerce-order-received #main {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
}

body.woocommerce-order-received .woocommerce-order {
  display: block;
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received,
body.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview {
  width: 100%;
}

body.woocommerce-order-received .woocommerce-order > p,
body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received + p {
  margin: 0;
  color: #324458;
}

body.woocommerce-order-received .cs-cd-thanks-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

body.woocommerce-order-received .cs-cd-thanks-left,
body.woocommerce-order-received .cs-cd-thanks-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.woocommerce-order-received .cs-cd-thanks-left > *,
body.woocommerce-order-received .cs-cd-thanks-right > * {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  align-self: stretch !important;
  flex: 0 0 auto;
}

body.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
body.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-received {
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid #d3e1d6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fff8 0%, #eefaf0 100%);
  color: #1f5b30;
  box-shadow: var(--cs-cd-shadow);
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details li {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--cs-cd-border);
  border-radius: 12px;
  background: var(--cs-cd-card);
  box-shadow: 0 6px 14px rgba(31, 42, 55, 0.06);
  color: var(--cs-cd-muted);
  font-size: 0.86rem;
  line-height: 1.3;
}

body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details li > strong,
body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details li > span {
  display: block;
  margin-top: 4px;
  color: var(--cs-cd-text);
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .avada-order-details,
body.woocommerce-order-received .woocommerce-customer-details,
body.woocommerce-order-received .avada-customer-details,
body.woocommerce-order-received .cs-cd-thanks-delivery,
body.woocommerce-order-received .wc-bacs-bank-details,
body.woocommerce-order-received .wc-bacs-bank-details-heading + ul.wc-bacs-bank-details {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--cs-cd-border);
  border-radius: 16px;
  background: var(--cs-cd-card);
  box-shadow: var(--cs-cd-shadow);
}

body.woocommerce-order-received .woocommerce-order-details {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  align-self: start;
}

body.woocommerce-order-received .avada-order-details {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  align-self: start;
}

body.woocommerce-order-received .woocommerce-customer-details {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: start;
}

body.woocommerce-order-received .avada-customer-details {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-self: start;
}

body.woocommerce-order-received .woocommerce-cs-points-order {
  margin: 0 !important;
  padding: 16px;
  border: 1px solid var(--cs-cd-border);
  border-radius: 16px;
  background: var(--cs-cd-card);
  box-shadow: var(--cs-cd-shadow);
  align-self: start;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__row {
  display: grid;
  grid-template-columns: minmax(130px, 34%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__label {
  color: #29384b;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__value {
  color: #46576b;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__content p {
  margin: 0 0 8px;
  color: #46576b;
  line-height: 1.5;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__content p:last-child {
  margin-bottom: 0;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__content strong {
  color: #29384b;
  font-weight: 700;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__value p,
body.woocommerce-order-received .cs-cd-thanks-delivery__value ul,
body.woocommerce-order-received .cs-cd-thanks-delivery__value li {
  margin: 0;
}

body.woocommerce-order-received .cs-cd-thanks-delivery__empty {
  margin: 0;
  color: #5f6e80;
}

body.woocommerce-order-received .woocommerce-order-details > h2,
body.woocommerce-order-received .avada-order-details > h2,
body.woocommerce-order-received .woocommerce-customer-details > h2,
body.woocommerce-order-received .avada-customer-details > h2,
body.woocommerce-order-received .cs-cd-thanks-delivery > h2,
body.woocommerce-order-received .woocommerce-cs-points-order .woocommerce-order-details__title,
body.woocommerce-order-received .wc-bacs-bank-details-heading {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #d6dee8;
  color: var(--cs-cd-text);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body.woocommerce-order-received table.shop_table.order_details,
body.woocommerce-order-received .woocommerce-table--order-details,
body.woocommerce-order-received .woocommerce-table--customer-details {
  width: 100%;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 8px;
}

body.woocommerce-order-received table.shop_table.order_details th,
body.woocommerce-order-received table.shop_table.order_details td,
body.woocommerce-order-received .woocommerce-table--customer-details th,
body.woocommerce-order-received .woocommerce-table--customer-details td {
  border: 0 !important;
  padding: 12px 10px;
  vertical-align: middle;
}

body.woocommerce-order-received table.shop_table.order_details thead th {
  color: #6a7686;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.79rem;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr td {
  background: #ffffff;
  border: 1px solid #e1e8f0 !important;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr td:first-child {
  border-right: 0 !important;
  border-radius: 10px 0 0 10px;
}

body.woocommerce-order-received table.shop_table.order_details tbody tr td:last-child {
  border-left: 0 !important;
  border-radius: 0 10px 10px 0;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.woocommerce-order-received table.shop_table.order_details tfoot th,
body.woocommerce-order-received table.shop_table.order_details tfoot td {
  padding: 9px 8px;
  border: 0 !important;
}

body.woocommerce-order-received table.shop_table.order_details tfoot th {
  width: 42%;
  text-align: left !important;
  color: #29384b;
  font-weight: 700;
}

body.woocommerce-order-received table.shop_table.order_details tfoot td {
  width: 58%;
  text-align: right !important;
  color: #1f2e40;
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.shipping td {
  color: #4f6075;
  font-size: 0.96rem;
  line-height: 1.45;
  font-weight: 500;
  white-space: normal;
}

body.woocommerce-order-received .cs-cd-has-delivery-card table.shop_table.order_details tfoot tr.shipping {
  display: none;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.cart-discount td {
  color: #1d6d3f;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total th,
body.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total td {
  border-top: 1px solid #d7e0ea !important;
  padding-top: 14px;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total th {
  color: #1f2e40;
  font-size: 1.04rem;
  font-weight: 800;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total td {
  color: #bd1512;
  font-size: 1.25rem;
  font-weight: 900;
}

body.woocommerce-order-received table.shop_table.order_details tfoot tr.order-total td .includes_tax {
  display: block;
  margin-top: 4px;
  color: #5f6e80;
  font-size: 0.9rem;
  font-weight: 500;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  margin: 0;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f1f5fb 100%);
  color: #304257;
  line-height: 1.55;
  padding: 12px;
  overflow-wrap: anywhere;
}

body.woocommerce-order-received .woocommerce-customer-details address p {
  margin-bottom: 0;
}

body.woocommerce-order-received .avada-customer-details .customer_details {
  margin: 0;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f1f5fb 100%);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  align-items: start;
}

body.woocommerce-order-received .avada-customer-details .customer_details dt,
body.woocommerce-order-received .avada-customer-details .customer_details dd {
  display: block;
  margin: 0 !important;
}

body.woocommerce-order-received .avada-customer-details .customer_details dt {
  font-weight: 800;
  color: #2e4054;
}

body.woocommerce-order-received .avada-customer-details .customer_details dd {
  color: #43576e;
}

body.woocommerce-order-received .avada-customer-details .customer_details br {
  display: none !important;
}

@media (max-width: 1180px) {
  body.woocommerce-order-received .cs-cd-thanks-layout {
    grid-template-columns: 1fr;
  }

  body.woocommerce-order-received .cs-cd-thanks-left,
  body.woocommerce-order-received .cs-cd-thanks-right {
    gap: 14px;
  }

  body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.woocommerce-order-received .woocommerce-order-overview.woocommerce-thankyou-order-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-order-received .woocommerce-order-details > h2,
  body.woocommerce-order-received .avada-order-details > h2,
  body.woocommerce-order-received .woocommerce-customer-details > h2,
  body.woocommerce-order-received .avada-customer-details > h2,
  body.woocommerce-order-received .cs-cd-thanks-delivery > h2,
  body.woocommerce-order-received .woocommerce-cs-points-order .woocommerce-order-details__title,
  body.woocommerce-order-received .wc-bacs-bank-details-heading {
    font-size: 1.55rem;
  }

  body.woocommerce-order-received .cs-cd-thanks-delivery__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ===============================
   Mein-Konto / Bestelldetails
   =============================== */
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: start;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #d3e1d6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7fff8 0%, #eefaf0 100%);
  color: #1f5b30;
  box-shadow: 0 10px 22px rgba(31, 90, 49, 0.08);
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type mark {
  background: transparent;
  color: inherit;
  font-weight: 800;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
body.woocommerce-account.woocommerce-view-order .avada-customer-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details,
body.woocommerce-account.woocommerce-view-order .avada-order-downloads,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-downloads {
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  border: 1px solid var(--cs-cd-border) !important;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cs-cd-shadow);
  padding: 16px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details {
  grid-column: 1;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details {
  grid-column: 2;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details > h2,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details > h2,
body.woocommerce-account.woocommerce-view-order .avada-customer-details > h2,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details > h2,
body.woocommerce-account.woocommerce-view-order .avada-order-downloads > h2,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-downloads > h2 {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #d6dee8;
  color: #1f2e40;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-details,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads {
  width: 100%;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 8px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details th,
body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details td,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads th,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads td {
  border: 0 !important;
  padding: 12px 10px;
  vertical-align: middle;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details thead th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details thead th,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads thead th {
  color: #6a7686;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.79rem;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tbody tr td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody tr td,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads tbody tr td {
  background: #fff;
  border: 1px solid #e1e8f0 !important;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tbody tr td:first-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody tr td:first-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads tbody tr td:first-child {
  border-right: 0 !important;
  border-radius: 10px 0 0 10px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tbody tr td:last-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody tr td:last-child,
body.woocommerce-account.woocommerce-view-order .woocommerce-table--order-downloads tbody tr td:last-child {
  border-left: 0 !important;
  border-radius: 0 10px 10px 0;
  text-align: right;
  white-space: nowrap;
  font-weight: 700;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details .fusion-product-name-wrapper,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .fusion-product-name-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details .fusion-product-name-wrapper .product-thumbnail,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .fusion-product-name-wrapper .product-thumbnail {
  flex: 0 0 64px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details .fusion-product-name-wrapper .product-thumbnail img,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details .fusion-product-name-wrapper .product-thumbnail img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid #d7dfeb;
  object-fit: cover;
  background: #fff;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot th,
body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td {
  border: 0 !important;
  padding: 9px 8px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot th {
  width: 44%;
  text-align: left !important;
  color: #29384b;
  font-weight: 700;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot td {
  width: 56%;
  text-align: right !important;
  color: #1f2e40;
  font-weight: 700;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot tr.order-total th,
body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot tr.order-total td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total th,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total td {
  border-top: 1px solid #d7e0ea !important;
  padding-top: 14px;
}

body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tfoot tr.order-total td,
body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tfoot tr.order-total td {
  color: #bd1512;
  font-size: 1.2rem;
  font-weight: 900;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .customer_details,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .customer_details {
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbfe 0%, #f1f5fb 100%);
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  align-items: start;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .customer_details dt,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .customer_details dt {
  display: block;
  font-weight: 800;
  color: #2e4054;
  margin: 0 !important;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .customer_details dd,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .customer_details dd {
  display: block;
  margin: 0;
  color: #43576e;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .customer_details br,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .customer_details br {
  display: none !important;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses .col-1,
body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses .col-2,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .addresses .col-1,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .addresses .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  border: 1px solid #e2dacd;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-sizing: border-box;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses .title,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .woocommerce-column__title {
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid #e7dee0;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses .title h3,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .woocommerce-column__title {
  margin: 0;
  color: #1f2e40;
  font-size: 1.06rem;
  line-height: 1.2;
}

body.woocommerce-account.woocommerce-view-order .avada-customer-details address,
body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details address {
  margin: 0;
  font-style: normal;
  color: #43576e;
  line-height: 1.55;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > h2,
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > .woocommerce-OrderUpdates {
  grid-column: 1 / -1;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-OrderUpdates {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-OrderUpdates .woocommerce-OrderUpdate {
  margin: 0;
  border: 1px solid #e2dacd;
  border-radius: 12px;
  background: #fff;
  padding: 10px 12px;
}

@media (max-width: 1180px) {
  body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.woocommerce-view-order .avada-order-details,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details,
  body.woocommerce-account.woocommerce-view-order .avada-customer-details,
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details {
    grid-column: 1;
  }
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-view-order .avada-order-details > h2,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details > h2,
  body.woocommerce-account.woocommerce-view-order .avada-customer-details > h2,
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details > h2,
  body.woocommerce-account.woocommerce-view-order .avada-order-downloads > h2,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-downloads > h2 {
    font-size: 1.55rem;
  }

  body.woocommerce-account.woocommerce-view-order .avada-customer-details .addresses,
  body.woocommerce-account.woocommerce-view-order .woocommerce-customer-details .addresses {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account.woocommerce-view-order .avada-order-details table.shop_table.order_details tbody tr td:last-child,
  body.woocommerce-account.woocommerce-view-order .woocommerce-order-details table.shop_table.order_details tbody tr td:last-child {
    white-space: normal;
  }
}

/* ===============================
   Mein-Konto / WooDesign
   =============================== */
body.woocommerce-account {
  --cs-cd-bg: #ffffff;
  --cs-cd-card: #ffffff;
  --cs-cd-border: #ddd8cf;
  --cs-cd-text: #1f2a37;
  --cs-cd-muted: #5f5a51;
  --cs-cd-accent: #b70e0c;
  --cs-cd-accent-dark: #8e0b09;
  --cs-cd-shadow: 0 10px 28px rgba(36, 28, 18, 0.08);
  background: #fff !important;
}

body.woocommerce-account #main {
  background: #fff !important;
  background-image: none !important;
}

body.woocommerce-account #content,
body.woocommerce-account .post-content,
body.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce-MyAccount,
body.woocommerce-account .fusion-row,
body.woocommerce-account .fusion-fullwidth {
  background: #fff !important;
  background-image: none !important;
}

body.woocommerce-account #main,
body.woocommerce-account #content,
body.woocommerce-account .post-content,
body.woocommerce-account .woocommerce {
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-account .fusion-row,
body.woocommerce-account .fusion-builder-row {
  width: 100% !important;
  max-width: none !important;
}

/* Remove Avada builder borders/frames on My Account page (source of black frame). */
body.woocommerce-account .fusion-builder-container,
body.woocommerce-account .fusion_builder_container,
body.woocommerce-account .fusion-builder-row,
body.woocommerce-account .fusion_builder_row,
body.woocommerce-account .fusion-layout-column,
body.woocommerce-account .fusion_builder_column,
body.woocommerce-account .fusion-column-wrapper,
body.woocommerce-account .fusion-column-content-centered,
body.woocommerce-account .post-content > hr,
body.woocommerce-account .post-content > .wp-block-separator,
body.woocommerce-account .post-content > .fusion-separator {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Hard reset for Avada dynamic wrapper borders on the My Account page. */
body.page-id-16576.woocommerce-account #main,
body.page-id-16576.woocommerce-account #content,
body.page-id-16576.woocommerce-account .fusion-main-content-wrap,
body.page-id-16576.woocommerce-account .fusion-content-layout,
body.page-id-16576.woocommerce-account .fusion-content-layout-column,
body.page-id-16576.woocommerce-account .fusion-flex-container,
body.page-id-16576.woocommerce-account .fusion-flex-column,
body.page-id-16576.woocommerce-account .fusion-flex-column-wrapper,
body.page-id-16576.woocommerce-account .fusion-builder-container,
body.page-id-16576.woocommerce-account .fusion-builder-row,
body.page-id-16576.woocommerce-account [class*="fusion-builder-container-"],
body.page-id-16576.woocommerce-account [class*="fusion-builder-row-"],
body.page-id-16576.woocommerce-account [class*="fusion_builder_column-"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* FiboSearch details wrapper can render borders while open; remove on My Account only. */
body.woocommerce-account .dgwt-wcas-details-wrapp,
body.woocommerce-account .dgwt-wcas-suggestions-wrapp,
body.woocommerce-account .dgwt-wcas-suggestion,
body.woocommerce-account .dgwt-wcas-datails-title,
body.woocommerce-account .dgwt-wcas-details-title,
body.woocommerce-account .dgwt-wcas-details-more-products,
body.woocommerce-account a.dgwt-wcas-details-more-products {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.woocommerce-account .dgwt-wcas-suggestion:after,
body.woocommerce-account .dgwt-wcas-datails-title:after,
body.woocommerce-account .dgwt-wcas-details-title:after {
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-account .woocommerce {
  color: var(--cs-cd-text);
  display: grid !important;
  grid-template-columns: minmax(220px, 20%) minmax(0, 80%) !important;
  gap: 20px !important;
  align-items: start !important;
}

body.woocommerce-account .woocommerce > .avada-myaccount-user,
body.woocommerce-account .woocommerce > .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce > .woocommerce-message,
body.woocommerce-account .woocommerce > .woocommerce-info,
body.woocommerce-account .woocommerce > .woocommerce-error {
  grid-column: 1 / -1 !important;
}

body.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
}

body.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
  grid-column: 2 !important;
}

body.woocommerce-account .woocommerce > .cs-wd-myaccount-layout {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount,
body.woocommerce-account .woocommerce-MyAccount.cs-wd-myaccount {
  margin: 0;
  display: grid !important;
  grid-template-columns: minmax(220px, 20%) minmax(0, 80%) !important;
  gap: 20px;
  align-items: start;
}

body.woocommerce-account #main .woocommerce .woocommerce-MyAccount,
body.woocommerce-account #main .woocommerce .woocommerce-MyAccount.cs-wd-myaccount {
  display: grid !important;
  grid-template-columns: minmax(220px, 20%) minmax(0, 80%) !important;
  gap: 20px !important;
  align-items: start !important;
}

body.woocommerce-account .woocommerce-MyAccount > .cs-wd-myaccount-layout {
  grid-column: 1 / -1;
}

body.woocommerce-account .cs-wd-myaccount-layout {
  display: grid;
  grid-template-columns: minmax(220px, 20%) minmax(0, 80%) !important;
  gap: 20px;
  align-items: start;
}

body.woocommerce-account .woocommerce-MyAccount > .woocommerce-MyAccount-navigation,
body.woocommerce-account .cs-wd-myaccount-nav {
  grid-column: 1 !important;
}

body.woocommerce-account .woocommerce-MyAccount > .woocommerce-MyAccount-content,
body.woocommerce-account .cs-wd-myaccount-content {
  grid-column: 2 !important;
}

body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-navigation,
body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-content {
  width: auto !important;
  max-width: none !important;
}

body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-navigation {
  grid-column: 1 !important;
}

body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-content {
  grid-column: 2 !important;
}

body.woocommerce-account .cs-wd-myaccount-nav,
body.woocommerce-account .cs-wd-myaccount-content,
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .woocommerce .u-column1,
body.woocommerce-account .woocommerce .u-column2 {
  border: 1px solid var(--cs-cd-border);
  border-radius: 16px;
  background: var(--cs-cd-card);
  box-shadow: var(--cs-cd-shadow);
}

body.woocommerce-account .cs-wd-myaccount-nav,
body.woocommerce-account .woocommerce-MyAccount-navigation {
  padding: 14px;
  background: #fff;
  position: sticky;
  top: 110px;
}

body.woocommerce-account .cs-wd-myaccount-layout > .cs-wd-myaccount-nav,
body.woocommerce-account .cs-wd-myaccount-layout > .cs-wd-myaccount-content {
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.woocommerce-account .cs-wd-nav-toggle {
  display: none;
}

body.woocommerce-account.cs-wd-myaccount-loading .woocommerce-MyAccount-content {
  opacity: 0.62;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

body.woocommerce-account.cs-wd-myaccount-loading .woocommerce-MyAccount-navigation {
  pointer-events: none;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 8px;
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  margin: 0;
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #2f4156;
  font-weight: 650;
  line-height: 1.3;
  text-decoration: none;
  border: 1px solid #e1d9cc;
  background: #fff;
  box-shadow: 0 6px 12px rgba(45, 32, 18, 0.06);
  transition: all 0.16s ease;
  width: 100%;
  box-sizing: border-box;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation a:focus {
  background: #fff;
  border-color: #cfb89c;
  color: #3a2e1d;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(45, 32, 18, 0.12);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: linear-gradient(135deg, var(--cs-cd-accent) 0%, #d0221f 100%);
  color: #fff;
  border-color: transparent;
  border-radius: 12px;
  border-width: 0 !important;
  outline: 0 !important;
  box-shadow: 0 10px 20px rgba(183, 14, 12, 0.24);
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:before,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:after {
  content: none !important;
  display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:focus,
body.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:focus-visible {
  outline: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 20px rgba(183, 14, 12, 0.24) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.cs-wd-nav-logout a {
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #bc120f 0%, #e02b27 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(183, 14, 12, 0.24);
  font-weight: 700;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li.cs-wd-nav-logout a:hover,
body.woocommerce-account .woocommerce-MyAccount-navigation li.cs-wd-nav-logout a:focus {
  background: linear-gradient(135deg, #a90e0b 0%, #cf1f1b 100%);
  color: #fff;
  border-color: transparent;
}

body.woocommerce-account .cs-wd-myaccount-content,
body.woocommerce-account .woocommerce-MyAccount-content {
  padding: 20px;
  min-width: 0;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content,
body.woocommerce-account .cs-wd-myaccount-nav,
body.woocommerce-account .cs-wd-myaccount-content {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}

body.woocommerce-account .cs-wd-myaccount-nav .woocommerce-MyAccount-navigation,
body.woocommerce-account .cs-wd-myaccount-content .woocommerce-MyAccount-content {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box;
}

body.woocommerce-account .woocommerce-MyAccount-content > * {
  min-width: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > :first-child {
  margin-top: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content > h2,
body.woocommerce-account .woocommerce-MyAccount-content > h3,
body.woocommerce-account .woocommerce-MyAccount-content h2:first-child,
body.woocommerce-account .woocommerce-MyAccount-content h3:first-child {
  grid-column: 1 / -1;
  margin: 0 0 14px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dce4ef;
  color: #1f2e40;
  font-size: 1.65rem;
  line-height: 1.2;
}

body.woocommerce-account .woocommerce-MyAccount-content > p,
body.woocommerce-account .woocommerce-MyAccount-content > ul,
body.woocommerce-account .woocommerce-MyAccount-content > ol {
  margin: 0;
  border: 1px solid #e2dacd;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
  box-shadow: 0 8px 16px rgba(44, 31, 18, 0.06);
}

body.woocommerce-account .woocommerce-MyAccount-content > p:empty {
  display: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-content > form,
body.woocommerce-account .woocommerce-MyAccount-content > table,
body.woocommerce-account .woocommerce-MyAccount-content > div,
body.woocommerce-account .woocommerce-MyAccount-content > section,
body.woocommerce-account .woocommerce-MyAccount-content > article,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-error,
body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Addresses {
  grid-column: 1 / -1;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

/* Avada horizontal-tab mode override: force 20/80 on direct account columns only. */
body.woocommerce-account.woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-navigation,
body.woocommerce-account .woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-navigation {
  float: left !important;
  clear: left !important;
  width: 20% !important;
  margin: 0 !important;
}

body.woocommerce-account.woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-content,
body.woocommerce-account .woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-content {
  float: left !important;
  clear: none !important;
  width: 80% !important;
  margin: 0 !important;
  margin-left: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-content p {
  color: #44576d;
  line-height: 1.55;
}

body.woocommerce-account .woocommerce-MyAccount-content a {
  color: #1f4d7a;
}

body.woocommerce-account .woocommerce-MyAccount-content a:hover,
body.woocommerce-account .woocommerce-MyAccount-content a:focus {
  color: #163a5e;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  border: 1px solid #ddd8cf;
  border-left-width: 4px;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: none;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message {
  border-left-color: #1f7a39;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info {
  border-left-color: #2c6fb1;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-error,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
  border-left-color: #b31b1b;
}

body.woocommerce-account .woocommerce-MyAccount-content button.button,
body.woocommerce-account .woocommerce-MyAccount-content .button,
body.woocommerce-account .woocommerce form .button,
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"] {
  border: 0;
  border-radius: 10px;
  min-height: 44px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--cs-cd-accent) 0%, #d0221f 100%);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.16s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
body.woocommerce-account .woocommerce form .button:hover,
body.woocommerce-account .woocommerce-EditAccountForm button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--cs-cd-accent-dark) 0%, #ab1714 100%);
  box-shadow: 0 8px 18px rgba(183, 14, 12, 0.25);
}

body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
body.woocommerce-account .woocommerce-MyAccount-content select,
body.woocommerce-account .woocommerce-MyAccount-content textarea,
body.woocommerce-account .woocommerce form .form-row input.input-text,
body.woocommerce-account .woocommerce form .form-row textarea {
  border: 1px solid #d8d1c5;
  border-radius: 10px;
  min-height: 44px;
  background: #fff;
  color: #1f2a37;
  box-shadow: inset 0 1px 2px rgba(18, 42, 66, 0.03);
  transition: border-color 0.14s ease, box-shadow 0.14s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content input.cs-wd-readonly-field,
body.woocommerce-account .woocommerce form .form-row input.cs-wd-readonly-field {
  background: #f5f7fa;
  color: #516173;
  border-color: #d4dce6;
  box-shadow: none;
  cursor: not-allowed;
}

body.woocommerce-account .woocommerce-MyAccount-content input:focus,
body.woocommerce-account .woocommerce-MyAccount-content select:focus,
body.woocommerce-account .woocommerce-MyAccount-content textarea:focus,
body.woocommerce-account .woocommerce form .form-row input.input-text:focus,
body.woocommerce-account .woocommerce form .form-row textarea:focus {
  border-color: #d7a5a4;
  box-shadow: 0 0 0 3px rgba(183, 14, 12, 0.12);
  outline: 0;
}

body.woocommerce-account .woocommerce-MyAccount-content table,
body.woocommerce-account .woocommerce table.shop_table {
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100% !important;
}

body.woocommerce-account .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table td {
  border: 0 !important;
  padding: 12px 10px;
  vertical-align: middle;
}

body.woocommerce-account .woocommerce table.shop_table thead th {
  color: #6a7686;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.79rem;
}

body.woocommerce-account .woocommerce table.shop_table tbody tr td,
body.woocommerce-account .woocommerce table.shop_table tfoot tr td,
body.woocommerce-account .woocommerce table.shop_table tfoot tr th {
  background: #fff;
  border: 1px solid #e4ddd2 !important;
}

body.woocommerce-account .woocommerce table.shop_table tbody tr td:first-child,
body.woocommerce-account .woocommerce table.shop_table tfoot tr th:first-child,
body.woocommerce-account .woocommerce table.shop_table tfoot tr td:first-child {
  border-right: 0 !important;
  border-radius: 10px 0 0 10px;
}

body.woocommerce-account .woocommerce table.shop_table tbody tr td:last-child,
body.woocommerce-account .woocommerce table.shop_table tfoot tr th:last-child,
body.woocommerce-account .woocommerce table.shop_table tfoot tr td:last-child {
  border-left: 0 !important;
  border-radius: 0 10px 10px 0;
}

body.woocommerce-account .woocommerce .woocommerce-orders-table .button {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.87rem;
}

/* Orders endpoint: card list instead of table layout. */
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table {
  display: block !important;
  border: 0 !important;
  border-spacing: 0 !important;
  background: transparent !important;
  margin: 0 !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table thead {
  display: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 12px 14px;
  align-items: center;
  width: 100%;
  border: 1px solid #e2dacd !important;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(44, 31, 18, 0.06);
  padding: 14px;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr:hover,
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr:focus-within {
  transform: translateY(-1px);
  border-color: #d4c6b3 !important;
  box-shadow: 0 12px 24px rgba(44, 31, 18, 0.1);
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr td {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr th {
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  text-align: left;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr td::before {
  content: attr(data-title);
  color: #6a7686;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr th::before {
  content: attr(data-title);
  color: #6a7686;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-number a {
  color: #1d4f7c;
  font-weight: 800;
  text-decoration: none;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-number a:hover,
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-number a:focus {
  color: #123b60;
  text-decoration: underline;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-status {
  font-weight: 700;
  color: #344a62;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-total {
  display: flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  flex-wrap: wrap;
  gap: 0.25em 0.35em;
  font-weight: 700;
  color: #27374a;
  white-space: normal;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-total::before {
  flex: 0 0 100%;
  margin-bottom: 1px !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-total .cs-wd-order-total-main,
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-total .cs-wd-order-total-items {
  display: inline;
  white-space: nowrap;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-total .cs-wd-order-total-items {
  margin-left: 0;
  font-weight: 700;
  color: #344a62;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions {
  align-items: flex-end;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions .button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: static !important;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #1f4d7a !important;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions .button:hover,
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions .button:focus {
  color: #123b60 !important;
  text-decoration: underline;
  transform: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions .button::after,
body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions a::after {
  content: "\203A" !important;
  position: static !important;
  margin: 0 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  font-weight: 700;
}

body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-pagination {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-range {
  margin: 0;
  color: #5b6877;
  font-size: 0.94rem;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination {
  margin: 0;
  border: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination ul.page-numbers li {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  border: 0 !important;
  background: #f5f6f8;
  color: #2c4056;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: none !important;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination a.page-numbers:hover,
body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination a.page-numbers:focus {
  color: #183e62;
  background: #eceff3;
}

body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-pagination .page-numbers.current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cs-cd-accent) 0%, #d0221f 100%);
  color: #fff;
  box-shadow: 0 8px 16px rgba(183, 14, 12, 0.22);
}

body.woocommerce-account .woocommerce .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 460px));
  justify-content: center;
  gap: 20px;
  align-items: stretch;
  width: 100%;
  margin-top: 18px;
}

body.woocommerce-account .woocommerce .woocommerce-Addresses > .woocommerce-Address,
body.woocommerce-account .woocommerce .woocommerce-Addresses > .u-column1,
body.woocommerce-account .woocommerce .woocommerce-Addresses > .u-column2,
body.woocommerce-account .woocommerce .woocommerce-Addresses > .col-1,
body.woocommerce-account .woocommerce .woocommerce-Addresses > .col-2 {
  width: 100% !important;
  max-width: 460px;
  margin: 0 auto !important;
  float: none !important;
  min-width: 0 !important;
}

/* Address endpoint: keep only outer content card + the two address cards (remove middle wrapper frame). */
body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content > .woocommerce-Addresses {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-edit-address .woocommerce-MyAccount-content > p:first-child {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #e2dacd;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fbf8f3 100%);
  color: #5d6a78;
  box-shadow: 0 8px 16px rgba(44, 31, 18, 0.04);
}

body.woocommerce-account .woocommerce .woocommerce-Address {
  border: 1px solid #e2dacd;
  border-radius: 14px;
  background: #fff;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 10px 22px rgba(44, 31, 18, 0.07);
}

body.woocommerce-account .woocommerce .woocommerce-Address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px 10px;
  margin: 0;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #ece4d8;
}

body.woocommerce-account .woocommerce .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce .woocommerce-Address-title h3 {
  flex: 1 1 220px;
  min-width: 0;
  margin: 0;
  color: #1f2e40;
  font-size: 1.12rem;
  line-height: 1.2;
}

body.woocommerce-account .woocommerce .woocommerce-Address-title .edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 1 auto;
  max-width: 100%;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d4c0a7;
  background: #fff8ef;
  color: #704f33;
  font-weight: 700;
  font-size: 0.83rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: all 0.16s ease;
}

body.woocommerce-account .woocommerce .woocommerce-Address-title .edit:hover,
body.woocommerce-account .woocommerce .woocommerce-Address-title .edit:focus {
  background: #f7efe3;
  border-color: #c3a27f;
  color: #593b22;
  transform: translateY(-1px);
}

body.woocommerce-account .woocommerce .woocommerce-Address address {
  margin: 0;
  padding: 16px 18px 18px;
  color: #43576e;
  line-height: 1.55;
  font-style: normal;
}

body.woocommerce-account .woocommerce .woocommerce-Address address a {
  color: #1f4d7a;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

body.woocommerce-account:not(.logged-in) .woocommerce {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce > * {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 18px;
}

body.woocommerce-account:not(.logged-in) .woocommerce .u-column1 h2,
body.woocommerce-account:not(.logged-in) .woocommerce .u-column2 h2 {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #dce4ef;
  color: #1f2e40;
  font-size: 1.45rem;
}

body.woocommerce-account:not(.logged-in) .woocommerce form.login,
body.woocommerce-account:not(.logged-in) .woocommerce form.register {
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions {
    grid-column: 1 / -1;
    align-items: flex-start;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce .cs-wd-orders-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  body.woocommerce-account.woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-navigation,
  body.woocommerce-account.woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-content,
  body.woocommerce-account .woo-tabs-horizontal .woocommerce > .woocommerce-MyAccount-content {
    float: none !important;
    clear: both !important;
    width: 100% !important;
  }

  body.woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce > .woocommerce-MyAccount-content {
    grid-column: 1 !important;
  }

  body.woocommerce-account .woocommerce-MyAccount,
  body.woocommerce-account .woocommerce-MyAccount.cs-wd-myaccount,
  body.woocommerce-account .cs-wd-myaccount-layout {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-account #main .woocommerce .woocommerce-MyAccount,
  body.woocommerce-account #main .woocommerce .woocommerce-MyAccount.cs-wd-myaccount {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.woocommerce-account .cs-wd-myaccount-nav,
  body.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 12px;
    position: static;
    top: auto;
  }

  body.woocommerce-account .woocommerce-MyAccount > .woocommerce-MyAccount-navigation,
  body.woocommerce-account .woocommerce-MyAccount > .woocommerce-MyAccount-content,
  body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-navigation,
  body.woocommerce-account #main .woocommerce .woocommerce-MyAccount > .woocommerce-MyAccount-content,
  body.woocommerce-account .cs-wd-myaccount-nav,
  body.woocommerce-account .cs-wd-myaccount-content {
    grid-column: 1 !important;
  }

  body.woocommerce-account .woocommerce .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .cs-wd-myaccount-content,
  body.woocommerce-account .woocommerce-MyAccount-content {
    display: block;
  }
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table tbody tr {
    grid-auto-flow: row;
    grid-auto-columns: initial;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
  }

  body.woocommerce-account.woocommerce-orders .woocommerce .woocommerce-orders-table__cell-order-actions .button {
    width: auto;
  }

  body.woocommerce-account .cs-wd-myaccount-content {
    padding: 16px;
  }

  body.woocommerce-account .woocommerce-MyAccount-content > h2,
  body.woocommerce-account .woocommerce-MyAccount-content > h3,
  body.woocommerce-account .woocommerce-MyAccount-content h2:first-child,
  body.woocommerce-account .woocommerce-MyAccount-content h3:first-child {
    font-size: 1.4rem;
  }

  body.woocommerce-account:not(.logged-in) .woocommerce .u-columns {
    grid-template-columns: 1fr;
  }

  body.woocommerce-account .woocommerce table.shop_table_responsive tr td::before {
    color: #5d6a7a;
    font-weight: 700;
  }
}

@media (max-width: 520px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   View Order Hard Layout Override
   =============================== */
body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content {
  display: block !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type {
  margin: 0 0 16px !important;
}

body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > .cs-wd-view-order-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 20px !important;
  align-items: start !important;
  width: 100% !important;
}

body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left > *,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right > * {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  box-sizing: border-box !important;
}

body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left .avada-customer-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left .woocommerce-customer-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .avada-order-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .woocommerce-order-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .avada-order-downloads,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .woocommerce-order-downloads {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left .avada-customer-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left .woocommerce-customer-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-left .cs-cd-thanks-delivery {
  grid-column: auto !important;
}

body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .avada-order-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .woocommerce-order-details,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .avada-order-downloads,
body.woocommerce-account.woocommerce-view-order .cs-wd-view-order-right .woocommerce-order-downloads {
  grid-column: auto !important;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--cs-cd-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--cs-cd-shadow);
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery > h2 {
  margin: 0 0 16px;
  padding: 0 0 12px;
  border-bottom: 1px solid #d6dee8;
  color: #1f2e40;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__row {
  display: grid;
  grid-template-columns: minmax(130px, 34%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__label {
  color: #29384b;
  font-weight: 700;
  line-height: 1.35;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__value {
  color: #46576b;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__content p {
  margin: 0 0 8px;
  color: #46576b;
  line-height: 1.5;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__content p:last-child {
  margin-bottom: 0;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__content strong {
  color: #29384b;
  font-weight: 700;
}

body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__empty {
  margin: 0;
  color: #5f6e80;
}

@media (max-width: 1180px) {
  body.woocommerce-account.woocommerce-view-order .woocommerce-MyAccount-content > .cs-wd-view-order-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery > h2 {
    font-size: 1.55rem;
  }

  body.woocommerce-account.woocommerce-view-order .cs-cd-thanks-delivery__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
