/* Recargar Ignis (store, order page) and Panel staff → Ventas */
.ig{--ig1:#ffcf7a;--ig2:#ff8a2a;--ig3:#d9400f;display:flex;flex-direction:column;gap:22px}
.ig [hidden]{display:none!important}
.ig-section-title{display:flex;align-items:center;gap:10px;font:700 20px/1.1 Rajdhani,Arial,sans-serif;letter-spacing:.5px;text-transform:uppercase;margin:0 0 14px}
.ig-section-title b{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--fire);color:#201108;font-size:14px}
.ig-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 14px}.ig .ig-section-head .ig-section-title{margin:0}

/* Phone and tablet: «Paso 1 de 2» the packs, «Paso 2 de 2» the payment (public/js/ignis.js sets data-step). Without
   the script, or on a wide screen, both show at once. */
.ig-step-of{display:none;font-size:10px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.ig-step-bar{display:none;align-items:center;justify-content:space-between;gap:12px}
.ig-step-back{display:inline-flex;align-items:center;gap:6px;padding:8px 14px 8px 12px;border:1px solid #3a3642;border-radius:999px;background:#18171c;color:#e6e1ea;font-size:12px;font-weight:600;transition:border-color .15s}
.ig-step-back:hover,.ig-step-back:active{border-color:var(--fire);color:#fff}
@media (max-width:980px){
  .ig[data-step] .ig-step-of{display:inline}
  .ig[data-step=packs] .ig-step-bar,.ig[data-step=packs] .ig-checkout{display:none}
  .ig[data-step=pay] .ig-hero,.ig[data-step=pay] .ig-packs,.ig[data-step=pay] .ig-orders{display:none}
  .ig[data-step=pay] .ig-step-bar{display:flex}
  .ig[data-step=pay] .ig-buy{gap:12px;width:100%;max-width:560px;margin:0 auto}
  /* No pack looks chosen before you tap one (the owner: «sale seleccionado y ni seleccioné»); back from the payment,
     yours stays marked. */
  .ig[data-step]:not([data-chosen]) .ig-pack:has(input:checked){border-color:var(--line);box-shadow:none}
  .ig[data-step]:not([data-chosen]) .ig-pack:has(input:checked)::after{content:none}
}

/* Hero */
.ig-hero{position:relative;display:flex;align-items:center;gap:18px;padding:16px 22px;border:1px solid #4c2e20;border-radius:var(--radius);overflow:hidden;
  background:radial-gradient(ellipse 45% 140% at 0% 50%,#ff782f24,transparent 70%),radial-gradient(ellipse 40% 120% at 100% 50%,#ffc47812,transparent 65%),#141216}
.ig-hero-mark{flex-shrink:0;display:grid;place-items:center;margin:-6px -4px -6px -8px}
.ig-hero-text{flex:1;min-width:0}
.ig-hero h1{font:700 clamp(26px,3vw,36px)/1 Rajdhani,Arial,sans-serif;margin:0 0 4px;letter-spacing:.5px}
.ig-hero h1 em{font-style:normal;background:linear-gradient(100deg,var(--ig3),var(--ig2) 35%,#fff1c4 50%,var(--ig2) 65%,var(--ig3));background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:igShine 4s ease-in-out infinite}
.ig-hero p{color:var(--muted);margin:0;font-size:13px}
.ig-steps{display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;padding:0;margin:10px 0 0;font-size:11.5px;color:#cfc9d4}
.ig-steps li{display:flex;align-items:center;gap:6px}
.ig-steps b{display:inline-grid;place-items:center;width:17px;height:17px;border-radius:50%;border:1px solid #6b4430;color:var(--gold);font-size:9px}
.ig-balance{flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;padding:10px 16px;border:1px solid #5a3a28;border-radius:10px;background:#1b1512}
.ig-balance span{font-size:9.5px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.ig-balance strong{font:700 24px/1.05 Rajdhani,Arial,sans-serif;color:var(--gold)}
.ig-balance small{font-size:10.5px;color:#c9a27f}
.ig-closed{text-align:center;padding:40px 24px}.ig-closed p{color:var(--muted)}

/* Ignis crystals: 3D renders (resources/views/arena/ignis/gem.blade.php) */
.ig-art{position:relative;display:inline-block;width:var(--art-size);height:var(--art-size);flex-shrink:0;animation:igFloat 4.6s ease-in-out infinite}
.ig-art::before{content:"";position:absolute;inset:14%;border-radius:50%;background:radial-gradient(circle,#ff7a1a3d 0%,#ff5a1f18 45%,transparent 70%);animation:igBreathe 3.4s ease-in-out infinite;z-index:0}
.ig-art img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:contain}
.ig-art-sheen{position:absolute;inset:0;z-index:2;pointer-events:none;-webkit-mask:var(--art) center/contain no-repeat;mask:var(--art) center/contain no-repeat;
  background:linear-gradient(110deg,transparent 38%,#fff6dc 50%,transparent 62%);background-size:300% 100%;background-position:120% 0;mix-blend-mode:soft-light;opacity:.9;animation:igSheen 4.2s ease-in-out infinite}
.ig-pack:hover .ig-art{animation-duration:2.4s}
.ig-pack:hover .ig-art-sheen{animation-duration:1.8s}

/* Buy layout */
.ig-buy{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start}
.ig-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.ig-pack{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;padding:22px 14px 18px;border:1px solid var(--line);border-radius:var(--radius);cursor:pointer;text-align:center;
  background:radial-gradient(ellipse 80% 60% at 50% 30%,color-mix(in srgb,var(--ig2) calc(6% + var(--t,0) * 4%),transparent),transparent 70%),var(--panel);transition:transform .18s,border-color .18s,box-shadow .18s}
.ig-pack.tier-1{--t:1}.ig-pack.tier-2{--t:2}.ig-pack.tier-3{--t:3}.ig-pack.tier-4{--t:4}.ig-pack.tier-5{--t:5}
.ig-pack:hover{transform:translateY(-3px);border-color:#6b4430}
.ig-pack input{position:absolute;opacity:0;pointer-events:none}
.ig-pack:has(input:checked){border-color:var(--fire);box-shadow:0 0 0 1px var(--fire),0 14px 34px #ff782f26}
.ig-pack:has(input:checked)::after{content:"✓";position:absolute;top:10px;left:10px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--fire);color:#201108;font-size:12px;font-weight:800}
.ig-pack:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:3px}
.ig-pack-art{height:116px;display:grid;place-items:center;margin:-6px 0 2px}
.ig-pack-name{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--muted);font-weight:700}
.ig-pack-amount{font:700 30px/1 Rajdhani,Arial,sans-serif;color:#fff3dc}
.ig-pack-amount small{font-size:13px;color:var(--gold)}
.ig-pack-bonus{font-size:11px;color:#c9c3cf;min-height:16px}.ig-pack-bonus b{color:#9cdfba}
.ig-pack-price{margin-top:8px;padding:7px 14px;border-radius:999px;background:#241b17;border:1px solid #5a3a28;font-weight:700;font-size:14px;color:var(--gold)}
.ig-pack-save{font-size:10px;font-weight:700;letter-spacing:1px;color:#9cdfba;text-transform:uppercase}
.ig-pack-local{font-size:11px;font-weight:600;color:#c9c3cf;font-variant-numeric:tabular-nums}
/* «Ver precios en»: the packs in the visitor's currency (App\Services\LocalPrices). */
.ig-currency{display:flex;align-items:center;gap:10px;margin:-4px 0 14px;font-size:12px;color:var(--muted)}
.ig-currency select{min-width:0;max-width:100%;padding:7px 30px 7px 10px;border-radius:9px;border:1px solid var(--line);background-color:#16151a;color:#f3efe9;font:inherit;font-weight:600}
.ig-currency select:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.ig-currency-flag{display:inline-block;width:24px;height:18px;min-width:24px;flex:none;object-fit:cover;border:1px solid var(--line,#ffffff24);border-radius:3px;vertical-align:middle}
.ig-currency-amount{display:inline-flex;align-items:center;gap:6px;min-width:0;flex-wrap:wrap}
.ig-payment-notice{margin:12px 0;padding:11px 12px;border:1px solid #ffb35b55;border-radius:9px;background:#ffb35b0d;color:#f2cfa9;font-size:12px;line-height:1.5}
.ig-payment-method-data{display:grid;gap:4px;min-width:0;flex:1}.ig-payment-method-data code{font-size:12px;overflow-wrap:anywhere;color:#ffe8cb}
.ig-payment-method-data .ig-payment-instructions{white-space:pre-line;line-height:1.45}
.ig-payment-method-qr{width:64px;height:64px;flex:none;object-fit:contain;background:#fff;padding:3px;border-radius:7px}
/* Each method's logo (uploaded in the panel), or its initial / a chat bubble for WhatsApp until there is one. */
.ig-method-logo,.ig-methods .ig-method .ig-method-logo{width:40px;height:40px;min-width:40px;flex:0 0 40px;border-radius:10px;object-fit:contain;background:#ffffff0d;border:1px solid var(--line)}
.ig-methods .ig-method .ig-method-logo.is-mark,.ig-methods .ig-method .ig-method-logo.is-chat{display:grid;place-items:center;font:700 18px/1 Rajdhani,Arial,sans-serif;color:var(--gold);background:#241b17;border-color:#5a3a28}
.ig-method-logo.is-brand,.ig-methods .ig-method .ig-method-logo.is-brand{padding:7px;background:#fff;border-color:#ffffff40}
.ig-method-logo.is-icon,.ig-methods .ig-method .ig-method-logo.is-icon{padding:0;background:transparent;border-color:transparent;object-fit:cover}
.ig-contact-short{display:none}
.ig-method .tag{flex:none}.ig-pay-alias dd code{font-size:15px;color:#ffe8cb}
.ig-order-method{display:flex;align-items:center;gap:8px}.ig-order-method .ig-method-logo{width:28px;height:28px;border-radius:7px}.ig-methods-note{margin:2px 2px 0}
.ig-country-pick{flex-wrap:wrap}.ig-country-pick .ig-currency-picker{min-width:220px}
.ig-payment-contact{width:100%;margin-top:12px;justify-content:center;text-align:center;min-height:44px}
.ig-pack-price-note{font-size:10px;color:var(--muted)}.ig-rate-source{display:block;margin-top:8px;line-height:1.5;font-size:11px;color:var(--muted)}
.ig-admin-contact h2{margin-bottom:8px}.ig-contact-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:14px}.ig-contact-form>.field{flex:1;min-width:min(260px,100%)}
.ig-contact-form .button{min-height:44px}.ig-contact-form .field small{font-size:11px;color:var(--muted)}
.ig-country-manager-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap}.ig-country-manager-head h2{margin-bottom:7px}.ig-country-manager-head p{margin-bottom:0}
.ig-country-search{max-width:420px;margin:18px 0 14px}.ig-country-search input{min-height:44px}
.ig-country-list{display:grid;gap:10px}.ig-country-card{border:1px solid var(--line);border-radius:12px;background:#121116}
.ig-country-card>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;padding:14px 16px;min-height:64px;cursor:pointer}
.ig-country-card>summary::-webkit-details-marker{display:none}.ig-country-card>summary::after{content:'⌄';color:var(--muted);font-size:20px}.ig-country-card[open]>summary::after{transform:rotate(180deg)}
.ig-country-card>summary:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.ig-country-card[open]>summary{border-bottom:1px solid var(--line)}
.ig-country-heading{display:flex;gap:9px;align-items:center;flex-wrap:wrap;min-width:0;flex:1}.ig-country-heading strong{overflow-wrap:anywhere;font-size:15px}.ig-country-heading small{font-size:11px;color:var(--muted)}
.ig-country-state{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.ig-country-state small{font-size:10px;color:var(--muted);white-space:nowrap}
.ig-country-body{padding:16px}.ig-country-body h3{font:700 17px Rajdhani,system-ui,sans-serif;margin:22px 0 12px}
.ig-country-config{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));align-items:end;gap:12px}.ig-country-config .field{min-width:0;margin:0}.ig-country-config .field input,.ig-country-config .field select{min-height:44px;width:100%}
.ig-country-config>.button{min-height:44px}.ig-country-method{margin-top:10px}.ig-country-method>summary{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;min-height:44px}
.ig-country-body .ig-config-form{margin-top:14px}.ig-country-add{margin-top:18px}.ig-country-add>.ig-country-config{margin-top:16px}
@media(max-width:640px){.ig-country-card>summary{padding:12px;gap:8px;flex-wrap:wrap}.ig-country-heading{flex-basis:75%}.ig-country-state{order:3;align-items:flex-start;flex-basis:100%;flex-direction:row;align-items:center;gap:8px}.ig-country-body{padding:12px}.ig-country-config{grid-template-columns:1fr}.ig-contact-form{align-items:stretch}.ig-contact-form>.button{flex:1}.ig-country-manager-head>form,.ig-country-manager-head>form .button{width:100%}}
@media(max-width:640px){.ig-payment-method-qr{width:58px;height:58px}.ig-payment-method-data code{font-size:11px}.ig-methods .ig-method .ig-method-logo{width:36px;height:36px;min-width:36px;flex-basis:36px}
  .ig-country-pick .ig-currency-picker{flex:1;min-width:0}}
.ig-currency-picker{min-width:0;max-width:100%;font:inherit;color:inherit}
.ig-currency-picker [hidden]{display:none!important}
.ig-currency-picker>select{min-width:0;max-width:100%;width:100%}
.ig-currency-trigger{appearance:none;display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--line,#ffffff24);border-radius:9px;background:#16151a;color:#f3efe9;font:inherit;text-align:left;cursor:pointer}
.ig-currency-trigger>span[data-currency-trigger-label]{flex:1;min-width:0;overflow-wrap:anywhere}
.ig-currency-chevron{font-size:18px;color:var(--muted,#aaa);line-height:1}
.ig-currency-trigger:focus-visible,.ig-currency-option:focus-visible{outline:2px solid var(--gold,#ffc478);outline-offset:2px}
.ig-currency-trigger[aria-expanded=true]{border-color:var(--gold,#ffc478)}
.ig-currency-list{position:fixed;z-index:10000;overflow:auto;overscroll-behavior:contain;padding:5px;border:1px solid #4d4140;border-radius:11px;background:#19161d;box-shadow:0 14px 40px #0009;scrollbar-width:thin;color:#f3efe9;font:14px/1.35 Noto,system-ui,sans-serif}
.ig-currency-option{appearance:none;display:flex;align-items:center;gap:10px;width:100%;min-height:44px;margin:0;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.ig-currency-option>span:not(.ig-currency-check){flex:1;min-width:0;overflow-wrap:anywhere}
.ig-currency-option small{display:block;font-size:10px;color:var(--muted,#b5adb8);letter-spacing:.7px}
.ig-currency-option:hover,.ig-currency-option:focus-visible{background:#ffffff0d}
.ig-currency-option[aria-selected=true]{background:#ff8a2824;color:#ffd1a0}
.ig-currency-check{color:var(--gold,#ffc478);visibility:hidden}.ig-currency-option[aria-selected=true] .ig-currency-check{visibility:visible}
@media(max-width:600px){.ig-currency{flex-wrap:wrap}.ig-currency .ig-currency-picker{flex:1;min-width:min(220px,100%)}.ig-currency-trigger{min-height:44px;font-size:13px}.ig-currency-list{font-size:14px}}
.ig-badge{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:4px 10px;border-radius:999px;font-size:9px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;white-space:nowrap;background:var(--fire);color:#201108}
.ig-badge-value{background:linear-gradient(90deg,#ffc478,#fff1c4);color:#3a2205}.ig-badge-new{background:#5fb2ff;color:#04182c}

/* Checkout */
.ig-checkout{position:sticky;top:18px;display:flex;flex-direction:column;gap:14px}
.ig-summary{display:flex;flex-direction:column;gap:8px;padding:14px;border-radius:10px;background:#141317;border:1px solid var(--line)}
.ig-summary div{display:flex;justify-content:space-between;gap:10px;font-size:13px}.ig-summary span{color:var(--muted)}
.ig-summary-price{padding-top:8px;border-top:1px dashed #3a3642}.ig-summary-price strong{font:700 22px/1 Rajdhani,Arial,sans-serif;color:var(--gold)}
.ig-summary-local strong{font-weight:600;color:#c9c3cf}
.ig-pay-local{margin:-6px 0 12px}
.ig-summary .ig-summary-get{align-items:center}.ig-summary-get strong{display:inline-flex;align-items:center;gap:8px}
.ig-summary-art{display:inline-grid;place-items:center;width:32px;height:32px}.ig-summary-art:empty{display:none}.ig-summary-art img{width:100%;height:100%;object-fit:contain}
.ig-methods{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.ig-methods legend{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:var(--muted);font-weight:700;margin-bottom:8px}
.ig-method{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#16151a;transition:border-color .15s}
.ig-method input{position:absolute;opacity:0;pointer-events:none}
.ig-method span:nth-of-type(2){display:flex;flex-direction:column;flex:1;min-width:0}.ig-method small{color:var(--muted);font-size:11px}
.ig-method-dot{width:16px;height:16px;border-radius:50%;border:2px solid #57525e;flex-shrink:0}
.ig-method:has(input:checked){border-color:var(--fire);background:#1d1612}.ig-method:has(input:checked) .ig-method-dot{border-color:var(--fire);box-shadow:inset 0 0 0 3px #1d1612;background:var(--fire)}
.ig-method:has(input:focus-visible){outline:2px solid var(--gold);outline-offset:2px}
.ig-terms{display:flex;gap:10px;font-size:11.5px;color:#c9c3cf;line-height:1.45}.ig-terms input{margin-top:3px;accent-color:var(--fire)}
.ig-cta{width:100%;font-size:13px}
.ig-fine{font-size:11px;color:var(--muted);margin:0;line-height:1.5}
.ig-legal{font-size:11px;color:#8d8a96;line-height:1.6;margin:0}

/* Orders list */
.ig-orders ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.ig-orders a{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#16151a;color:inherit;text-decoration:none}
.ig-orders a:hover{border-color:#6b4430}
.ig-order-what{display:flex;flex-direction:column;min-width:0}.ig-order-what small{color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ig-order-price{font-weight:700;color:var(--gold)}
.ig-code{font:700 13px/1 ui-monospace,Consolas,monospace;letter-spacing:1px;color:#ffd9b8;background:#2a1a12;border:1px solid #5a3a28;padding:5px 8px;border-radius:6px;white-space:nowrap}
.ig-code.big{font-size:clamp(22px,3vw,30px);padding:6px 12px;cursor:copy}
.ig-status{display:inline-block;padding:4px 10px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;white-space:nowrap;border:1px solid}
.ig-status.big{font-size:12px;padding:8px 14px}
.ig-status-pending{color:#ffd27a;border-color:#6b5320;background:#2a2210}
.ig-status-review{color:#8fc7ff;border-color:#284c74;background:#101e2e}
.ig-status-approved{color:#9cdfba;border-color:#2f6046;background:#11241a}
.ig-status-rejected{color:#ff9d8a;border-color:#70322a;background:#2a1411}
.ig-status-cancelled,.ig-status-expired{color:#b6b1bd;border-color:#45414c;background:#1c1b20}

/* Order page */
.ig-back{font-size:12px;color:var(--muted);text-decoration:none}.ig-back:hover{color:var(--text)}
.ig-order-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.ig-order-head h1{margin:0;line-height:1}.ig-order-head p{margin:0;color:#d4cfd9}
.ig-order-sum{flex:1 1 0;min-width:0;font-size:13px}.ig-order-page .ig-order-head{padding:14px 18px}.ig-order-page .ig-code.big{font-size:24px}.ig-track-mini{flex-basis:100%}.ig-order-sum .ig-currency-flag{width:18px;height:13px;min-width:18px}
/* A phone: the four steps as one line with a bar. */
.ig-track-mini{display:none;font-size:12px;color:#d4cfd9}
.ig-track-mini span{display:block;height:4px;margin:2px 0 8px;border-radius:4px;background:linear-gradient(90deg,var(--fire) calc(var(--done) * 25%),#33303a 0)}
.ig-pay-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ig-pay-title .ig-method-logo{width:30px;height:30px;min-width:30px;border-radius:8px}
.ig-pay-title .ig-method-logo.is-brand{padding:4px}.ig-copy{flex:none;white-space:nowrap}
.ig-pay-total{display:grid;grid-template-columns:1fr auto;grid-template-areas:"label copy" "amount copy";align-items:center;gap:2px 10px;margin-bottom:10px;padding:12px 14px;border:1px solid #5a3a28;border-radius:10px;background:#1d1612}
.ig-pay-total>span{grid-area:label;font-size:10px;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);font-weight:700}
.ig-pay-total>strong{grid-area:amount;font:700 26px/1.1 Rajdhani,Arial,sans-serif}.ig-pay-total>.ig-copy{grid-area:copy}
.ig-pay-button{width:100%;justify-content:center;margin-top:10px}
.ig-upload-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:12px}.ig-upload-foot .ig-fine{margin:0}.ig-upload-foot .ig-cancel{margin:0}
.ig-order-page>.ig-rate-source{margin-top:-8px}
.ig-order-step,.ig-paid-bar,.ig-back-pay{display:none}
.ig-track{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;list-style:none;margin:0;padding:0}
.ig-track li{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:11px;color:var(--muted);text-align:center}
.ig-track li::before{content:"";position:absolute;top:15px;left:calc(-50% + 18px);right:calc(50% + 18px);height:2px;background:#33303a}
.ig-track li:first-child::before{display:none}
.ig-track b{position:relative;z-index:1;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:2px solid #3f3b47;background:var(--bg);color:var(--muted);font-size:13px}
.ig-track li.done{color:#d4cfd9}.ig-track li.done b{background:var(--fire);border-color:var(--fire);color:#201108}.ig-track li.done::before,.ig-track li.now::before{background:var(--fire)}
.ig-track li.now{color:var(--text);font-weight:700}.ig-track li.now b{border-color:var(--fire);color:var(--fire);box-shadow:0 0 0 4px #ff782f22;animation:igPulse 1.8s ease-in-out infinite}
.ig-pay-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.ig-amount{color:var(--gold);cursor:copy}
.ig-pay-data{display:flex;flex-direction:column;gap:2px;margin:0 0 14px}
.ig-pay-data div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #2a2830}
.ig-pay-data dt{font-size:11px;color:var(--muted)}.ig-pay-data dd{margin:0;display:flex;align-items:center;gap:8px;font-weight:600;text-align:right;word-break:break-all}
.ig-pay-data code{font-size:14px;color:#fff3dc}
.ig-copy{background:#26222b;border:1px solid #47414f;color:#e6e1ea;border-radius:6px;padding:4px 9px;font-size:10px;font-weight:700;cursor:pointer}
.ig-copy:hover{border-color:var(--fire)}
.ig-qr{margin:6px 0 14px;display:flex;flex-direction:column;align-items:center;gap:8px}
.ig-qr img{width:220px;height:auto;border-radius:12px;background:#fff;padding:10px}
.ig-qr figcaption{font-size:11px;color:var(--muted)}
.ig-instructions{font-size:13px;color:#d4cfd9;background:#16151a;border-left:3px solid var(--fire);padding:10px 12px;border-radius:0 8px 8px 0}
.ig-drop{position:relative;display:grid;place-items:center;min-height:190px;margin-bottom:16px;border:2px dashed #4a4452;border-radius:12px;background:#141317;cursor:pointer;overflow:hidden;transition:border-color .15s,background .15s}
.ig-drop:hover,.ig-drop.is-over{border-color:var(--fire);background:#1b1512}
.ig-drop input{position:absolute;inset:0;opacity:0;cursor:pointer}
.ig-drop-empty{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center;font-size:13px;color:#d4cfd9;padding:18px}
.ig-drop-empty small{color:var(--muted);font-size:11px}
.ig-drop-preview{max-width:100%;max-height:260px;object-fit:contain}
.ig-cancel{margin-top:12px;text-align:right}
.ig-link-button{background:none;border:0;color:#b6b1bd;font-size:11px;text-decoration:underline;cursor:pointer;padding:0}.ig-link-button:hover{color:#ff9d8a}
.ig-result{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;padding:34px 24px}
.ig-result h2{font:700 26px/1.1 Rajdhani,Arial,sans-serif;margin:0}.ig-result p{max-width:560px;color:#d4cfd9;margin:0}
.ig-result.ok h2{color:#9cdfba}.ig-result.bad h2{color:#ff9d8a}
.ig-actions{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;justify-content:center}
.ig-proof-thumb img{max-width:220px;max-height:220px;border-radius:10px;border:1px solid var(--line);margin-top:10px}

/* Panel staff → Ventas */
.ig-admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ig-admin-metrics .card{display:flex;flex-direction:column;gap:4px;padding:18px}
.ig-admin-metrics span{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.ig-admin-metrics strong{font:700 24px/1.1 Rajdhani,Arial,sans-serif}.ig-admin-metrics small{color:var(--muted);font-size:11px}
.ig-on{color:#9cdfba}.ig-off{color:#ffb38a}
.ig-review{display:grid;grid-template-columns:200px minmax(0,1fr);gap:18px;padding:16px;margin-top:14px;border:1px solid #284c74;border-radius:12px;background:#121820}
.ig-review-proof img{width:100%;height:240px;object-fit:cover;object-position:top;border-radius:8px;border:1px solid var(--line);background:#fff}
.ig-review-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.ig-review dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:0 0 12px}
.ig-review dt{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.ig-review dd{margin:0;font-size:13px}
.ig-review-actions{display:flex;flex-direction:column;gap:10px}
.ig-review-actions form,.ig-late form{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ig-review-actions input[name=note],.ig-late input[name=note]{flex:1;min-width:180px;background:#111115;color:var(--text);border:1px solid #3a3642;padding:9px 12px;border-radius:6px}
.ig-review-actions details summary,.ig-late summary{cursor:pointer;font-size:12px;color:#ff9d8a}
.ig-late{margin-top:6px}.ig-late summary{color:#ffd27a;font-size:11px}
.ig-by{display:block;color:var(--muted);font-size:10px;margin-top:3px}
.ig-table-wrap{overflow-x:auto;margin-top:12px}
.ig-table{width:100%;border-collapse:collapse;font-size:12.5px}
.ig-table th{text-align:left;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}
.ig-table td{padding:10px;border-bottom:1px solid #24222a;vertical-align:top}
.ig-config-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;margin-top:10px}
.ig-config-form .ig-wide,.ig-config-form button,.ig-qr-current{grid-column:1/-1}
.ig-local-prices{margin-top:16px;padding:12px 14px;border:1px dashed #3a3642;border-radius:10px}.ig-local-prices summary{cursor:pointer;font-size:13px;font-weight:700}
.ig-local-prices summary small{font-weight:400;color:var(--muted)}.ig-local-prices .ig-fine{margin-top:8px}
.ig-local-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:0 10px}.staff-details form .ig-local-grid .field{margin-top:10px}
.ig-local-grid .field span{font-size:11px}.ig-local-grid input::placeholder{color:#6f6a78}
.ig-rates-form .ig-local-grid{gap:12px;margin:16px 0}.ig-rates-form .field span{font-size:12px}
.ig-qr-current{display:flex;align-items:center;gap:14px;margin-bottom:14px}.ig-qr-current img{background:#fff;border-radius:8px;padding:4px}
.ig-store-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}

@keyframes igShine{0%,100%{background-position:100% 0}50%{background-position:0 0}}
@keyframes igBreathe{0%,100%{opacity:.7;transform:scale(.95)}50%{opacity:1;transform:scale(1.05)}}
@keyframes igFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes igSheen{0%,55%{background-position:120% 0}85%,100%{background-position:-20% 0}}
@keyframes igPulse{0%,100%{box-shadow:0 0 0 4px #ff782f22}50%{box-shadow:0 0 0 8px #ff782f11}}
/* Keep the same animation phase while its gem, shine or step is outside the viewport or its tab is hidden. */
.ig-motion-paused,.ig-motion-paused::before,.ig-motion-paused .ig-art-sheen{animation-play-state:paused!important}
@media(prefers-reduced-motion:reduce){.ig-pack,.ig-method,.ig-drop{transition:none}}
@media (max-width:980px){.ig-buy,.ig-pay-grid{grid-template-columns:1fr}.ig-checkout{position:static}.ig-admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Phone: the page opens on the packs, in rows of three, and a tapped pack opens the payment as its own view (the two
   steps above; the owner: «tengo que bajar mucho para elegir el método», «que le lleve a otra vista con los métodos»).
   No header box: the top bar already shows «Recargar Ignis» and your Ignis with its + (the owner: «esto ocupa mucho»);
   a visitor signs in from the top bar or the button of «Tu recarga». */
@media (max-width:640px){.ig{gap:16px}.ig-hero{display:none}
  .ig-buy .ig-section-title,.ig-orders .ig-section-title{font-size:18px;margin-bottom:10px}.ig-section-head{margin-bottom:10px}
  .ig-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .ig-pack{gap:2px;padding:14px 4px 10px;border-radius:12px}.ig-pack:hover{transform:none}
  .ig-pack-art{height:58px;margin:0 0 4px}.ig-pack .ig-art{width:56px;height:56px}
  .ig-pack-amount{font-size:21px}.ig-pack-amount small{font-size:10px}
  .ig-pack-bonus{font-size:10px;min-height:15px;line-height:1.5}.ig-pack-base,.ig-pack-save{display:none}.ig-pack-bonus b::before{content:"+"}
  .ig-pack-price{margin-top:6px;padding:4px 6px;font-size:12px}.ig-pack-local{font-size:11px}
  .ig-pack-price,.ig-pack-local{max-width:100%;box-sizing:border-box;justify-content:center;gap:4px;line-height:1.35;overflow-wrap:anywhere;text-align:center}
  .ig-pack-price .ig-currency-flag,.ig-pack-local .ig-currency-flag{width:16px;height:12px;min-width:16px;border-radius:2px}
  .ig-currency{margin:-2px 0 10px;font-size:11px}.ig-currency select{flex:1;padding:6px 28px 6px 9px}
  .ig-badge{top:-8px;padding:3px 7px;font-size:7.5px;letter-spacing:1px}
  .ig-pack:has(input:checked)::after{top:6px;left:6px;width:18px;height:18px;font-size:10px}
  .ig-checkout{gap:10px;padding:14px}.ig-method{padding:9px 11px;gap:10px}.ig-terms{font-size:11px}
  /* The payment step, compact: no title (the step bar says it), «Recibes» and «Total» side by side, the WhatsApp
     question as a link, and the long notice left for the packs step. */
  .ig-checkout>.ig-section-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .ig-summary{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;padding:10px 12px}
  .ig-summary>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px}.ig-summary>div[hidden]{display:none}
  .ig-summary>div:first-child{grid-column:1/-1}
  .ig-summary>div>span{font-size:10px;letter-spacing:1px;text-transform:uppercase}
  .ig-summary .ig-summary-price{align-items:flex-end;padding-top:0;border-top:0;text-align:right}.ig-summary-price strong{font-size:20px}
  .ig-summary .ig-summary-local{grid-column:1/-1;flex-direction:row;justify-content:space-between}
  .ig-summary-art{width:24px;height:24px}
  .ig-methods legend{margin-bottom:6px}.ig-methods{gap:6px}.ig-methods-note{margin:0 2px}
  .ig-pay-fine{text-align:center}
  .ig-payment-contact{min-height:0;margin-top:2px;padding:4px;border:0;background:none;font-size:12px;font-weight:600;color:#7fe0a3;text-decoration:underline;text-underline-offset:3px}
  .ig-payment-contact .ig-contact-long{display:none}.ig-payment-contact .ig-contact-short{display:inline}
  .ig-summary .ig-summary-get{align-items:flex-start}.ig-checkout .ig-payment-contact.button{background:none;border:0;box-shadow:none}
  .ig[data-step=pay] .ig-legal,.ig[data-step=pay]>.ig-rate-source{display:none}
  .ig-orders a{grid-template-columns:1fr auto}.ig-orders .ig-code,.ig-orders .ig-status{grid-column:1/-1;justify-self:start}
  .ig-review{grid-template-columns:1fr}.ig-review dl,.ig-config-form{grid-template-columns:1fr}.ig-track{font-size:10px}
  .ig-order-page{gap:12px}.ig-order-page .card{padding:14px}.ig-order-page .ig-section-title{font-size:16px;margin-bottom:10px}
  .ig-order-page .ig-order-head{padding:9px 10px;gap:6px 8px}
  .ig-order-page .ig-code.big{font-size:14px;padding:5px 7px;letter-spacing:.5px}
  .ig-order-page .ig-status.big{font-size:8.5px;padding:5px 8px;letter-spacing:.6px}
  .ig-order-page .ig-order-sum{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .ig-order-pending .ig-order-sum-method{display:none}                /* «Paga con …» says it right below */
  .ig-order-page .ig-track{display:none}.ig-track-mini{display:block}
  .ig-pay-grid{gap:12px}.ig-pay-total>strong{font-size:24px}
  .ig-pay-data{margin-bottom:10px}.ig-pay-data code{font-size:13px}
  /* Each row: its label on top, the value and its «Copiar» under it (a long CVU wraps without breaking the button). */
  .ig-pay-data div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:9px 0}
  .ig-pay-data dt{grid-column:1/-1}.ig-pay-data dd{display:contents;text-align:left}
  .ig-pay-data dd code{justify-self:start;overflow-wrap:anywhere;word-break:break-all}
  .ig-qr img{width:170px;padding:8px}.ig-instructions{font-size:12px;margin:0 0 4px}
  .ig-drop{min-height:104px;margin-bottom:12px}.ig-drop-empty{padding:12px}
  /* Two views: «Paso 1 de 2» while paying, «Paso 2 de 2» for the receipt (it replaces the step bar above). */
  .ig-pay-grid.has-steps .ig-order-step{display:block;margin:0;font-size:12px;color:#d4cfd9}.ig-order-step b{color:#fff3dc}
  .ig-order-step-bar{display:block;height:4px;margin-bottom:8px;border-radius:4px;background:linear-gradient(90deg,var(--fire) 50%,#33303a 0)}
  .ig-pay-grid[data-order-view=proof] .ig-order-step-bar{background:var(--fire)}
  .ig-pay-grid[data-order-view=pay] .ig-order-step .is-proof,.ig-pay-grid[data-order-view=proof] .ig-order-step .is-pay{display:none}
  .ig-order-pending:has(.has-steps) .ig-track-mini,.ig-pay-grid.has-steps .ig-section-title b{display:none}
  .ig-pay-grid.has-steps[data-order-view=pay] .ig-upload,.ig-pay-grid.has-steps[data-order-view=proof] .ig-pay{display:none}
  /* The way on stays in sight above the bottom bar while you read the payment details. */
  .ig-pay-grid.has-steps .ig-paid-bar{display:block;position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));z-index:5;margin:12px -6px -6px;padding:6px;border-radius:14px;background:var(--panel);box-shadow:0 -16px 14px -4px var(--panel)}
  .ig-paid-next{width:100%;justify-content:center;box-shadow:0 8px 24px #0008}
  .ig-pay-grid.has-steps .ig-back-pay{display:inline-block}}
