/* H!Tech Puncte — folosește culorile temei H!Tech GSM când există, altfel valori proprii */
.hp-box{ --hp-red: var(--red, #e10a17); --hp-line: var(--line, rgba(127,127,135,.28)); --hp-card: var(--card, transparent); --hp-dim: var(--fg-dim, #6b6b72);
  border:1px solid var(--hp-line); background:var(--hp-card); border-radius:18px; padding:18px 20px; margin:0 0 24px; display:grid; gap:10px; }
.hp-box p{ margin:0; }
.hp-box-head{ display:grid; gap:8px; }
.hp-badge{ justify-self:start; display:inline-flex; align-items:center; gap:8px; font-size:.75rem; font-weight:700; letter-spacing:.04em; color:#fff; background:var(--hp-red); padding:4px 10px; border-radius:999px; }
.hp-earn strong, .hp-balance strong, .hp-applied strong{ color:var(--hp-red); }
.hp-muted{ color:var(--hp-dim); font-size:.92rem; }
.hp-form{ display:grid; gap:8px; }
.hp-form label{ font-weight:600; font-size:.9rem; }
.hp-row{ display:flex; gap:10px; flex-wrap:wrap; }
.hp-row input{ flex:1 1 140px; min-width:0; padding:11px 14px; border-radius:10px; border:1px solid var(--hp-line); background:transparent; color:inherit; font:inherit; }
.hp-btn{ appearance:none; border:0; cursor:pointer; background:var(--hp-red); color:#fff; font:inherit; font-weight:700; padding:11px 20px; border-radius:999px; }
.hp-btn:disabled{ opacity:.6; cursor:wait; }
.hp-btn-ghost{ background:transparent; color:inherit; border:1px solid var(--hp-line); padding:7px 14px; margin-left:8px; }
.hp-applied{ display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.hp-msg:empty{ display:none; }
.hp-msg{ color:var(--hp-red); font-size:.9rem; }
.hp-product-note{ display:block; margin:6px 0 18px; font-size:.95rem; line-height:1.5; }
.hp-product-note strong{ color:var(--hp-red); }
.hp-dot{ display:inline-block; vertical-align:middle; margin:-2px 10px 0 2px; width:8px; height:8px; border-radius:50%; background:var(--hp-red); box-shadow:0 0 0 4px rgba(225,10,23,.18); flex-shrink:0; }
.hp-account{ display:grid; gap:18px; }
.hp-stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.hp-stat{ border:1px solid var(--line, rgba(127,127,135,.28)); border-radius:16px; padding:16px; }
.hp-stat > span{ display:block; font-size:.8rem; color:var(--fg-dim, #6b6b72); }
.hp-stat > strong{ display:block; font-size:1.6rem; margin-top:4px; font-variant-numeric:tabular-nums; }
.hp-stat-main{ border-color:var(--red, #e10a17); }
.hp-stat-main strong{ color:var(--red, #e10a17); }
.hp-table .hp-num{ text-align:right; font-variant-numeric:tabular-nums; white-space:nowrap; }
.hp-plus{ color:#158043; font-weight:700; } .hp-minus{ color:#c81e2c; font-weight:700; }
@media (max-width:600px){ .hp-stats{ grid-template-columns:1fr; } }
.hp-table td:first-child{ white-space:nowrap; }
@media (max-width:600px){ .hp-table th, .hp-table td{ padding:10px!important; font-size:.9rem; } }

/* ---- v2: bonuri din magazin, vouchere, revendicare ---- */
.hp-card{ border:1px solid var(--line, rgba(127,127,135,.28)); border-radius:18px; padding:18px 20px; display:grid; gap:10px; }
.hp-card h3{ margin:0; }
.hp-card p{ margin:0; }
.hp-code-input{ font-family:var(--mono, "JetBrains Mono", ui-monospace, monospace); letter-spacing:.12em; text-transform:uppercase; }
.hp-btn-sm{ padding:7px 14px; font-size:.85rem; }
.hp-btn[disabled]{ opacity:.45; cursor:not-allowed; }
.hp-tiers{ display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:10px; }
.hp-tier{ display:grid; gap:4px; justify-items:start; border:1px solid var(--line, rgba(127,127,135,.28)); border-radius:14px; padding:12px 14px; margin:0; }
.hp-tier strong{ font-size:1.35rem; color:var(--red, #e10a17); }
.hp-tier span{ font-size:.82rem; color:var(--fg-dim, #6b6b72); margin-bottom:6px; }
.hp-tier.is-off strong{ color:inherit; opacity:.6; }
.hp-vouchers{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; margin-top:6px; }
.hp-voucher{ display:grid; grid-template-columns:auto 1fr; gap:14px; align-items:center; border:1px dashed var(--red, #e10a17); border-radius:14px; padding:12px; }
.hp-voucher.is-used{ border-color:var(--line, rgba(127,127,135,.28)); opacity:.6; }
.hp-voucher-body{ display:grid; gap:2px; min-width:0; }
.hp-voucher-body strong{ font-size:1.3rem; }
.hp-voucher-body code{ font-size:1rem; letter-spacing:.1em; background:none; padding:0; }
.hp-qr{ width:116px; height:116px; border-radius:8px; overflow:hidden; background:#fff; cursor:zoom-in; }
.hp-qr svg{ display:block; }
.hp-qr-zoom{ position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,.82); display:grid; place-items:center; }
.hp-qr-zoom > div{ display:grid; gap:10px; justify-items:center; background:#fff; color:#000; padding:22px; border-radius:20px; }
.hp-qr-zoom code{ font-size:1.4rem; letter-spacing:.14em; color:#000; background:none; }
.hp-qr-zoom span{ font-size:.8rem; color:#555; }
.hp-flash{ position:relative; overflow:hidden; display:flex; gap:16px; align-items:center; border-radius:18px; padding:18px 20px; border:1px solid; }
.hp-flash p{ margin:2px 0 0; }
.hp-flash-ok{ border-color:var(--red, #e10a17); background:linear-gradient(120deg, rgba(225,10,23,.14), rgba(225,10,23,.02)); animation:hpPop .5s cubic-bezier(.2,1.4,.4,1) both; }
.hp-flash-err{ border-color:#c81e2c; background:rgba(200,30,44,.08); }
.hp-flash-plus{ font-size:2.6rem; font-weight:800; color:var(--red, #e10a17); line-height:1; font-variant-numeric:tabular-nums; }
.hp-flash-burst{ position:absolute; left:46px; top:50%; pointer-events:none; }
.hp-flash-burst i{ position:absolute; width:6px; height:6px; border-radius:50%; background:var(--red, #e10a17); transform:rotate(calc(var(--i) * 30deg)) translateX(0); opacity:0; animation:hpBurst .9s ease-out .15s both; }
@keyframes hpBurst{ 0%{ opacity:1; transform:rotate(calc(var(--i) * 30deg)) translateX(0) scale(1); } 100%{ opacity:0; transform:rotate(calc(var(--i) * 30deg)) translateX(70px) scale(.4); } }
@keyframes hpPop{ from{ transform:scale(.94); opacity:0; } to{ transform:none; opacity:1; } }
.hp-claim-banner .hp-claim-big{ font-size:1.15rem; }
.hp-claim-banner strong{ color:var(--red, #e10a17); }
@media (prefers-reduced-motion: reduce){ .hp-flash-ok, .hp-flash-burst i{ animation:none; } }
/* butoanele trebuie să rămână roșii și peste stilurile temei din cont */
.hp-account .hp-btn, .hp-box .hp-btn{ background:var(--red, #e10a17) !important; color:#fff !important; border:0 !important; }
.hp-account .hp-btn[disabled]{ background:rgba(127,127,135,.35) !important; }
.hp-box .hp-btn-ghost{ background:transparent !important; color:inherit !important; border:1px solid var(--line, rgba(127,127,135,.28)) !important; }

/* Recompense */
.hp-rewards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:12px; }
.hp-reward{ display:grid; grid-template-columns:76px 1fr; grid-template-rows:1fr auto; gap:8px 12px; border:1px solid var(--line, rgba(127,127,135,.28)); border-radius:16px; padding:12px; margin:0; align-items:start; }
.hp-reward.is-ready{ border-color:var(--red, #e10a17); box-shadow:0 0 0 1px var(--red, #e10a17) inset; }
.hp-reward-img{ width:76px; height:76px; border-radius:12px; overflow:hidden; background:rgba(127,127,135,.12); display:grid; place-items:center; font-size:32px; grid-row:1 / span 2; }
.hp-reward-img img{ width:100%; height:100%; object-fit:cover; display:block; }
.hp-reward-body{ display:grid; gap:4px; min-width:0; }
.hp-reward-body strong{ font-size:1rem; line-height:1.25; }
.hp-reward-body p{ margin:0; font-size:.85rem; color:var(--fg-dim, #6b6b72); }
.hp-reward-meta{ display:flex; flex-wrap:wrap; gap:4px 10px; align-items:baseline; font-size:.82rem; color:var(--fg-dim, #6b6b72); }
.hp-reward-meta b{ color:var(--red, #e10a17); font-size:.95rem; }
.hp-reward .hp-btn{ justify-self:start; }
.hp-progress{ height:6px; border-radius:99px; background:rgba(127,127,135,.2); overflow:hidden; margin-top:2px; }
.hp-progress i{ display:block; height:100%; background:var(--red, #e10a17); border-radius:99px; }
.hp-small{ font-size:.78rem; }
.hp-account .hp-btn:disabled{ opacity:.45 !important; cursor:not-allowed; }
.hp-tier-note{ font-style:normal; font-size:.75rem; color:var(--fg-dim, #6b6b72); margin:-4px 0 4px; }
