/* V47.40 — Place the existing 30-minute receipt recovery action inline beside
   the CART button. No floating element may cover product photos or content.
   Keep existing DOM ids / JS restore and TTL behavior unchanged. */
#bg37RestoreStrip.bg39-restore-strip {
  position:static!important;
  left:auto!important; right:auto!important; top:auto!important; bottom:auto!important;
  width:auto!important; height:auto!important; max-width:none!important;
  margin:0!important; padding:0!important;
  display:flex!important; flex:0 0 auto; align-items:center; justify-content:center;
  z-index:auto!important; pointer-events:auto!important;
  transform:none!important;
}
#bg37RestoreStrip.bg39-restore-strip.hidden,
#bg36ReopenReceipt.bg39-receipt-restore.hidden {display:none!important}
#bg36ReopenReceipt.bg39-receipt-restore {
  display:flex!important; flex-direction:column!important; flex-wrap:nowrap!important;
  justify-content:center!important; align-items:center!important; gap:1px!important;
  min-width:78px!important; max-width:94px!important; width:auto!important;
  min-height:43px!important; height:auto!important;
  padding:5px 8px!important; margin:0!important; box-sizing:border-box!important;
  background:#79533e!important; color:#fff!important; border:1px solid #79533e!important;
  border-radius:6px!important; box-shadow:none!important;
  font:700 12px/1.25 system-ui,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif!important;
  letter-spacing:0!important; white-space:nowrap!important; text-align:center!important;
  cursor:pointer; pointer-events:auto!important;
}
#bg36ReopenReceipt .bg39-receipt-icon {display:none!important}
#bg36ReopenReceipt .bg39-receipt-title {
  display:block; font-size:12px; font-weight:700; color:#fff; white-space:nowrap;
}
#bg36ReopenReceipt .bg39-receipt-time {
  display:block; margin:0!important; padding:0!important; background:transparent!important;
  color:#f5e5d8!important; font-size:10px!important; font-weight:500!important;
  border-radius:0!important; line-height:1.3!important; white-space:nowrap;
}
#bg36ReopenReceipt:focus-visible {outline:3px solid #a88161!important;outline-offset:2px}
/* Mobile actions remain on the same header row when space permits and wrap
   naturally on very narrow devices. Do not alter the logo or other layout. */
@media (max-width:640px) {
  .header .right-actions {gap:6px; min-width:0; flex-wrap:wrap; justify-content:flex-end; align-items:center}
  .header .right-actions > button {padding:8px 10px; font-size:12px}
  #bg36ReopenReceipt.bg39-receipt-restore {min-width:76px!important; max-width:84px!important; min-height:40px!important; padding:5px 7px!important}
}
@media (max-width:360px) {
  .header .right-actions {gap:4px}
  .header .right-actions > button {padding:6px 6px; font-size:11px}
  #bg36ReopenReceipt.bg39-receipt-restore {min-width:68px!important; max-width:72px!important; padding:5px 5px!important}
  #bg36ReopenReceipt .bg39-receipt-title {font-size:11px}
}
