/*
  Mystery Box strip on product pages (rh-build WP-C, 16 Nov 2026). Markup from lib/cjs_rh_strip.php
  (cjs_rh_strip_product_html), printed under the add-to-cart block of Panels/ProductDetails.html.
  Loaded only on product pages that carry the block (the <link> is part of the block).
  Everything is scoped under #cjs-rhps; link colours are restated because the theme recolours links.
  Kinds: .cjs-rhps-parked (the product is on the parking price), .cjs-rhps-cheap (slim, Steam keys of 5.00 or less),
  .cjs-rhps-gta (GTA VI product pages while the promotion is on).
  NB: bump ?v= in cjs_rh_strip_assets() whenever this file changes (Cloudflare caches it).
  The site-wide reveal bar (#cjs-rhs) carries its own styles inside javascript/cjs-rh-strip.js.
*/
#cjs-rhps { box-sizing:border-box; clear:both; display:flex; flex-wrap:wrap; align-items:center; gap:12px 14px;
  max-width:640px; margin:16px 0 10px; padding:14px 16px; border:1px solid #e5e7eb; border-radius:12px; background:#f9fafb;
  color:#111827; font-family:'Open Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  font-size:14px; line-height:1.45; text-align:left; text-transform:none; letter-spacing:0; }
#cjs-rhps[dir=rtl] { text-align:right; }
#cjs-rhps *, #cjs-rhps *::before, #cjs-rhps *::after { box-sizing:border-box; }
#cjs-rhps .cjs-rhps-ico { flex:0 0 auto; display:flex; align-items:center; justify-content:center; width:52px; height:52px;
  border-radius:12px; background:#fff; border:1px solid #e5e7eb; }
#cjs-rhps .cjs-rhps-ico svg { display:block; }
#cjs-rhps .cjs-rhps-txt { flex:1 1 230px; min-width:0; }
#cjs-rhps p { margin:0; padding:0; font-family:inherit; text-align:inherit; float:none; width:auto; }
#cjs-rhps .cjs-rhps-k { font-size:13px; font-weight:600; color:#4b5563; }
#cjs-rhps .cjs-rhps-h { margin-top:2px; font-size:17px; line-height:1.3; font-weight:800; color:#111827; letter-spacing:-.01em; }
#cjs-rhps .cjs-rhps-h b { font-weight:800; color:#cd1e24; white-space:nowrap; }
#cjs-rhps .cjs-rhps-h span { white-space:nowrap; }
#cjs-rhps .cjs-rhps-p { margin-top:4px; font-size:13.5px; color:#374151; }
#cjs-rhps .cjs-rhps-promo { margin-top:6px; padding-top:6px; border-top:1px solid #e5e7eb; font-size:13px; font-weight:600; color:#111827; }
#cjs-rhps a.cjs-rhps-btn,
#cjs-rhps a.cjs-rhps-btn:link,
#cjs-rhps a.cjs-rhps-btn:visited { flex:0 0 auto; display:inline-flex; align-items:center; justify-content:center; min-height:44px;
  padding:10px 20px; border:0; border-radius:8px; background:#cd1e24; color:#fff !important; font-size:15px; line-height:1.2;
  font-weight:700; text-decoration:none !important; white-space:nowrap; box-shadow:0 6px 14px -8px rgba(205,30,36,.6);
  transition:background-color .2s ease-out; }
#cjs-rhps a.cjs-rhps-btn:hover,
#cjs-rhps a.cjs-rhps-btn:focus { background:#b3171d; color:#fff !important; text-decoration:none !important; }
#cjs-rhps a.cjs-rhps-btn:focus-visible { outline:2px solid #111827; outline-offset:2px; }
#cjs-rhps a.cjs-rhps-btn span { color:inherit; }
/* the GTA VI Box line carries its own text link to that box */
#cjs-rhps a.cjs-rhps-box,
#cjs-rhps a.cjs-rhps-box:link,
#cjs-rhps a.cjs-rhps-box:visited { color:#cd1e24 !important; font-weight:700; text-decoration:underline; text-underline-offset:2px; white-space:nowrap; }
#cjs-rhps a.cjs-rhps-box:hover { color:#b3171d !important; }
#cjs-rhps .cjs-rhps-staff { flex:1 1 100%; font-size:12px; font-weight:700; color:#92400e; }

/* slim strip under the buy area of a cheap Steam key */
#cjs-rhps.cjs-rhps-cheap { gap:8px 12px; padding:10px 12px; background:#fff; }
#cjs-rhps.cjs-rhps-cheap .cjs-rhps-ico { width:38px; height:38px; border-radius:10px; background:#f9fafb; }
#cjs-rhps.cjs-rhps-cheap .cjs-rhps-h { margin-top:0; font-size:14.5px; font-weight:700; letter-spacing:0; }
#cjs-rhps.cjs-rhps-cheap .cjs-rhps-promo { font-size:12.5px; font-weight:600; color:#374151; }
#cjs-rhps.cjs-rhps-cheap a.cjs-rhps-btn { min-height:38px; padding:8px 14px; font-size:14px; box-shadow:none; }

/* GTA VI product pages: the same block as the GTA VI band, in this page's size */
#cjs-rhps.cjs-rhps-gta .cjs-rhps-k { font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#cd1e24; }
#cjs-rhps.cjs-rhps-gta .cjs-rhps-h { font-size:15.5px; font-weight:700; }
#cjs-rhps.cjs-rhps-gta .cjs-rhps-p { font-size:12.5px; color:#6b7280; }

/* phones: the product page is a grid there (Styles/cjs-mobile.css: the wrappers are display:contents and every row is
   a grid item with an order). The block must take the full width and sit straight under the add-to-cart block
   (order 6), above the SKU rows (order 8). The add-to-cart snippet closes two more divs than it opens, so in the
   browser this block is a child of the column, not of .cjs-pd-rest: hence no child selector here. */
@media (max-width:767px) {
  .product_image_detail_wrap #cjs-rhps { grid-column:1 / -1; order:7; min-width:0; float:none; margin:12px 0 4px; max-width:none; }
  #cjs-rhps { padding:12px; }
  #cjs-rhps .cjs-rhps-ico { width:44px; height:44px; }
  #cjs-rhps .cjs-rhps-h { font-size:16px; }
  #cjs-rhps a.cjs-rhps-btn { flex:1 1 100%; }
  #cjs-rhps.cjs-rhps-cheap .cjs-rhps-txt { flex-basis:180px; }
}
@media (prefers-reduced-motion:reduce) {
  #cjs-rhps a.cjs-rhps-btn { transition:none; }
}
