/* Customer order progress (My Account and thank-you page). Uses the theme's colours when available. */
.em-progress{margin:0 0 28px;padding:18px 20px;border:1px solid var(--em-line,#e3dbe9);border-radius:12px;background:var(--em-paper,#faf8fc)}
.em-progress-title{margin:0 0 6px;font-size:1.1em}
.em-progress-headline{margin:0 0 14px}
.em-progress-steps{display:flex;flex-wrap:wrap;gap:8px 0;margin:0 0 6px;padding:0;list-style:none}
.em-progress-steps li{flex:1 1 110px;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;text-align:center;font-size:.9em;color:var(--em-sub,#625961)}
.em-progress-steps li+li::before{content:"";position:absolute;top:13px;right:50%;width:100%;height:2px;background:var(--em-line,#e3dbe9);z-index:0}
.em-progress-dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:2px solid var(--em-line,#e3dbe9);background:#fff;color:#fff;font-size:15px;font-weight:700}
.em-progress-steps li.is-done .em-progress-dot{background:var(--em-purple,#76528d);border-color:var(--em-purple,#76528d)}
.em-progress-steps li.is-done+li::before,.em-progress-steps li.is-current::before{background:var(--em-purple,#76528d)}
.em-progress-steps li.is-current .em-progress-dot{border-color:var(--em-purple,#76528d);box-shadow:0 0 0 4px color-mix(in srgb,var(--em-purple,#76528d) 20%,transparent)}
.em-progress-steps li.is-current,.em-progress-steps li.is-done{color:var(--em-charcoal,#382b40)}
.em-progress-steps li.is-current{font-weight:600}
/* "Order #… was placed on … and is currently …": WooCommerce wraps these in <mark>, which browsers highlight yellow. */
.woocommerce mark.order-number,.woocommerce mark.order-date,.woocommerce mark.order-status{background:transparent;color:inherit;padding:0}
/* My Account > Orders: the added Progress column narrows the table and the Ethereal theme lets table cells break
   anywhere, which squeezes columns down to a letter or two. Break only between words, keep short values, headings
   and prices on one line, and let several action buttons (Pay, View, Cancel) wrap instead of stretching the table.
   WooCommerce prints the order number cell as a <th>, so cells are matched by class, not tag. This file loads before
   the theme's, so selectors are stronger than the theme's own. */
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table :is(th,td){word-break:normal;overflow-wrap:normal;hyphens:none}
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table thead th,
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table .woocommerce-orders-table__cell-order-number,
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table .woocommerce-orders-table__cell-order-status,
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table .woocommerce-orders-table__cell-order-total .amount{white-space:nowrap}
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table .woocommerce-orders-table__cell-order-actions{white-space:normal}
body.woocommerce-account .woocommerce table.woocommerce-orders-table.shop_table .woocommerce-orders-table__cell-order-actions .button{margin:3px 2px}
/* V0.15.4: the theme's large serif heading style was overriding the title size. Phones list the steps vertically as
   compact 24px rows joined by a short line. Before, each step kept its 110px flex basis as its height, so four steps
   filled a whole phone screen; a row across does not fit five labels on small phones. */
.em-progress .em-progress-title{margin:0 0 6px!important;font-size:1.35rem!important;line-height:1.3!important;letter-spacing:normal!important}
@media (max-width:600px){
 .em-progress{padding:14px 12px}
 .em-progress .em-progress-title{font-size:1.15rem!important}
 .em-progress-headline{margin:0 0 12px;font-size:.95em}
 .em-progress-steps{flex-direction:column;flex-wrap:nowrap;gap:0}
 .em-progress-steps li{flex:none;flex-direction:row;align-items:center;gap:10px;padding:0 0 10px;text-align:left;font-size:14px;line-height:1.3}
 .em-progress-steps li:last-child{padding-bottom:0}
 .em-progress-steps li+li::before{top:-10px;left:11px;right:auto;width:2px;height:10px}
 .em-progress-dot{width:24px;height:24px;font-size:13px}
 .em-progress-steps li.is-current .em-progress-dot{box-shadow:0 0 0 3px color-mix(in srgb,var(--em-purple,#76528d) 20%,transparent)}
}

/* V0.13.4: product photo before each item in the customer's order details (EM_Order_Status::item_photo). */
.em-order-item{display:inline-flex;align-items:center;gap:12px;vertical-align:middle}
.em-order-item-photo{flex:0 0 auto;width:56px!important;height:56px!important;max-width:none!important;margin:0!important;object-fit:cover;border:1px solid color-mix(in srgb,var(--em-line,#e8e0e8) 76%,#fff);border-radius:10px;background:#fff}
.em-order-item-name{min-width:0}
@media(max-width:600px){.em-order-item{gap:10px}.em-order-item-photo{width:44px!important;height:44px!important;border-radius:8px}}
/* 0.89.1 Part orders: a half-filled dot for a step that is only partly done (its label says "Part ..." too, so it never relies on colour), and what is where, item by item */
.em-progress-steps li.is-part{color:var(--em-charcoal,#382b40);font-weight:600}
.em-progress-steps li.is-part .em-progress-dot{border-color:var(--em-purple,#76528d);background:linear-gradient(90deg,var(--em-purple,#76528d) 50%,#fff 50%)}
.em-progress-steps li.is-part::before{background:var(--em-purple,#76528d)}
.em-progress-steps li.is-part+li::before{background:repeating-linear-gradient(90deg,var(--em-purple,#76528d) 0 6px,transparent 6px 11px)}
.em-progress-parts{margin:14px 0 0;padding:12px 14px;list-style:none;border:1px dashed var(--em-purple,#76528d);border-radius:10px;background:#fff;font-size:.92em;line-height:1.5}
.em-progress-parts li{margin:0}
.em-progress-parts li+li{margin-top:6px}
@media(max-width:600px){.em-progress-steps li.is-part+li::before{background:repeating-linear-gradient(180deg,var(--em-purple,#76528d) 0 4px,transparent 4px 7px)}}