/* New Year decorations (owner 2026-12-06), App\Support\Holiday + config/holiday.php.
   Only CSS and small inline SVGs: no scripts, no fonts; decorations sit in absolute boxes (no layout shift);
   the snow moves with transform only and stops for «reduce motion». Also the /gift-ideas/ page (all year). */
:root { --xr: #d8343f; --xr-d: #b8212c; --xgold: #ffc83d; }

/* 1. Santa hat on the logo */
.hdr__logo { position: relative; }
.xhat { position: absolute; left: -9px; top: -13px; width: 34px; height: 30px; transform: rotate(-22deg); pointer-events: none; }
[dir="rtl"] .xhat { left: auto; right: -9px; transform: scaleX(-1) rotate(-22deg); }
@media (max-width: 960px) { .xhat { width: 28px; height: 25px; left: -8px; top: -11px; } [dir="rtl"] .xhat { right: -8px; } }

/* 2. String lights under the header */
.xlights { position: absolute; left: 0; right: 0; bottom: -9px; height: 16px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='16'%3E%3Cpath d='M0 3 Q15 9 30 3 T60 3 T90 3 T120 3' fill='none' stroke='%23596173' stroke-width='1.2'/%3E%3Cellipse cx='15' cy='10' rx='3.2' ry='4.6' fill='%23ff5a1f'/%3E%3Cellipse cx='45' cy='10' rx='3.2' ry='4.6' fill='%23ffc83d'/%3E%3Cellipse cx='75' cy='10' rx='3.2' ry='4.6' fill='%231f8a5b'/%3E%3Cellipse cx='105' cy='10' rx='3.2' ry='4.6' fill='%23d8343f'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 16px; }

/* 3. Snow: only on dark pictures (the banner's middle slide, the phone banner's open card, the gift banner) */
.xsnow { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; border-radius: inherit; }
.xsnow::before { content: ""; position: absolute; left: 0; right: 0; top: -240px; bottom: 0; opacity: .85; will-change: transform;
  background-image:
    radial-gradient(2.4px 2.4px at 20px 30px, #fff 60%, transparent 61%), radial-gradient(1.6px 1.6px at 80px 120px, rgba(255, 255, 255, .9) 60%, transparent 61%),
    radial-gradient(3px 3px at 150px 60px, rgba(255, 255, 255, .95) 60%, transparent 61%), radial-gradient(1.8px 1.8px at 210px 170px, rgba(255, 255, 255, .8) 60%, transparent 61%),
    radial-gradient(2.2px 2.2px at 120px 200px, #fff 60%, transparent 61%), radial-gradient(1.4px 1.4px at 40px 160px, rgba(255, 255, 255, .7) 60%, transparent 61%);
  background-size: 240px 240px; animation: xfall 16s linear infinite; }
@keyframes xfall { to { transform: translateY(240px); } }
.hs__sl:not([data-pos="0"]) .xsnow, .heroG__it:not(.on) .xsnow { display: none; }
.heroG__it .xsnow { z-index: 1; }
@media (prefers-reduced-motion: reduce) { .xsnow::before { animation: none; } }

/* 4. Santa cap on the chat button */
.gch-btn::after { content: ""; position: absolute; top: -12px; right: -2px; width: 30px; height: 26px; transform: rotate(18deg); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 34'%3E%3Cpath d='M5 27 Q12 7 30 5 Q39 6 37 19 L33 16 Q24 15 24 27 Z' fill='%23d8343f'/%3E%3Crect x='2' y='23' width='26' height='9' rx='4.5' fill='%23fff'/%3E%3Ccircle cx='36' cy='20' r='4.6' fill='%23fff'/%3E%3C/svg%3E") no-repeat center / contain; }
.gch-btn[aria-expanded="true"]::after { opacity: 0; }

/* 5. «Gift idea» tag on cards, «Gift ideas» pill in the series row */
.xtag { position: absolute; right: 10px; top: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 6px; border-radius: 999px;
  background: #fff; color: var(--xr-d); font: 800 12px/1 var(--body); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); pointer-events: none; }
[dir="rtl"] .xtag { right: auto; left: 10px; padding: 5px 6px 5px 9px; }
.xtag svg { width: 18px; height: 14px; flex: none; }
@media (max-width: 640px) { .xtag { right: 6px; top: 6px; padding: 4px 7px 4px 5px; font-size: 11px; } .xtag svg { width: 15px; height: 12px; } }
.lser__p.xpill { background: linear-gradient(90deg, var(--xr), #ff5a1f); color: #fff; font-weight: 700; }
.lser__p.xpill:hover { filter: brightness(1.06); color: #fff; }

/* 6. Product page: «Buying it as a gift?» */
.xline { display: flex; gap: 10px; align-items: center; margin: 12px 0 4px; padding: 11px 14px; border-radius: 14px; background: #fdf1f1; border: 1px dashed #e9a3a8; color: #7a1d24; font-size: 14px; line-height: 1.4; }
.xline svg { flex: 0 0 26px; height: 22px; }
.xline b { color: var(--xr-d); }

/* 7. Gift banner (home, above Rift Runner) and the head of /gift-ideas/ */
.sec--xmas { padding: 6px 0 10px; }
.xban { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: 230px; overflow: hidden; border-radius: var(--radius);
  background: radial-gradient(120% 150% at 0% 0%, #1d3f73 0%, #0f2147 50%, #0a1430 100%); color: #fff; box-shadow: var(--shadow); text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.xban:hover { transform: translateY(-2px); box-shadow: var(--shadow-h); }
.xban__txt { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; padding: 28px 0 28px 40px; }
[dir="rtl"] .xban__txt { padding: 28px 40px 28px 0; }
.xban__eyebrow { font: 800 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--xgold); background: rgba(255, 200, 61, .13); padding: 6px 10px; border-radius: 999px; }
.xban__h { margin: 0; font: 800 clamp(24px, 2.5vw, 34px)/1.12 var(--display); letter-spacing: -.01em; color: #fff; }
.xban__sub { max-width: 46ch; margin: 0; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.45; }
.xban__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.xban__chips span { font: 700 13px/1 var(--body); padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
a.xban:hover .xban__btn { background: #ff4a0a; }
.xban__art { position: relative; z-index: 2; min-height: 230px; }
.xgift { position: absolute; width: 132px; aspect-ratio: 2 / 3; border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.xgift img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display: block; }
.xgift::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 9px; transform: translateX(-50%); background: linear-gradient(90deg, var(--xr-d), #f05a63 50%, var(--xr-d)); opacity: .92; }
.xgift::after { content: ""; position: absolute; left: 0; right: 0; top: 42%; height: 9px; background: linear-gradient(var(--xr-d), #f05a63 50%, var(--xr-d)); opacity: .92; }
.xbow { position: absolute; left: 50%; top: calc(42% - 26px); z-index: 3; width: 72px; height: 50px; transform: translateX(-50%); filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35)); }
.xgift--1 { left: 8%; top: 34px; transform: rotate(-9deg); }
.xgift--2 { left: 36%; top: 18px; width: 150px; z-index: 2; transform: rotate(3deg); }
.xgift--3 { left: 66%; top: 40px; transform: rotate(11deg); }
.xban--plain { background: radial-gradient(120% 150% at 0% 0%, #2c1b63 0%, #140e31 55%, #0c0919 100%); }
@media (max-width: 640px) {
  .sec--xmas { padding: 4px 0 8px; }
  .xban { grid-template-columns: 1fr; min-height: 0; }
  .xban__art { order: -1; min-height: 0; height: 210px; }
  .xgift { width: 96px; } .xgift--2 { width: 112px; }
  .xgift--1 { left: 6%; top: 28px; } .xgift--2 { left: 35%; top: 16px; } .xgift--3 { left: 66%; top: 30px; }
  .xbow { width: 54px; height: 38px; top: calc(42% - 19px); }
  .xban__txt, [dir="rtl"] .xban__txt { padding: 0 18px 22px; gap: 8px; }
  .xban__sub { font-size: 14px; }
  .xban__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .xban, a.xban:hover { transition: none; transform: none; } }

/* 8. /gift-ideas/: budget and game pills */
.xland { margin: 8px 0 18px; }
.xland .xban { min-height: 290px; }
.xland .xban__h { font-size: clamp(28px, 3.2vw, 44px); }
.xtabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 0; }
.xtabs + .xtabs { margin-top: 10px; }
.xtabs a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 17px; border-radius: 999px; background: var(--card, #fff); border: 1px solid var(--line); font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.xtabs a:hover { border-color: var(--ink); }
.xtabs a.on { background: #15161a; color: #fff; border-color: #15161a; }
.xtabs a small { font-weight: 600; opacity: .55; }
@media (max-width: 640px) {
  .xtabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .xtabs::-webkit-scrollbar { display: none; }
  .xtabs a { padding: 9px 14px; font-size: 14px; }
}
