/* Golden Records v1.3.12 — edition type, country and year in the existing product card.
   Scope: WooCommerce product cards (homepage/catalog/search/carousels). */
body.gr-site ul.products li.product.gr-lp-card .gr-lp-image > .gr-lp-edition {
    position:absolute; top:10px; left:10px; right:auto; bottom:auto; z-index:4;
    display:block; box-sizing:border-box; max-width:calc(100% - 65px);
    padding:5px 9px; margin:0; border:1px solid #b89655; border-radius:0;
    background:#102117; color:#dfbd78; text-transform:uppercase;
    font:700 10px/1.25 'Inter',sans-serif; letter-spacing:.075em;
    overflow:hidden; text-overflow:ellipsis; white-space:nowrap; pointer-events:none;
}
/* Preserve existing sale/status badges while keeping the edition badge unobstructed. */
body.gr-site ul.products li.product.gr-lp-card.has-gr-edition .gr-lp-image > :is(.gr-discount-badge,.onsale) {
    top:42px!important;
}
body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-record-meta {
    display:flex; justify-content:space-between; align-items:flex-start; gap:7px;
    flex-wrap:nowrap; min-width:0; margin:0 0 6px; padding:0;
    font:700 10px/1.4 'Inter',sans-serif; letter-spacing:.055em; text-transform:uppercase;
}
body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-record-country {
    min-width:0; color:#8c6d32; overflow-wrap:anywhere;
}
body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-record-grade {
    flex:0 1 auto; max-width:48%; align-self:flex-start; margin:0;
    padding:2px 6px; border:1px solid #ded8ca; background:#f3efe6;
    color:#102117; font:700 10px/1.3 'Inter',sans-serif; letter-spacing:.02em;
    overflow-wrap:anywhere;
}
body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-lp-artist {
    display:block; margin:0 0 6px; color:#6b665d;
    font:700 11px/1.4 'Inter',sans-serif; letter-spacing:.035em; text-transform:uppercase;
}
body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .woocommerce-loop-product__title {
    margin:0 0 8px!important; padding:0!important; color:#102117;
    font:700 clamp(20px,1.55vw,24px)/1.14 'Cormorant Garamond',serif!important;
    overflow-wrap:break-word;
}
@media(max-width:600px) {
    body.gr-site ul.products li.product.gr-lp-card .gr-lp-image > .gr-lp-edition {
        left:7px;top:7px;max-width:calc(100% - 47px);padding:3px 5px;font-size:8px;
    }
    body.gr-site ul.products li.product.gr-lp-card.has-gr-edition .gr-lp-image > :is(.gr-discount-badge,.onsale) {top:32px!important;}
    body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-record-meta {font-size:9px;gap:4px;}
    body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-record-grade {font-size:9px;padding:2px 4px;}
    body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .gr-lp-artist {font-size:10px;}
    body.gr-site ul.products li.product.gr-lp-card .gr-lp-copy .woocommerce-loop-product__title {font-size:20px!important;}
}
