/* Product-only price card. Keep the purchase rail in normal document flow. */
.product-buybox.rh-offer { display:block; }
.article-page--product .product-rail, body.admin-bar .article-page--product .product-rail { position:static; top:auto; }
.product-buybox.rh-offer { --card-ink:var(--ink,#20272c); --card-muted:var(--muted,#56636b); color:var(--card-ink); font:inherit; letter-spacing:0; width:100%; min-width:0; padding:20px; background:#fff; border:1px solid var(--line,#d9e1ec); border-top:3px solid var(--pink,#e71382); border-radius:8px; box-shadow:0 8px 20px #20272c06; }
.rh-offer *, .rh-offer *::before, .rh-offer *::after { box-sizing:border-box; letter-spacing:0; }
.rh-offer p, .rh-offer dl { margin:0; }
.rh-offer svg { width:18px; height:18px; flex-shrink:0; stroke-width:1.8; }
.rh-offer .merchant-line { display:flex; align-items:center; gap:9px; }
.rh-offer .merchant-icon { display:grid; place-items:center; flex:0 0 34px; height:34px; border-radius:6px; color:#b21060; background:#fff0f7; }
.rh-offer--amazon .merchant-icon { color:#8a5700; background:#fff1cc; }
.rh-offer .merchant-line > div { flex:1; min-width:0; }
.rh-offer .merchant-line strong { display:block; font-size:14px; }
.rh-offer .merchant-line small { display:block; color:var(--card-muted); font-size:11px; line-height:1.4; }
.rh-offer .sale-badge { flex-shrink:0; align-self:flex-start; padding:4px 7px; border:1px solid #a5dcd0; border-radius:5px; background:#eaf8f3; color:#087459; font-size:13px; font-weight:750; }
.rh-offer .purchase-price { padding:20px 0 10px; }
.rh-offer .purchase-price > p { font-size:12px; color:var(--card-muted); }
.rh-offer .purchase-price > strong { display:block; margin:3px 0 8px; font-size:42px; line-height:1.1; font-weight:780; overflow-wrap:anywhere; }
.rh-offer .purchase-price--unknown > strong { font-size:24px; line-height:1.25; }
.rh-offer .purchase-price > div { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; font-size:13px; }
.rh-offer .purchase-price del { color:var(--card-muted); }
.rh-offer .purchase-price > div > span { color:#087459; font-weight:650; }
.rh-offer .reference-note { color:var(--card-muted); font-size:11px; line-height:1.45; padding-bottom:16px; }
.rh-offer .variant-control { padding-top:15px; border-top:1px solid var(--line); }
.rh-offer .variant-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:5px 10px; margin-bottom:10px; font-size:12px; color:var(--card-muted); }
.rh-offer .variant-heading strong { color:var(--card-ink); min-width:0; overflow-wrap:anywhere; }
.rh-offer .price-breakdown { margin-top:16px; }
.rh-offer .price-breakdown > div { display:flex; justify-content:space-between; gap:10px; padding:5px 0; color:var(--card-muted); font-size:12px; line-height:1.5; }
.rh-offer .price-breakdown dt { min-width:0; }
.rh-offer .price-breakdown dd { min-width:0; margin:0; text-align:right; color:var(--card-ink); overflow-wrap:anywhere; }
.rh-offer .price-breakdown .subtotal { margin-top:8px; padding-top:12px; border-top:1px solid var(--line); font-size:14px; font-weight:700; color:var(--card-ink); }
.rh-offer .pending-note { margin:6px 0 0; font-size:11px; line-height:1.5; color:var(--card-muted); }
.rh-offer .buy-button { display:flex; justify-content:center; align-items:center; gap:8px; width:100%; min-height:50px; margin-top:18px; padding:12px; border:0; border-radius:6px; background:#bc4408; color:#fff; font-size:14px; line-height:1.4; font-weight:700; white-space:normal; }
.rh-offer .buy-button:hover { background:#973500; }
.rh-offer .purchase-disclaimer { margin:8px 0 14px; text-align:center; color:var(--card-muted); font-size:11px; line-height:1.5; }
.rh-offer .purchase-conditions { display:flex; gap:8px; align-items:flex-start; border-top:1px solid var(--line); padding-top:13px; color:var(--card-muted); }
.rh-offer .purchase-conditions p { font-size:11px; line-height:1.5; }
.rh-offer .product-proof { margin:12px 0; }
@media(max-width:780px) {
  .article-page--product .product-rail, body.admin-bar .article-page--product .product-rail { position:relative; top:auto; }
  .product-buybox.rh-offer { padding:18px; }
  .rh-offer .merchant-line { padding-right:42px; flex-wrap:wrap; }
  .rh-offer .merchant-line > div { flex:1 0 100px; }
  .rh-offer .sale-badge { margin-left:43px; }
}
