/* MyWoolbridge account/orders: one stylesheet for list and expanded order.
   Design: OpenPencil Desktop Active Orders 0:45889 and expanded frame 0:46119.
   This file replaces the prior account-orders.css, not an additional override. */
body.wb-account-page .wb-account-shell:has(.wb-account-orders) {
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
  padding-inline: 0;
}
body.wb-account-page .wb-account-orders {
  min-height: 780px;
  padding: 30px;
  background: #fbfbfb;
  border-radius: 16px;
  box-shadow: none;
}
body.wb-account-page .wb-account-orders .wb-account-section-title {
  margin: 0 0 20px;
  color: #1b1b1b;
  font-size: 20px;
  font-weight: 600;
  line-height: 32px;
}
body.wb-account-page .wb-account-orders__list {
  display: grid;
  gap: 20px;
  padding: 30px;
  min-width: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
}
body.wb-account-page .wb-account-orders .wb-account-order {
  position: relative;
  min-width: 0;
  min-height: 146px;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: #fbfbfb;
  box-shadow: none;
  transition: background-color 180ms ease;
}
body.wb-account-page .wb-account-orders .wb-account-order__toggle {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  pointer-events: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #b5b5b5;
  visibility: visible;
  opacity: 1;
}
body.wb-account-page .wb-account-orders .wb-account-order__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-right: 0;
  min-width: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order__header {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  box-shadow: none;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
body.wb-account-page .wb-account-orders .wb-account-order__header:focus-visible {
  outline: 2px solid #ef8bb8;
  outline-offset: 5px;
  border-radius: 8px;
}
body.wb-account-page .wb-account-orders .wb-account-order__toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
  transition: transform 300ms ease;
}
body.wb-account-page .wb-account-orders .wb-account-order.is-open .wb-account-order__toggle svg {
  transform: rotate(0deg);
}
@media (hover: hover) {
  body.wb-account-page .wb-account-orders .wb-account-order:not(.is-open):hover {
    background-color: #f4f4f4;
  }
}
body.wb-account-page .wb-account-orders .wb-account-order__main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}
body.wb-account-page .wb-account-orders .wb-account-order__main h3 {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 12px;
  color: #f397c1;
  font-size: 24px;
  font-weight: 700;
  line-height: 28px;
}
body.wb-account-page .wb-account-orders .wb-account-order__main h3 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 18px;
  padding: 2px 7px;
  color: #fff;
  background: #f397c1;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
}
body.wb-account-page .wb-account-orders .wb-account-order__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 94px;
  margin: 0 0 12px;
}
body.wb-account-page .wb-account-orders .wb-account-order__meta strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-order__track {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #202020;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-order__track-icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1.4px solid #bdbdc2;
  border-radius: 50%;
  color: #9b9ba0;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: middle;
}
body.wb-account-page .wb-account-orders .wb-account-order__badges {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 0 1 auto;
  padding: 48px 28px 0 0;
  max-width: none;
}
body.wb-account-page .wb-account-orders .wb-account-order-statuses {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
body.wb-account-page .wb-account-orders .wb-account-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 138px;
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  text-transform: uppercase;
}
body.wb-account-page .wb-account-orders .wb-account-order-status--payment-unpaid {
  background-color: #ffeded;
  color: #f4434e;
}
body.wb-account-page .wb-account-orders .wb-account-order-status--payment-paid {
  background-color: #d8ffea;
  color: #147c4c;
}
body.wb-account-page .wb-account-orders .wb-account-order-status--payment-unknown {
  background-color: #f1f1f1;
  color: #626262;
}
body.wb-account-page .wb-account-orders .wb-account-order-status--shipping {
  background-color: #ede2ff;
  color: #9275be;
}
body.wb-account-page .wb-account-orders .wb-account-order-status--cancelled {
  background-color: #f1f1f1;
  color: #626262;
}
body.wb-account-page .wb-account-orders .msps-customer-order-summary,
body.wb-account-page .wb-account-orders .msps-customer-product-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge,
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 138px;
  min-height: 48px;
  padding: 11px 14px;
  border: 0;
  border-radius: 16px;
  background-color: #eee2ff;
  color: #9b80bf;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  white-space: normal;
  text-align: center;
  text-transform: uppercase;
}
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge {
  min-width: 0;
  min-height: 38px;
  padding: 9px 20px;
  font-size: 14px;
  line-height: 20px;
}
body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge.wb-account-status--unpaid,
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge.wb-account-status--unpaid {
  background-color: #ffeded;
  color: #ff414b;
}
body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge.wb-account-status--paid,
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge.wb-account-status--paid,
body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge.wb-account-status--delivered,
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge.wb-account-status--delivered {
  background-color: #d8ffea;
  color: #147c4c;
}
body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge.wb-account-status--cancelled,
body.wb-account-page .wb-account-orders .msps-customer-product-status .badge.wb-account-status--cancelled {
  background-color: #f1f1f1;
  color: #626262;
}
/* Show payment state first as in the account orders design; keep data unchanged. */
body.wb-account-page .wb-account-orders .msps-customer-order-summary > .wb-account-status--unpaid,
body.wb-account-page .wb-account-orders .msps-customer-order-summary > .wb-account-status--paid {
  order: -1;
}
body.wb-account-page .wb-account-orders .wb-account-order__details {
  padding-top: 30px;
  min-width: 0;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: height 360ms cubic-bezier(.22,.61,.36,1),
    opacity 300ms ease,
    transform 360ms cubic-bezier(.22,.61,.36,1);
}
body.wb-account-page .wb-account-orders .wb-account-order.is-open .wb-account-order__details {
  opacity: 1;
  transform: translateY(0);
}
body.wb-account-page .wb-account-orders .wb-account-order-info { padding: 0; }
body.wb-account-page .wb-account-orders .wb-account-order-info__grid {
  display: grid;
  grid-template-columns: minmax(0, 320.5fr) minmax(0, 320.5fr) minmax(0, 348fr);
  column-gap: 30px;
  row-gap: 24px;
  align-items: start;
  margin: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-info__grid > * {
  min-width: 0;
  width: auto;
  max-width: none;
  padding: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-info__section { margin: 0; }
body.wb-account-page .wb-account-orders .wb-account-order-info__section h4 {
  margin: 0 0 11px;
  color: #1b1b1b;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}
body.wb-account-page .wb-account-orders .wb-account-order-info__recipient > h4:not(:first-child) {
  margin-top: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-details-list {
  display: grid;
  gap: 16px;
  margin: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-info__recipient .wb-account-details-list:first-of-type { gap: 8px; }
body.wb-account-page .wb-account-orders .wb-account-details-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  background: transparent;
}
body.wb-account-page .wb-account-orders .wb-account-details-list dt {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
body.wb-account-page .wb-account-orders .wb-account-details-list dd {
  min-width: 0;
  margin: 0;
  color: #262626;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  overflow-wrap: normal;
  word-break: normal;
}
body.wb-account-page .wb-account-orders .wb-account-details-list__empty dd {
  color: #929292;
}
body.wb-account-page .wb-account-orders .wb-account-order-aside {
  display: grid;
  align-content: start;
  gap: 10px;
  width: calc(100% - 58px);
  max-width: none;
  margin: 0 0 0 58px;
}
body.wb-account-page .wb-account-orders .wb-account-order-total,
body.wb-account-page .wb-account-orders .wb-account-order-terms {
  box-sizing: border-box;
  width: 100%;
  padding: 20px 30px;
  border-radius: 16px;
}
body.wb-account-page .wb-account-orders .wb-account-order-total { background: #fff; }
body.wb-account-page .wb-account-orders .wb-account-order-total h4,
body.wb-account-page .wb-account-orders .wb-account-order-terms h4 {
  margin: 0 0 14px;
  color: #1b1b1b;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}
body.wb-account-page .wb-account-orders .wb-account-order-total dl { display: grid; gap: 14px; margin: 0; }
body.wb-account-page .wb-account-orders .wb-account-order-total dl > div { display: block; }
body.wb-account-page .wb-account-orders .wb-account-order-total dt {
  margin: 0;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}
body.wb-account-page .wb-account-orders .wb-account-order-total dd,
body.wb-account-page .wb-account-orders .wb-account-order-terms p {
  margin: 4px 0 0;
  color: #535353;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-order-total__result dd {
  margin-top: 4px;
  color: #1b1b1b;
  font-size: 34px;
  font-weight: 700;
  line-height: 50px;
  white-space: nowrap;
}
body.wb-account-page .wb-account-orders .wb-account-order-terms {
  background: #ffeef5;
}
body.wb-account-page .wb-account-orders .wb-account-order-terms h4 { margin-bottom: 6px; }
body.wb-account-page .wb-account-orders .wb-account-order-terms p { margin: 0; color: #1b1b1b; }
body.wb-account-page .wb-account-orders .wb-account-order-terms__tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 16px;
  background: #ef85b5;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}
body.wb-account-page .wb-account-orders .wb-account-order.is-open {
  background: #fbfbfb;
}
body.wb-account-page .wb-account-orders .wb-account-order-products {
  margin: 26px -16px -16px;
  padding: 20px 16px 16px;
  background: transparent;
  border: 0;
  border-radius: 0 0 16px 16px;
}
body.wb-account-page .wb-account-orders .wb-account-order-products__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1b1b1b;
  font: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
  text-align: left;
  cursor: pointer;
}
body.wb-account-page .wb-account-orders .wb-account-order-products__title:focus-visible {
  outline: 2px solid #ef8bb8;
  outline-offset: 4px;
  border-radius: 4px;
}
body.wb-account-page .wb-account-orders .wb-account-order-products__toggle {
  display: grid;
  flex: 0 0 24px;
  place-items: center;
  width: 24px;
  height: 24px;
  pointer-events: none;
  visibility: visible;
  opacity: 1;
}
body.wb-account-page .wb-account-orders .wb-account-order-products__toggle svg {
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
  transition: transform 300ms ease;
}
body.wb-account-page .wb-account-orders .wb-account-order-products.is-open .wb-account-order-products__toggle svg {
  transform: rotate(0deg);
}
body.wb-account-page .wb-account-orders .wb-account-order-products__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
  height: 0;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  opacity: 0;
  transform: translateY(-8px);
  transition: height 360ms ease, opacity 360ms ease, transform 360ms ease;
}
body.wb-account-page .wb-account-orders .wb-account-order-products.is-open .wb-account-order-products__list {
  margin-top: 20px;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-bottom: 20px;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry:last-child {
  margin-bottom: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry__status {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}
body.wb-account-page .wb-account-orders .wb-account-product-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 38px;
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  border-radius: 16px;
  background: #ede2ff;
  color: #9275be;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
}
body.wb-account-page .wb-account-orders .wb-account-product-status--processing {
  background: #ede2ff;
  color: #9275be;
}
body.wb-account-page .wb-account-orders .wb-account-product-status--payment-unpaid {
  background: #ffeded;
  color: #ff414b;
}
body.wb-account-page .wb-account-orders .wb-account-product-status--payment-paid {
  background: #d8ffea;
  color: #147c4c;
}
body.wb-account-page .wb-account-orders .wb-account-product-status--payment-unknown,
body.wb-account-page .wb-account-orders .wb-account-product-status--cancelled {
  background: #f5f5f5;
  color: #626262;
}
body.wb-account-page .wb-account-orders .wb-account-product-status--delivery {
  background: #ede2ff;
  color: #9275be;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry__items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dfdfdf;
  border-radius: 14px;
  background: #fff;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry__items > .wb-account-product + .wb-account-product {
  margin-top: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry__items > .wb-account-product:not(:first-child) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
body.wb-account-page .wb-account-orders .wb-account-order-product-entry__items > .wb-account-product:not(:last-child) {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
body.wb-account-page .wb-account-orders .wb-account-product--order {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) minmax(140px, max-content);
  gap: 10px;
  align-items: start;
  box-sizing: border-box;
  min-width: 0;
  min-height: 200px;
  padding: 20px;
  border: 0;
  border-radius: 0;
  background: #fff;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__gallery {
  min-width: 0;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__gallery .wb-account-product__media:not(:first-child) {
  display: none;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media--missing {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media {
  width: 124px;
  height: 124px;
  overflow: hidden;
  border-radius: 12px;
  background: #f7f7f7;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__content {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__articul {
  color: #b3b3b3;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__title {
  margin: 2px 0 8px;
  color: #1b1b1b;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__options span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 24px;
  padding: 4px 8px;
  border: 1px solid #aaa;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count--order {
  margin-top: auto;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count,
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__price-col .wb-account-product-price {
  align-items: flex-end;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count > span,
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-price > span {
  color: #535353;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count strong,
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-price strong {
  color: #1b1b1b;
  font-size: 24px;
  font-weight: 700;
  line-height: 36px;
}
body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__price-col {
  min-width: 0;
  align-self: end;
  justify-self: end;
  text-align: right;
}
body.wb-account-page .wb-account-orders .wb-account-order__details[hidden],
body.wb-account-page .wb-account-orders .wb-account-order-products__list[hidden] {
  display: none;
}
@media (max-width: 1199.98px) {
  body.wb-account-page .wb-account-orders .wb-account-order-info__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-aside {
    grid-column: 1 / -1;
    width: 100%;
    margin-left: 0;
  }
}
@media (max-width: 991.98px) {
  body.wb-account-page .wb-account-orders { padding: 20px; min-height: 0; }
  body.wb-account-page .wb-account-orders__list { padding: 20px; }
  body.wb-account-page .wb-account-orders .wb-account-order__badges { padding-top: 44px; }
}
@media (max-width: 767.98px) {
  body.wb-account-page .wb-account-shell:has(.wb-account-orders) {
    width: 100%;
    max-width: 100%;
    padding-inline: 0;
  }
  body.wb-account-page .wb-account-shell:has(.wb-account-orders) .wb-account-panels {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
  }
  body.wb-account-page .wb-account-orders {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 14px;
    border-radius: 16px;
    background: #fbfbfb;
  }
  body.wb-account-page .wb-account-orders .wb-account-section-title {
    margin: 0 0 15px;
    padding: 0;
    color: #1b1b1b;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
  }
  body.wb-account-page .wb-account-orders__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    min-width: 0;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
  }
  body.wb-account-page .wb-account-orders .wb-account-order,
  body.wb-account-page .wb-account-orders .wb-account-order.is-open {
    box-sizing: border-box;
    min-width: 0;
    min-height: 0;
    padding: 16px 14px;
    border: 0;
    border-radius: 16px;
    background: #fbfbfb;
    box-shadow: none;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
    min-width: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__main {
    display: contents;
    max-width: none;
    padding-right: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__main h3 {
    order: 1;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding-right: 30px;
    color: #f397c1;
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__main h3 > span {
    flex: 0 0 auto;
    min-width: 34px;
    height: 18px;
    padding: 2px 7px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__meta {
    display: flex !important;
    order: 2;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__meta strong {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    white-space: nowrap;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__badges {
    display: flex !important;
    order: 3;
    align-items: stretch;
    justify-content: stretch;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-statuses,
  body.wb-account-page .wb-account-orders .msps-customer-order-summary {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-status,
  body.wb-account-page .wb-account-orders .msps-customer-order-summary .badge {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__track {
    display: flex;
    order: 4;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    margin: 0;
    color: #1b1b1b;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    overflow-wrap: anywhere;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__track-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order__details {
    min-width: 0;
    padding-top: 20px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-info__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-info__section h4 {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
  }
  body.wb-account-page .wb-account-orders .wb-account-details-list {
    gap: 8px;
  }
  body.wb-account-page .wb-account-orders .wb-account-details-list dd {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    overflow-wrap: anywhere;
  }
  body.wb-account-page .wb-account-orders .wb-account-details-list dt {
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-aside {
    grid-column: auto;
    width: 100%;
    margin: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-total,
  body.wb-account-page .wb-account-orders .wb-account-order-terms {
    padding: 20px 14px;
    border-radius: 16px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-products {
    min-width: 0;
    margin: 20px -14px -16px;
    padding: 20px 14px 16px;
    background: #fff;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-products__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 27px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-products__list {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
    gap: 12px;
  }
  body.wb-account-page .wb-account-orders .wb-account-order-product-entry__items {
    grid-template-columns: minmax(0, 1fr);
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 10px;
    min-width: 0;
    min-height: 0;
    padding: 12px;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media-col {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin-bottom: 4px;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__content {
    display: contents;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__articul,
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__options {
    grid-column: 1 / -1;
    min-width: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count--order {
    grid-column: 1;
    min-width: 0;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__gallery {
    display: flex;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__gallery::-webkit-scrollbar {
    display: none;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__gallery .wb-account-product__media {
    display: block;
    flex: 0 0 94px;
    scroll-snap-align: start;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media--missing {
    width: 94px;
    height: 94px;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__media {
    width: 94px;
    height: 94px;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__price-col {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__title {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    margin: 2px 0 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: manual;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-count strong,
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product-price strong {
    font-size: 16px;
    line-height: 24px;
  }
  body.wb-account-page .wb-account-orders .wb-account-product--order .wb-account-product__options span {
    font-size: 12px;
  }
}
@media (max-width: 359.98px) {
  body.wb-account-page .wb-account-orders .wb-account-order__main h3 {
    font-size: 20px;
    line-height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.wb-account-page .wb-account-orders .wb-account-order,
  body.wb-account-page .wb-account-orders .wb-account-order__details,
  body.wb-account-page .wb-account-orders .wb-account-order__toggle svg,
  body.wb-account-page .wb-account-orders .wb-account-order-products__title svg,
  body.wb-account-page .wb-account-orders .wb-account-order-products__list {
    transition: none;
  }
}

/* The same empty-state component is used by active and archived orders. */
body.wb-account-page .wb-account-orders:has(> .wb-account-orders-empty) {
  min-height: 0;
}
body.wb-account-page .wb-account-orders .wb-account-orders-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  min-height: 480px;
  margin: 0;
  padding: 48px 24px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
body.wb-account-page .wb-account-orders .wb-account-orders-empty__image {
  display: block;
  width: min(280px, 100%);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}
body.wb-account-page .wb-account-orders .wb-account-orders-empty__message {
  max-width: 420px;
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
}
@media (max-width: 767.98px) {
  body.wb-account-page .wb-account-orders .wb-account-orders-empty {
    gap: 14px;
    min-height: 300px;
    padding: 32px 16px;
  }
  body.wb-account-page .wb-account-orders .wb-account-orders-empty__image {
    width: min(220px, 100%);
  }
  body.wb-account-page .wb-account-orders .wb-account-orders-empty__message {
    font-size: 14px;
    line-height: 20px;
  }
}

/* Checkout SVG icons: direct image rendering, safe for both MODX snippet versions.
   The legacy markup contains inline SVG; the current markup has a data attribute.
   Never paint the whole icon container: that caused solid 24px squares when
   old HTML was served with the newer CSS. */
body.wb-account-page .wb-account-orders .wb-account-details-list > .wb-account-order-detail-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
  align-items: start;
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt {
  display: block;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  margin: 0;
  align-self: start;
  box-sizing: border-box;
  background-color: transparent;
  background-image: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px 24px;
  -webkit-mask: none;
  mask: none;
  filter: brightness(0) invert(70.2%);
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt > .wb-account-order-detail-icon {
  display: none;
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="user"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Получатель"] {
  background-image: url('../images/checkout-v58/person.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="phone"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Телефон"] {
  background-image: url('../images/checkout-v58/phone.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="mail"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Почта"] {
  background-image: url('../images/checkout-v58/email.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="calendar"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Дата рождения"] {
  background-image: url('../images/checkout-v58/date.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="payment"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Способ оплаты"] {
  background-image: url('../images/checkout-v58/payment.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="delivery"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Способ доставки"] {
  background-image: url('../images/checkout-v58/delivery.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="country"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Страна"] {
  background-image: url('../images/checkout-v62/globe.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="city"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Город"] {
  background-image: url('../images/checkout-v62/city.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="address"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Адрес"] {
  background-image: url('../images/checkout-v58/address.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="index"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Индекс"] {
  background-image: url('../images/checkout-v58/index.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="time"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="График работы ПВЗ"] {
  background-image: url('../images/checkout-v62/time.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[data-wb-order-icon="comment"],
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Комментарий к заказу"] {
  background-image: url('../images/checkout-v58/comment.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Регион"] {
  background-image: url('../images/checkout-v62/city.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row > dt[aria-label="Отслеживание"] {
  background-image: url('../images/checkout-v58/delivery.svg');
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row dd {
  min-width: 0;
  min-height: 24px;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  align-items: baseline;
  gap: 4px 12px;
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row__label {
  flex: 0 0 100%;
  color: #1b1b1b;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}
body.wb-account-page .wb-account-orders .wb-account-order-detail-row__value {
  display: inline;
  color: #535353;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  overflow-wrap: anywhere;
}
body.wb-account-page .wb-account-orders a.wb-account-order-action-link {
  display: inline-flex;
  align-self: baseline;
  width: fit-content;
  color: #f397c1;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body.wb-account-page .wb-account-orders a.wb-account-order-action-link:hover,
body.wb-account-page .wb-account-orders a.wb-account-order-action-link:focus-visible { color: #dd679e; }
body.wb-account-page .wb-account-orders .wb-account-order-total__discount dd { color: #f397c1; }

@media (max-width: 767.98px) {
  body.wb-account-page .wb-account-orders .wb-account-order-total,
  body.wb-account-page .wb-account-orders .wb-account-order-terms { padding: 20px; }
  body.wb-account-page .wb-account-orders .wb-account-order-total__result dd { font-size: 28px; line-height: 38px; }
}
