/* Editorial product page for Currency and Boosting only. Legacy .product is untouched. */
.product-offer.offer-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 390px);
  align-items: start;
  position: relative;
  gap: 0;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: linear-gradient(142deg, #152944, #0f1c2e 62%, #0c1727);
  box-shadow: 0 20px 60px #0003;
}
.offer-editorial .offer-main, .offer-editorial .offer-order { min-width: 0; }
.offer-editorial .offer-main { border-right: 1px solid var(--line2); }
.offer-editorial .offer-copy { padding: clamp(24px, 3.5vw, 44px); position: relative; overflow: hidden; }
.offer-editorial .offer-copy::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -130px; left: -80px; width: 85%; height: 380px;
  background: radial-gradient(ellipse at 50% 30%, #377acc2e, transparent 75%);
}
.offer-editorial .offer-copy > * { position: relative; z-index: 1; }
.offer-editorial .offer-game { display: inline-flex; align-items: center; gap: 9px; color: var(--text2); font-size: 13px; text-decoration: none; }
.offer-editorial .offer-game:hover { color: var(--accent); }
.offer-editorial .offer-game { margin-bottom: 18px; min-width: 0; max-width: 100%; flex-wrap: wrap; gap: 6px 9px; font-weight: 550; }
.offer-editorial .offer-game .gtile { flex-shrink: 0; }
.offer-editorial .offer-game-name { overflow-wrap: anywhere; }
.offer-editorial .offer-game-separator { color: #7188a9; }
.offer-editorial .offer-game-category { color: #acc7e8; }

.offer-editorial h1 { margin: 0 0 15px; max-width: 900px; font-family: var(--font-display); font-size: clamp(28px, 3.25vw, 46px); line-height: 1.21; letter-spacing: -.03em; overflow-wrap: anywhere; }
.offer-highlights { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 25px; }
.offer-highlight { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; max-width: 100%; border: 1px solid #3479ee; border-radius: 24px; background: #142840c9; color: #f0f6ff; font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
.offer-highlight .ico { width: 17px; height: 17px; flex-shrink: 0; color: var(--accent); }
.offer-editorial .offer-intro { margin: 0 0 31px; color: #d1dff2; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.offer-editorial .offer-intro > :first-child, .offer-editorial .offer-requirements-content > :first-child { margin-top: 0; }
.offer-editorial .offer-intro > :last-child, .offer-editorial .offer-requirements-content > :last-child { margin-bottom: 0; }
/* Keep the existing right-side purchase form's markup, sizes and behaviour. */
.offer-editorial .offer-order { position: sticky; top: 88px; padding: 6px; }
.offer-editorial .offer-order:has(.offer-order-cover) { padding: 0; }
.offer-order-cover { position: relative; isolation: isolate; height: 210px; overflow: hidden; border-radius: 0 15px 0 0; background: transparent; }
.offer-order-cover > img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Fade only the artwork and shading: the real panel background shows through
   at the bottom, including its existing gradient. Badges and heart stay crisp. */
.offer-order-cover > img, .offer-order-cover::after {
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, rgba(0, 0, 0, .92) 74%, rgba(0, 0, 0, .65) 84%, rgba(0, 0, 0, .24) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, rgba(0, 0, 0, .92) 74%, rgba(0, 0, 0, .65) 84%, rgba(0, 0, 0, .24) 94%, transparent 100%);
}
.offer-order-cover::after {
  content: ''; position: absolute; z-index: 0; inset: 0;
  background:
    linear-gradient(to bottom, rgba(13, 26, 44, 0) 65%, rgba(13, 26, 44, .16) 75%, rgba(13, 26, 44, .65) 100%),
    linear-gradient(to right, rgba(8, 15, 29, .18), rgba(8, 15, 29, 0) 20%, rgba(8, 15, 29, 0) 80%, rgba(8, 15, 29, .18));
  pointer-events: none;
}
.offer-editorial .offer-purchase { position: static; padding: 22px 20px; gap: 18px; border: 0; border-radius: 12px; background: transparent; box-shadow: none; min-width: 0; }
.offer-editorial .offer-purchase > label { display: grid; gap: 7px; min-width: 0; font-weight: 600; font-size: 14px; }
.offer-editorial .offer-purchase input, .offer-editorial .offer-purchase select { min-width: 0; max-width: 100%; }
.offer-editorial .offer-purchase .qty { grid-template-columns: 40px minmax(0, 1fr) 40px; }
.offer-editorial .offer-purchase .qty-head { flex-wrap: wrap; }
.offer-editorial .offer-purchase .qty-head > span { min-width: 0; overflow-wrap: anywhere; }
.offer-editorial .offer-purchase .seg { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(min(100%, 110px), 1fr)); grid-auto-columns: auto; }
.offer-editorial .offer-purchase .seg-opt { min-width: 0; }
.offer-editorial .offer-purchase .seg-opt span { overflow-wrap: anywhere; }
.offer-editorial .offer-purchase .total { flex-wrap: wrap; gap: 6px 12px; }
.offer-editorial .offer-purchase .total b { overflow-wrap: anywhere; }
.offer-editorial .offer-purchase .btn { min-height: 46px; white-space: normal; text-align: center; }
.offer-editorial .offer-purchase p.center { margin: 0; line-height: 1.6; }
.offer-editorial a:focus-visible, .offer-editorial button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 900px) {
  .product-offer.offer-editorial { grid-template-columns: minmax(0, 1fr); }
  .offer-editorial .offer-main { border-right: 0; }
  .offer-editorial .offer-order { position: static; border-top: 1px solid var(--line2); padding: 6px; }
  .offer-order-cover { border-radius: 0; }
}
@media (max-width: 540px) {
  .offer-order-cover { height: 180px; }
  .offer-editorial .offer-copy { padding: 22px 18px; }
  .offer-editorial h1 { margin: 0 0 14px; }
  .offer-highlights { gap: 7px; }
  .offer-highlight { padding: 8px 10px; }
  .offer-editorial .offer-purchase { padding: 16px 12px; }
  .offer-editorial .offer-purchase input, .offer-editorial .offer-purchase select { font-size: 16px; }
}
