/* Golden Records 1.3.4 — callback and sale saving refinement. */
/* Purchase saving lives in the right purchase column, immediately above the button. */
body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-price-group {
  min-width:0;grid-column:1;align-self:end;
}
body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column {
  grid-column:2;min-width:0;max-width:100%;display:flex;flex-direction:column;
  align-items:flex-end;justify-content:flex-end;gap:6px;
}
body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-card-saving {
  display:block;box-sizing:border-box;max-width:100%;margin:0!important;
  padding:3px 6px!important;color:#982e35!important;background:#fff1ee!important;
  font:600 11px/1.35 var(--sans,Inter,sans-serif)!important;
  text-align:center;white-space:normal;overflow-wrap:break-word;
}
body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-loop-purchase {
  width:auto!important;margin:0!important;min-width:0;
}
/* List layout uses the same hierarchy: saving above the purchase button. */
body.gr-site .gr-catalog [data-view="list"] ul.products li.gr-lp-card .gr-card-footer .gr-buy-column {
  grid-column:auto;width:100%!important;align-items:stretch;
}
body.gr-site .gr-catalog [data-view="list"] ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-loop-purchase {
  width:100%!important;
}
@media(max-width:1200px) {
  body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-price-group,
  body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column {grid-column:1;}
  body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column {width:100%;align-items:stretch;}
  body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-loop-purchase,
  body.gr-site ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-loop-purchase :is(button,.button) {width:100%!important;}
}
@media(max-width:760px) {
  body.gr-site .gr-catalog [data-view="list"] ul.products li.gr-lp-card .gr-card-footer .gr-buy-column {
    flex:0 0 auto;width:auto!important;max-width:52%;
  }
  body.gr-site .gr-catalog [data-view="list"] ul.products li.gr-lp-card .gr-card-footer .gr-buy-column .gr-card-saving {
    font-size:10px!important;
  }
}
