.hg-orders{max-width:1100px;margin:0 auto;padding:32px 16px 100px}.hg-orders-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.hg-orders-top small{font-size:11px;letter-spacing:.1em;color:#946778}.hg-orders h1{color:#63243e;margin:3px 0;font-size:clamp(28px,4vw,40px)}.hg-orders-top p,.hg-orders-empty p{color:#886d77;font-size:13px}.hg-orders-top>a,.hg-orders-empty>a{color:#65223e;font-weight:700}.hg-orders-empty,.hg-order{border:1px solid #e7d1d0;border-radius:13px;background:#fff;padding:18px 20px;margin:16px 0}.hg-order-heading{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ebdddb;padding-bottom:12px}.hg-order-heading>div>strong,.hg-order-heading>strong{color:#61243e}.hg-order-heading p{font-size:12px;color:#927480;margin:5px 0 0}.hg-new{font-size:11px;padding:4px 7px;background:#e5f5e9;color:#306c44;border-radius:7px}.hg-order-store{padding:13px 0;border-bottom:1px solid #f4eded}.hg-order-store-title{display:flex;gap:8px;justify-content:space-between;margin-bottom:8px;color:#60243e}.hg-order-store-title span{font-size:12px;color:#896e78}.hg-order-line{display:flex;justify-content:space-between;gap:14px;font-size:13px;padding:5px 0}.hg-order-line strong{white-space:nowrap}.hg-order-footnote{color:#967780;font-size:12px;margin:12px 0 0}@media(max-width:650px){.hg-orders{padding:22px 12px 100px}.hg-orders-top{align-items:start;flex-direction:column}.hg-order-store-title{flex-direction:column}.hg-order-line{font-size:12px}}

/* R46 U10 – whole-order cancellation at the bottom of each order card. */
.hg-order-cancel-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px;padding-top:18px;border-top:1px solid #ecdcdd}
.hg-order-cancel-timer{font-size:13px;color:#65253e}.hg-order-cancel-footer>.hg-order-cancel-open{margin-left:auto;min-width:150px;justify-content:center}
.hg-order-cancel-expired{font-size:13px;color:#8a5168;margin-top:14px}.hg-order-cancel-expired[hidden],.hg-order-cancel-footer[hidden],.hg-order-cancel-other[hidden]{display:none!important}
.hg-order-cancel-dialog{width:min(94vw,480px);max-width:480px;max-height:min(90dvh,750px);overflow-y:auto;padding:0;border:1px solid #e3cdd1;border-radius:17px;background:#fffdfc;color:#39242f;box-shadow:0 18px 70px rgba(42,16,29,.23)}
.hg-order-cancel-dialog::backdrop{background:rgba(28,12,22,.55);backdrop-filter:blur(2px)}
.hg-order-cancel-dialog-inner{padding:clamp(18px,3vw,28px)}.hg-order-cancel-dialog-head{display:flex;align-items:start;justify-content:space-between;gap:12px}
.hg-order-cancel-dialog-head h2{font:700 clamp(21px,4vw,27px)/1.2 system-ui,sans-serif;color:#60243e;margin:0}
.hg-order-cancel-close{width:36px;height:36px;border:1px solid #e7d6d8;border-radius:9px;background:#fff;color:#65253e;font-size:24px;line-height:1;cursor:pointer}
.hg-order-cancel-help{color:#76616b;font-size:14px;line-height:1.55;margin:12px 0 21px}.hg-order-cancel-label{display:block;color:#502c3c;font-size:13px;font-weight:700;margin-bottom:8px}
.hg-order-cancel-select,.hg-order-cancel-other textarea{display:block;width:100%;box-sizing:border-box;min-height:45px;padding:11px 12px;border:1px solid #d9c2c9;border-radius:9px;background:#fff;color:#33252e;font:inherit;font-size:14px}
.hg-order-cancel-other{margin-top:18px}.hg-order-cancel-other textarea{resize:vertical;min-height:90px}.hg-order-cancel-warning{color:#8d5f70;font-size:12px;margin:18px 0}
.hg-order-cancel-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}.hg-order-cancel-dialog-actions button{min-height:44px;padding:10px 15px;border:1px solid #d8bac7;border-radius:9px;font-size:13px;font-weight:700;cursor:pointer}
.hg-order-cancel-keep{background:#fff;color:#62263f}.hg-order-cancel-confirm{background:#63233f;color:#fff;border-color:#63233f!important}.hg-order-cancel-confirm:disabled{opacity:.65;cursor:wait}
.hg-order-cancel-dialog :focus-visible,.hg-order-cancel-open:focus-visible{outline:3px solid #b47c9a;outline-offset:2px}
@media(max-width:650px){.hg-order-cancel-footer{align-items:stretch;flex-direction:column}.hg-order-cancel-footer>.hg-order-cancel-open{width:100%;margin-left:0}.hg-order-cancel-dialog-actions{flex-direction:column-reverse}.hg-order-cancel-dialog-actions button{width:100%}}

/* R46 U11: compact, paginated customer order list and accessible detail page. */
.hg-u11-list{padding:18px 20px}.hg-u11-pricebox{display:flex;align-items:flex-end;flex-direction:column;gap:6px}
.hg-u11-pricebox>strong{color:#65233e;white-space:nowrap}.hg-u11-status{font-size:12px;padding:4px 9px;border-radius:20px;background:#edf4ef;color:#2f7046;font-weight:700;text-align:right}
.hg-u11-status.is-cancelled{background:#fff0f1;color:#a12d48}.hg-u11-list-main{display:flex;gap:16px;align-items:center;padding:18px 0 12px}
.hg-u11-images{display:flex;flex-shrink:0;align-items:center;gap:5px}.hg-u11-images img,.hg-u11-photo-fallback{width:64px;height:64px;object-fit:cover;border:1px solid #e7d8d4;border-radius:10px;background:#f5eae5;display:inline-flex;align-items:center;justify-content:center;color:#7d4a60;font-size:11px;font-weight:700;text-align:center;line-height:1.25}
.hg-u11-photo-fallback[hidden]{display:none}.hg-u11-images img[hidden],.hg-u11-detail-item img[hidden]{display:none}
.hg-u11-list-info{display:flex;flex-direction:column;gap:6px;min-width:0}.hg-u11-list-info strong{color:#5e2b41;font-size:14px}.hg-u11-list-info span{color:#967780;font-size:12px}
.hg-u11-actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex-wrap:wrap;margin-top:12px;border-top:1px solid #f0e1dd;padding-top:14px}
.hg-u11-actions>.hg-action-cta,.hg-u11-pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;border-radius:9px;padding:10px 18px;text-decoration:none;font-size:13px;font-weight:750;cursor:pointer}
.hg-u11-actions>.hg-u11-view{background:#fff;color:#62253e;border:1px solid #cfacba}.hg-u11-actions>.hg-order-cancel-open{border:0;background:#63233f;color:#fff}
.hg-u11-timer{margin-top:9px;text-align:right;color:#854b63}.hg-u11-timer[hidden]{display:none}.hg-u11-pagination{display:flex;justify-content:center;align-items:center;gap:16px;margin:28px 0 5px;flex-wrap:wrap}
.hg-u11-pagination a{background:#63243e;color:#fff}.hg-u11-pagination span{font-size:13px;color:#7b5a6a}
.hg-u11-detail .hg-order-heading{margin-bottom:17px}.hg-u11-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 24px}
.hg-u11-summary-grid>div{background:#fbf6f3;border-radius:10px;padding:13px;display:flex;flex-direction:column;gap:7px;min-width:0}
.hg-u11-summary-grid small{color:#937787;font-size:12px}.hg-u11-summary-grid strong{font-size:13px;color:#4b2e3c;overflow-wrap:anywhere}
.hg-u11-section-title{font-size:17px;color:#5d263d;margin:18px 0 12px}.hg-u11-store{margin-bottom:12px;border:1px solid #eedfdb;border-radius:11px;padding:16px}
.hg-u11-store-heading{display:flex;justify-content:space-between;gap:10px;font-size:13px}.hg-u11-store-heading span{color:#977989;font-size:12px}.hg-u11-stage{font-size:12px;color:#785166}
.hg-u11-detail-item{display:grid;grid-template-columns:70px minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid #f0e8e5}
.hg-u11-detail-item img,.hg-u11-detail-item .hg-u11-photo-fallback{width:66px;height:66px}.hg-u11-detail-item>div{min-width:0;font-size:13px}.hg-u11-detail-item p{margin:7px 0 4px;font-size:12px;color:#91707e}.hg-u11-detail-item small{color:#967888}.hg-u11-detail-item>strong{white-space:nowrap;color:#61243e;font-size:13px}
.hg-u11-bill,.hg-u11-address{background:#fbf7f4;padding:14px 18px;border-radius:11px;margin:20px 0}.hg-u11-bill>div{display:flex;justify-content:space-between;gap:14px;padding:8px 0;font-size:13px}.hg-u11-bill .hg-u11-total{border-top:1px solid #e4d5d3;margin-top:6px;padding-top:15px;color:#5e1c3e;font-weight:800}
.hg-u11-bill p,.hg-u11-address p{font-size:12px;color:#8f7180;line-height:1.6}.hg-u11-cancel-note{background:#fff0f1;color:#a12d48;padding:12px;border-radius:8px;font-size:13px}
@media(max-width:650px){.hg-u11-list{padding:14px}.hg-u11-images img,.hg-u11-photo-fallback{width:45px;height:45px}.hg-u11-images{gap:3px}.hg-u11-list-main{gap:10px}.hg-u11-summary-grid{grid-template-columns:1fr 1fr}.hg-u11-detail-item{grid-template-columns:54px minmax(0,1fr);gap:10px}.hg-u11-detail-item img,.hg-u11-detail-item .hg-u11-photo-fallback{width:51px;height:51px}.hg-u11-detail-item>strong{grid-column:2;justify-self:start}.hg-u11-actions{justify-content:stretch}.hg-u11-actions>.hg-action-cta{flex:1}.hg-u11-store-heading{flex-direction:column}}
.hg-order-cancel-open[hidden]{display:none!important}

/* R46 U12: View Order/Back CTA contrast. Shared .hg-action-cta uses white !important;
   override it on secondary Orders CTAs across normal, hover, focus, active and mobile states. */
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view,
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view:visited {
  background:#fffdfb!important;
  color:#62253e!important;
  border:1px solid #cfacba!important;
  text-decoration:none!important;
  opacity:1;
}
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view:hover,
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view:focus-visible,
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view:active {
  background:#f7e9ed!important;
  color:#62253e!important;
  border-color:#ad8997!important;
}
.hg-orders .hg-u11-actions > a.hg-action-cta.hg-u11-view:focus-visible {
  outline:3px solid #b47c9a;
  outline-offset:3px;
}
.hg-orders .hg-u11-actions > button.hg-action-cta.hg-order-cancel-open,
.hg-orders .hg-u11-actions > button.hg-action-cta.hg-order-cancel-open:hover,
.hg-orders .hg-u11-actions > button.hg-action-cta.hg-order-cancel-open:focus-visible {
  color:#ffffff!important;
  background:#63233f;
}
