/* â”€â”€â”€ ESTILOS WEBSHOP MU APOCALIPSIS â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.webshop-container { padding: 24px; position: relative; }

.webshop-hero { margin-bottom: 24px; border-bottom: 1px solid rgba(220,165,95,0.2); padding-bottom: 20px; }

.webshop-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(220,165,95,0.15); border: 1px solid #dca55f; color: #f3c280; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 10px; }

.webshop-subtitle { color: #d0c0b0; font-size: 14px; line-height: 1.6; max-width: 840px; margin-top: 8px; }



/* Panel de Saldo */

.shop-balance-card { background: linear-gradient(180deg, rgba(35,25,18,0.95), rgba(20,15,10,0.98)); border: 1px solid #7c5832; border-radius: 6px; padding: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }

.shop-user-meta { display: flex; align-items: center; gap: 14px; }

.shop-avatar-box { width: 48px; height: 48px; border-radius: 6px; background: rgba(220,165,95,0.1); border: 1px solid #dca55f; display: flex; align-items: center; justify-content: center; color: #f3c280; }

.shop-user-label { display: block; font-size: 11px; text-transform: uppercase; color: #a09080; }

.shop-user-name { font-size: 18px; color: #ffd699; }

.shop-connection-status { margin-top: 4px; display: flex; align-items: center; gap: 6px; font-size: 12px; }

.status-indicator { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.status-indicator--offline { background: #48bb78; box-shadow: 0 0 6px #48bb78; }

.status-indicator--online { background: #ecc94b; box-shadow: 0 0 6px #ecc94b; }

.status-text--ready { color: #68d391; }

.status-text--warn { color: #f6e05e; }



.shop-currencies-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 860px) { .shop-currencies-grid { grid-template-columns: 1fr; } }

.currency-pill { background: rgba(10,8,6,0.85); border-radius: 6px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(220,165,95,0.3); min-width: 0; }

.currency-pill--wc { border-color: rgba(220,165,95,0.5); }

.currency-pill--wc .currency-pill-icon { color: #ffd700; }

.currency-pill--wcp { border-color: rgba(66,153,225,0.5); }

.currency-pill--wcp .currency-pill-icon { color: #63b3ed; }

.currency-pill--storage { border-color: rgba(220,165,95,0.45); background: linear-gradient(135deg, rgba(28,20,13,0.9) 0%, rgba(16,11,7,0.95) 100%); }

.currency-pill--storage .currency-pill-icon { color: #ffd700; }

.currency-pill-title { display: block; font-size: 11px; text-transform: uppercase; color: #a09080; white-space: nowrap; }

.currency-pill-amount { font-size: 16px; color: #fff; font-weight: 700; white-space: nowrap; }

.currency-pill-action { margin-left: auto; font-size: 11px; text-transform: uppercase; background: rgba(220,165,95,0.15); border: 1px solid #dca55f; color: #ffd699; padding: 5px 10px; border-radius: 4px; text-decoration: none; font-weight: 700; transition: all 0.2s; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-family: inherit; line-height: 1.3; }

.currency-pill-action:hover { background: #dca55f; color: #1a1005; }



/* Guest Card */

.shop-guest-card { background: rgba(25,20,15,0.85); border: 1px dashed rgba(220,165,95,0.4); border-radius: 6px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }

.shop-guest-content { display: flex; align-items: center; gap: 14px; }

.shop-guest-icon { color: #dca55f; }

.shop-guest-text strong { display: block; color: #ffd699; margin-bottom: 2px; }

.shop-guest-text span { font-size: 13px; color: #c0b0a0; }

.shop-guest-actions { display: flex; gap: 10px; }



/* SubmÃ³dulos de Monedas (Grandes Switchers) */

.shop-submodules-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }

.shop-submodule-btn { background: rgba(20,15,10,0.9); border-top: 2px solid #8c6f3e; border-left: 2px solid #5c4524; border-right: 2px solid #3a2914; border-bottom: 2px solid #1e1409; border-radius: 2px; padding: 16px 20px; display: flex; align-items: center; gap: 16px; cursor: pointer; text-align: left; transition: all 0.2s ease; color: #c0b0a0; font-family: inherit; }

.shop-submodule-btn:hover { border-color: #dca55f; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.6); }

.shop-submodule-btn.active { background: linear-gradient(180deg, rgba(45,30,18,0.95), rgba(25,18,12,0.98)); border-color: #ffd700; box-shadow: inset 0 1px 0 rgba(255,215,0,0.25); color: #fff; }

.shop-submodule-btn[data-submodule="WCP"].active { border-color: #c98a4b; box-shadow: inset 0 1px 0 rgba(201,138,75,0.25); }

.shop-card :is(button, a, input, select):focus-visible,
.shop-modal-dialog :is(button, a, input, select):focus-visible,
.shop-submodule-btn:focus-visible { outline: 2px solid #e5c158; outline-offset: 2px; }

.submodule-btn-icon { width: 50px; height: 50px; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.submodule-btn-icon--wc { background: rgba(220,165,95,0.15); border: 1px solid #dca55f; color: #ffd700; }

.submodule-btn-icon--wcp { background: rgba(201,138,75,0.14); border: 1px solid #b4783c; color: #e5a96b; }

.submodule-btn-text { display: flex; flex-direction: column; gap: 2px; }

.submodule-btn-badge { font-size: 10px; text-transform: uppercase; font-weight: 700; color: #dca55f; letter-spacing: 0.5px; }

.submodule-btn-badge--wcp { color: #e5a96b; }

.submodule-btn-title { font-size: 17px; font-weight: 700; color: #fff; font-family: Cinzel, serif; }

.submodule-btn-desc { font-size: 12px; color: #a09080; }



/* Selector de Tipos de ArtÃ­culo */

.shop-sections-bar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; justify-content: flex-start; }

.shop-sections-bar .shop-type-btn { flex: 0 0 auto; width: auto; max-width: none; }
.shop-type-btn { flex: 0 0 auto; background: rgba(24,18,12,0.85); border: 1px solid rgba(220,165,95,0.3); color: #d0c0b0; padding: 10px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: all 0.2s; font-family: Cinzel, serif; white-space: nowrap; text-align: center; }

.shop-type-btn:hover { background: rgba(220,165,95,0.2); color: #ffd699; border-color: #dca55f; }

.shop-type-btn.active { background: linear-gradient(180deg, #dca55f, #a26e32); border-color: #f3c280; color: #1a0e05; box-shadow: 0 0 12px rgba(220,165,95,0.4); }

@media (max-width: 900px) {
    .shop-sections-bar .shop-type-btn { flex: 0 0 auto; }
}

@media (max-width: 580px) {
    .shop-sections-bar .shop-type-btn { flex: 0 0 auto; }
}



/* Filtros y Controles */

.shop-controls-bar { background: rgba(18,14,10,0.9); border: 1px solid rgba(220,165,95,0.25); border-radius: 6px; padding: 14px; margin-bottom: 24px; }

.shop-filters-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.shop-class-filter-box { display: flex; align-items: center; gap: 8px; }

.shop-filter-label { font-size: 13px; color: #dca55f; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.shop-select { background: #120e0a; border: 1px solid rgba(220,165,95,0.4); color: #ffd699; padding: 6px 12px; border-radius: 4px; font-size: 13px; }

.shop-search-box { flex: 1; max-width: 380px; }

.shop-search-input { width: 100%; background: #120e0a; border: 1px solid rgba(220,165,95,0.4); color: #ffd699; padding: 6px 12px; border-radius: 4px; font-size: 13px; }



/* Grid de ArtÃ­culos */

.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }

.shop-card { background: linear-gradient(180deg, #16110d 0%, #0e0a08 100%); border: 1px solid #3d2c1a; border-top: 2px solid #d4a64a; border-radius: 0; padding: 18px 16px 16px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s, transform 0.2s; position: relative; }

.shop-card:hover { transform: translateY(-2px); border-color: #8c6f3e; box-shadow: 0 10px 24px rgba(0,0,0,0.7); }

.shop-card--full { border-top-color: #d4a64a; }

.shop-card--full:hover { border-top-color: #f3c86a; }

.shop-card--semi { border-top-color: #4299e1; }

.shop-card--semi:hover { border-color: #3182ce; border-top-color: #63b3ed; }



.shop-card-badge-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }

.shop-tier-badge { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 3px 11px 3px 10px; border-radius: 0; display: inline-flex; align-items: center; gap: 5px; clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%); }

.shop-tier-badge--full { background: rgba(212,166,74,0.16); border: none; color: #f5e6c8; }

.shop-tier-badge--semi { background: rgba(66,153,225,0.16); border: none; color: #90cdf4; }

.shop-class-badge { font-size: 10px; font-weight: 700; background: transparent; border: none; color: #b8a898; padding: 2px 4px; letter-spacing: 0.5px; }



.shop-card-header { margin-bottom: 8px; }

.shop-set-title { font-size: 16px; color: #f5e6c8; margin: 0 0 3px 0; font-family: Cinzel, serif; }

.shop-set-class-name { font-size: 12px; color: #9c8c7c; }



.shop-price-box { background: transparent; border: none; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; padding: 8px 0; margin-bottom: 10px; text-align: center; }

.shop-price-currency { font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

.text-gold { color: #ffd700; text-shadow: 0 0 8px rgba(255,215,0,0.3); }

.text-cyan { color: #63b3ed; text-shadow: 0 0 8px rgba(99,179,237,0.3); }



/* â”€â”€â”€ CUADRÃCULA DE EQUIPAMIENTO DEL PERSONAJE (MU PUPPET DOLL) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.mu-puppet-card { background: rgba(10,8,6,0.85); border: 1px solid #3d2a1a; border-radius: 6px; padding: 12px 8px; margin-bottom: 14px; box-shadow: inset 0 0 14px rgba(0,0,0,0.9); }

.mu-puppet-hint { font-size: 10px; color: #dca55f; text-align: center; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; opacity: 0.9; }

.mu-puppet-doll { display: flex; flex-direction: column; align-items: center; gap: 6px; }

.mu-puppet-row { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; }



.mu-doll-slot { width: 50px; height: 50px; background: #0c0805; border: 1px solid #332214; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; transition: all 0.2s ease; cursor: pointer; }

.mu-doll-slot.empty { background: rgba(12,8,5,0.5); border-style: dashed; border-color: #261a10; opacity: 0.35; cursor: default; }

.mu-doll-slot.equipped { border-color: #7c5832; background: radial-gradient(circle, rgba(35,22,12,0.9) 0%, rgba(12,8,5,0.95) 100%); }

.mu-doll-slot.equipped:hover { border-color: #ffd700; box-shadow: 0 0 10px rgba(255,215,0,0.5); transform: scale(1.06); z-index: 5; }



.mu-doll-slot--wing-bg { width: 44px; height: 44px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%233a2818" stroke-width="1.5"><path d="M16 2s1.5 4-2 7-6 1-9 0c-1-2 2-7 11-7z"/><path d="M12 9c-2 3-5 5-9 5 0-3 3-5 9-5z"/></svg>') center center no-repeat; opacity: 0.25; border: none; }

.mu-doll-slot--pendant, .mu-doll-slot--ring { width: 22px; height: 22px; border-radius: 3px; }

.mu-doll-img { max-width: 85%; max-height: 85%; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.8)); }

.mu-doll-caption { position: absolute; bottom: 1px; font-size: 8px; color: #a09080; text-transform: uppercase; line-height: 1; pointer-events: none; }



/* Vitrina Ãtem Ãšnico */

.shop-showcase-box { position: relative; width: 100%; height: 112px; background: radial-gradient(circle at 50% 50%, rgba(212,166,74,0.11) 0%, transparent 72%); border: none; border-radius: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; overflow: hidden; cursor: pointer; }

.shop-showcase-box:hover .shop-showcase-img { transform: scale(1.1); }

.shop-showcase-aura { position: absolute; width: 80px; height: 80px; border-radius: 50%; filter: blur(20px); opacity: 0.35; pointer-events: none; }

.shop-showcase-aura--gold { background: #ffd700; }

.shop-showcase-aura--blue { background: #4299e1; }

.shop-showcase-img { max-height: 90px; max-width: 95px; object-fit: contain; z-index: 2; transition: transform 0.25s ease; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)); }

.shop-showcase-hint { position: absolute; bottom: 4px; right: 6px; font-size: 10px; color: rgba(220,165,95,0.95); background: rgba(0,0,0,0.82); padding: 2px 6px; border-radius: 2px; z-index: 3; display: flex; align-items: center; gap: 4px; opacity: 0; transition: opacity 0.15s ease; pointer-events: none; }
.shop-showcase-box:hover .shop-showcase-hint { opacity: 1; }



/* Especificaciones (chips compactos) */

.shop-specs-list { font-size: 11px; margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; background: transparent; padding: 8px 0; border: none; border-top: 1px solid rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); border-radius: 0; }

.shop-spec-item { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: none; padding: 0; }

.spec-label { color: #887868; font-size: 10.5px; }

.spec-val { color: #e2d5c5; font-weight: 600; }

.spec-val--highlight { color: #ffd699; font-weight: 700; }

.spec-val--sok { color: #c084fc; font-weight: 700; }



.btn-shop { width: 100%; min-height: 44px; padding: 10px 18px; border-radius: 0; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: filter 0.15s, transform 0.1s; border: none; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

.btn-shop--full { background: linear-gradient(180deg, #d9a74a 0%, #a36a1b 100%) !important; border: none !important; color: #160c03 !important; box-shadow: none; }

.btn-shop--full:hover { filter: brightness(1.1); }
.btn-shop--full:active { transform: translateY(1px); }

.btn-shop--semi { background: linear-gradient(180deg, #3182ce, #2b6cb0); border: 1px solid #63b3ed; color: #fff; box-shadow: 0 2px 8px rgba(49,130,206,0.3); }

.btn-shop--semi:hover { background: #4299e1; }

.btn-shop--disabled { background: #261f18; border: 1px solid #423528; color: #736355; cursor: not-allowed; }

.btn-shop--guest { background: rgba(220,165,95,0.15); border: 1px solid #dca55f; color: #ffd699; }



/* â”€â”€â”€ MODALES DE PANTALLA COMPLETA CENTRADOS (VIEWPORT DEAD-CENTER) â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.shop-modal-overlay {

    position: fixed !important;

    top: 0 !important;

    left: 0 !important;

    right: 0 !important;

    bottom: 0 !important;

    width: 100vw !important;

    height: 100vh !important;
    background: rgba(4, 3, 2, 0.95) !important;
    z-index: 2147483647 !important;

    display: none;

    align-items: center !important;

    justify-content: center !important;

    margin: 0 !important;

    padding: 16px !important;

    box-sizing: border-box !important;

}



.shop-modal-overlay.is-open {

    display: flex !important;

}



.shop-modal-dialog {

    background: #120d08;

    border-top: 2px solid #e5c158;
    border-left: 2px solid #8c6f3e;
    border-right: 2px solid #4a3418;
    border-bottom: 2px solid #24190c;

    border-radius: 2px;

    max-width: 520px;

    width: 100%;

    margin: auto !important;

    position: relative !important;

    box-shadow: 0 16px 44px rgba(0,0,0,0.96), inset 0 1px 0 rgba(229,193,88,0.18);

    animation: shopModalFadeIn 0.2s ease-out;

}



.shop-modal-dialog--success {

    border-top: 2px solid #4ade80;
    border-left: 2px solid #2f855a;
    border-right: 2px solid #1e4d35;
    border-bottom: 2px solid #0f291c;

    box-shadow: 0 16px 44px rgba(0,0,0,0.96), 0 0 22px rgba(72,187,120,0.22);

}



@keyframes shopModalFadeIn {

    from { opacity: 0; transform: scale(0.95); }

    to { opacity: 1; transform: scale(1); }

}



.shop-modal-header { padding: 16px 20px; border-bottom: 1px solid rgba(220,165,95,0.25); display: flex; justify-content: space-between; align-items: center; }

.shop-modal-title { margin: 0; font-size: 18px; color: #ffd699; font-family: Cinzel, serif; display: flex; align-items: center; gap: 8px; }

.shop-modal-close { background: none; border: none; color: #a09080; font-size: 26px; cursor: pointer; line-height: 1; padding: 0 4px; }

.shop-modal-close:hover { color: #fff; }

.shop-modal-body { padding: 20px; }



.shop-modal-summary { background: rgba(10,8,6,0.6); border: 1px solid rgba(220,165,95,0.2); border-radius: 6px; padding: 14px; margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }

.modal-summary-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #c0b0a0; }

.modal-summary-row--price { border-top: 1px dashed rgba(220,165,95,0.2); padding-top: 8px; margin-top: 4px; font-size: 15px; }

.badge-modal { font-size: 11px; padding: 2px 6px; border-radius: 3px; font-weight: 700; background: rgba(220,165,95,0.2); color: #ffd699; }



.modal-section-label { font-size: 12px; font-weight: 700; color: #ffd699; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; text-transform: uppercase; letter-spacing: 0.5px; }



/* Selector de BaÃºl de Destino */

.modal-vault-section { margin-bottom: 12px; }

.vault-radios-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }

.vault-radio-card { background: rgba(12,8,5,0.88); border: 1px solid #4a3522; border-radius: 4px; padding: 5px 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; transition: all 0.15s; position: relative; min-width: 0; overflow: hidden; }

.vault-radio-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.vault-radio-card:hover:not(.vault-radio-card--disabled):not(.vault-radio-card--full) { border-color: #dca55f; background: rgba(220,165,95,0.12); }

.vault-radio-card.active { border-color: #ffd700; background: rgba(220,165,95,0.25); box-shadow: 0 0 8px rgba(255,215,0,0.4); }

.vault-radio-card--disabled { opacity: 0.35; cursor: not-allowed; border-color: #2a1b0e; background: #120b06; }

.vault-radio-card--full { opacity: 0.42; cursor: not-allowed; border-color: #5c2020; background: rgba(40, 10, 10, 0.55); filter: grayscale(0.5); }

.vault-radio-card--full .vault-radio-num { color: #f87171; }

.vault-radio-card--full .vault-state-badge { color: #f87171 !important; font-weight: 700; }

.vault-radio-num { font-size: 13px; font-weight: 700; color: #ffd700; line-height: 1.1; }

.vault-radio-info { display: flex; flex-direction: column; align-items: center; margin-top: 2px; max-width: 100%; }

.vault-radio-info strong { font-size: 10px; color: #fff; line-height: 1.15; white-space: nowrap; }

.vault-radio-info span { font-size: 9px; color: #a09080; white-space: nowrap; line-height: 1.1; }

.vault-tip { display: block; font-size: 11px; color: #887868; margin-top: 6px; font-style: italic; }



/* Selector de OpciÃ³n de Alas */

.modal-wing-section { margin-bottom: 18px; background: rgba(12,8,5,0.5); padding: 12px; border-radius: 6px; border: 1px solid rgba(220,165,95,0.2); }

.wing-radios-grid { display: flex; flex-direction: column; gap: 8px; }

.wing-radio-card { background: rgba(20,15,10,0.8); border: 1px solid #4a3522; border-radius: 4px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: all 0.2s; }

.wing-radio-card:hover { border-color: #dca55f; }

.wing-radio-card.active { border-color: #ffd700; background: rgba(220,165,95,0.2); }

.wing-radio-card input[type="radio"] { cursor: pointer; }

.wing-radio-info strong { display: block; font-size: 13px; color: #ffd699; }

.wing-radio-info span { font-size: 11px; color: #a09080; }



.shop-modal-warning { background: rgba(237,137,54,0.1); border: 1px solid rgba(237,137,54,0.4); border-radius: 6px; padding: 12px; display: flex; gap: 10px; font-size: 12px; color: #ecc94b; }

.shop-modal-warning p { margin: 4px 0 0 0; color: #cbd5e0; }

.shop-modal-footer { padding: 14px 20px; border-top: 1px solid rgba(220,165,95,0.2); display: flex; justify-content: flex-end; gap: 10px; }
.shop-modal-footer .btn-hdr { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 2px; }



/* Modal de Ã‰xito / CelebraciÃ³n */

.success-celebration-box { text-align: center; padding: 10px 0; }

.success-icon-badge { width: 80px; height: 80px; border-radius: 2px; background: #0b0805; border-top: 2px solid #e5c158; border-left: 2px solid #8c6f3e; border-right: 2px solid #4a3418; border-bottom: 2px solid #24190c; color: #48bb78; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px auto; padding: 6px; box-shadow: 0 6px 20px rgba(0,0,0,0.85), inset 0 0 12px rgba(72,187,120,0.15); }
.success-icon-badge img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

.success-product-title { font-size: 20px; color: #ffd699; margin: 0 0 6px 0; font-family: Cinzel, serif; }

.success-product-desc { font-size: 13px; color: #c0b0a0; line-height: 1.5; margin: 0 0 18px 0; }

.success-details-list { background: rgba(10,8,6,0.6); border: 1px solid rgba(72,187,120,0.3); border-radius: 6px; padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; text-align: left; }

.success-detail-row { display: flex; justify-content: space-between; font-size: 13px; color: #a09080; }



/* â”€â”€â”€ TOOLTIP DINÃMICO FLOTANTE 100% FIEL A MU ONLINE / MU LATINO (muonlinela.com/ItemsInfo.asp) â”€â”€â”€ */
#muLatinoTooltip,
.mu-item-tooltip {
    position: fixed !important;
    z-index: 2147483647 !important;
    pointer-events: none !important;
    width: max-content !important;
    min-width: 260px !important;
    max-width: 92vw !important;
    background: rgba(2, 2, 4, 0.97) !important;
    backdrop-filter: none !important;
    border: 1px solid #5a5a66 !important;
    border-radius: 0px !important;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 1) !important;
    padding: 8px 14px !important;
    font-family: Tahoma, Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
}

.mu-tt-inner {
    text-align: center !important;
    text-shadow: none !important;
}

/* Banner superior para Ancient (Azul Real con Texto Verde) */
.mu-tt-banner-blue {
    background: #3333dc !important;
    color: #00ff00 !important;
    font-size: 11.5px !important;
    font-weight: 400 !important;
    text-align: center !important;
    padding: 2px 10px !important;
    margin: -3px -9px 10px -9px !important;
    border-bottom: none !important;
    text-shadow: none !important;
}

/* Título de items excelentes estándar (Verde Lima MU) */
.mu-tt-title-exc {
    color: #00ff00 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    text-shadow: none !important;
}

/* Título Socket (Morado / Violeta MU) */
.mu-tt-title-socket {
    color: #b366ff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
    text-shadow: none !important;
}

/* Título normal blanco */
.mu-tt-title-white {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

/* Título de mascotas */
.mu-tt-title-pet {
    color: #ffd700 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

/* Título de alas */
.mu-tt-title-wing {
    color: #00ff00 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    text-align: center !important;
    margin-bottom: 10px !important;
}

/* Estadísticas de Defensa o Daño (Amarillo / Dorado MU #ffcc19) */
.mu-tt-stat-yellow {
    color: #ffcc19 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}

/* Durabilidad y Requisitos (Blanco Puro MU #e5e7eb) */
.mu-tt-stat-white {
    color: #e5e7eb !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}

/* Clases equipables */
.mu-tt-classes-wrap {
    margin: 8px 0 !important;
    text-align: center !important;
}

.mu-tt-class-first,
.mu-tt-class-line {
    color: #f3f4f6 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 10px 0 !important;
    text-align: center !important;
}

.mu-tt-class-red-box {
    background: #8b0000 !important;
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    padding: 2px 4px !important;
    margin: 2px 0 !important;
    text-align: center !important;
    display: inline-block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Opción Harmony / 380 (Dorado MU #e8b948) */
.mu-tt-harmony-bold-yellow {
    color: #e8b948 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 0 0 8px 0 !important;
    text-align: center !important;
}

/* Opciones Excelentes, Suerte, Skill y Opciones adicionales (Azul clásico MU #7ca8ff) */
.mu-tt-line-cyan {
    color: #7ca8ff !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}

/* Encabezado de Set Ancient (Dorado auténtico MU S6 #e8b948) */
.mu-tt-ancient-header {
    color: #e8b948 !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 12px 0 8px 0 !important;
    text-align: center !important;
}

/* Opciones Ancient en preview (Gris clásico MU #8c8c8c) */
.mu-tt-ancient-line {
    color: #8c8c8c !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}

/* Sockets y Seed Spheres (Encabezado Magenta #e040fb, líneas Azul MU #7ca8ff) */
.mu-tt-socket-header {
    color: #e040fb !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 10px 0 4px !important;
    text-align: center !important;
}
.mu-tt-socket-line {
    color: #7ca8ff !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}
.mu-tt-socket-slot {
    color: #7ca8ff !important;
}
.mu-tt-socket-bonus {
    color: #7ca8ff !important;
    font-weight: 400 !important;
    font-size: 11px !important;
    margin-top: 2px !important;
    text-align: center !important;
}

/* Opciones Ancient Inactivas (Gris #666666) */
.mu-tt-ancient-line--inactive {
    color: #666666 !important;
    font-weight: bold !important;
    font-size: 11px !important;
    margin: 1px 0 !important;
    text-align: center !important;
}

/* Notificación Flotante de Tienda (Estilo Webzen Forjado Centrado Superior) */
#shopAlertBox,
.shop-alert {
    position: fixed !important;
    top: 28px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: 540px !important;
    width: calc(100vw - 32px) !important;
    margin: 0 !important;
    z-index: 2147483647 !important;
    border-radius: 4px !important;
    padding: 14px 18px !important;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8) !important;
    display: none;
    align-items: flex-start !important;
    gap: 12px !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
    pointer-events: auto !important;
    animation: shopToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition: opacity 0.35s ease, transform 0.35s ease !important;
    box-sizing: border-box !important;
}

@keyframes shopToastIn {
    from {
        opacity: 0;
        transform: translate(-50%, -18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.shop-alert--success {
    background: #0c180e !important;
    border-top: 2px solid #22c55e !important;
    border-left: 2px solid #16a34a !important;
    border-right: 2px solid #14532d !important;
    border-bottom: 3px solid #052e16 !important;
    color: #dcfce7 !important;
}

.shop-alert--error {
    background: #180a0a !important;
    border-top: 2px solid #ef4444 !important;
    border-left: 2px solid #dc2626 !important;
    border-right: 2px solid #7f1d1d !important;
    border-bottom: 3px solid #450a0a !important;
    color: #fee2e2 !important;
}

.shop-alert-close:hover {
    opacity: 1 !important;
}
.shop-empty-notice { text-align: center; padding: 40px; color: #887868; }

@media (max-width: 768px) {
    .shop-submodules-nav { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
    .vault-radios-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Lista de piezas del set / combo completo */

.shop-set-pieces-bar {

    background: transparent;

    border: none;

    border-top: 1px solid rgba(255,255,255,0.07);

    border-radius: 0;

    padding: 8px 0 4px;

    margin-bottom: 10px;

}

.shop-set-pieces-title {

    font-size: 11px;

    font-weight: 700;

    color: #ffd700;

    margin-bottom: 6px;

    display: flex;

    align-items: center;

    gap: 6px;

}

.shop-set-pieces-grid {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}

.shop-piece-pill {

    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #140e08;

    border: 1px solid #4a341b;

    border-radius: 0;

    padding: 3px 8px;

    cursor: pointer;

    transition: border-color 0.15s, background 0.15s;

}


.shop-piece-pill.active {
    border-color: #d4a64a !important;
    background: rgba(212, 166, 74, 0.18) !important;
    box-shadow: none !important;
}

.shop-piece-pill:hover {

    border-color: #ffd700;

    background: #22140a;

    transform: translateY(-1px);

}

.shop-piece-pill--ancient {

    border-color: #0ea5e9;

    background: rgba(14, 165, 233, 0.08);

}

.shop-piece-pill--socket {

    border-color: #8b6bb1;

    background: rgba(139, 107, 177, 0.1);

}

.shop-piece-icon {

    width: 20px;

    height: 20px;

    object-fit: contain;

}

.shop-piece-name {

    font-size: 10px;

    color: #e2e8f0;

    white-space: nowrap;

}




/* â”€â”€â”€ CONFIGURADOR DE SEEDS DE SOCKET LV5 â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.seed-configurator-box {
    background: linear-gradient(180deg, rgba(20, 14, 10, 0.97) 0%, rgba(12, 8, 5, 0.99) 100%);
    border-top: 2px solid #e5c158;
    border-left: 2px solid #8c6f3e;
    border-right: 2px solid #4a3418;
    border-bottom: 2px solid #24190c;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 215, 150, 0.1);
    border-radius: 2px;
    padding: 24px;
    margin-bottom: 24px;
    animation: fadeInSeedConfig 0.3s ease-out;
}

@keyframes fadeInSeedConfig {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.seed-config-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid rgba(220, 165, 95, 0.2);
    padding-bottom: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.seed-config-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    color: #ffd699;
    background: rgba(220, 165, 95, 0.15);
    border: 1px solid rgba(220, 165, 95, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.seed-config-title {
    margin: 4px 0 6px 0;
    font-size: 20px;
    color: #fff;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
}

.seed-config-subtitle {
    margin: 0;
    font-size: 13px;
    color: #a09080;
    max-width: 600px;
    line-height: 1.4;
}

.seed-config-quick-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-preset-pack {
    background: linear-gradient(180deg, #dca55f 0%, #b8860b 100%);
    color: #120c08;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid #ffd699;
    border-radius: 5px;
    padding: 8px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(220, 165, 95, 0.25);
}

.btn-preset-pack:hover {
    background: linear-gradient(180deg, #ffd699 0%, #dca55f 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 165, 95, 0.4);
}

.btn-preset-clear {
    background: rgba(40, 25, 15, 0.6);
    color: #cbd5e0;
    font-size: 12px;
    border: 1px solid rgba(220, 165, 95, 0.25);
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-preset-clear:hover {
    background: rgba(220, 50, 50, 0.2);
    border-color: rgba(220, 50, 50, 0.4);
    color: #fff;
}

/* Grilla de 6 elementos */
.seed-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.seed-elem-card {
    background: rgba(16, 11, 8, 0.75);
    border: 1px solid rgba(220, 165, 95, 0.2);
    border-radius: 6px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.seed-elem-card:hover {
    border-color: rgba(220, 165, 95, 0.45);
    background: rgba(22, 15, 10, 0.9);
    transform: translateY(-2px);
}

.seed-elem-card.is-selected {
    border-color: #dca55f;
    background: rgba(28, 18, 12, 0.95);
    box-shadow: 0 0 16px rgba(220, 165, 95, 0.25);
}

.seed-elem-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.seed-elem-icon-box img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}

.seed-elem-pill {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-top: 4px;
    text-transform: uppercase;
}

.pill-fire { background: rgba(239, 68, 68, 0.2); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
.pill-water { background: rgba(6, 182, 212, 0.2); color: #38bdf8; border: 1px solid rgba(6, 182, 212, 0.4); }
.pill-ice { background: rgba(96, 165, 250, 0.2); color: #93c5fd; border: 1px solid rgba(96, 165, 250, 0.4); }
.pill-wind { background: rgba(16, 185, 129, 0.2); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.4); }
.pill-lightning { background: rgba(234, 179, 8, 0.2); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.4); }
.pill-earth { background: rgba(217, 119, 6, 0.2); color: #fbbf24; border: 1px solid rgba(217, 119, 6, 0.4); }

.seed-elem-details {
    width: 100%;
    margin-bottom: 12px;
}

.seed-elem-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffd699;
    margin-bottom: 3px;
}

.seed-elem-stat {
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 2px;
}

.seed-elem-target {
    font-size: 10px;
    color: #8c827a;
    margin-bottom: 4px;
}

.seed-elem-unit-price {
    font-size: 11px;
    color: #e2e8f0;
    font-weight: 600;
}

/* Stepper de cantidad */
.seed-qty-stepper {
    display: flex;
    align-items: center;
    background: #0d0906;
    border: 1px solid rgba(220, 165, 95, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
    width: 100%;
    max-width: 130px;
}

.btn-seed-step {
    background: rgba(30, 20, 12, 0.8);
    border: none;
    color: #ffd699;
    width: 32px;
    height: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    user-select: none;
}

.btn-seed-step:hover {
    background: rgba(220, 165, 95, 0.3);
    color: #fff;
}

.seed-step-input {
    flex: 1;
    width: 40px;
    background: transparent;
    border: none;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    outline: none;
    -moz-appearance: textfield;
}

.seed-step-input::-webkit-outer-spin-button,
.seed-step-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.seed-elem-subtotal {
    font-size: 11px;
    font-weight: 700;
    color: #a09080;
    transition: color 0.2s;
}

.seed-elem-card.is-selected .seed-elem-subtotal {
    color: #ffd699;
}

/* Barra inferior dinÃ¡mica */
.seed-config-summary-bar {
    background: rgba(14, 9, 6, 0.9);
    border: 1px solid rgba(220, 165, 95, 0.3);
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.seed-summary-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.seed-summary-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seed-summary-stat .stat-label {
    font-size: 12px;
    color: #a09080;
    text-transform: uppercase;
}

.seed-summary-stat .stat-value {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.seed-summary-breakdown {
    font-size: 11px;
    color: #ffd699;
    font-style: italic;
}

.seed-summary-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.seed-summary-price-box .price-label {
    font-size: 11px;
    color: #a09080;
    text-transform: uppercase;
}

.seed-summary-price-box .price-amount {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* â”€â”€â”€ PAQUETES DE JOYAS: SELECTOR DE TAMAÃ‘O (x10, x20, x30) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.bundle-size-wrapper {
    margin: 10px 0;
    padding: 8px 10px;
    background: rgba(15, 10, 7, 0.6);
    border: 1px dashed rgba(220, 165, 95, 0.25);
    border-radius: 5px;
}

.bundle-size-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #a09080;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
}

.bundle-size-pills {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.btn-bundle-size {
    flex: 1;
    background: rgba(30, 20, 14, 0.8);
    border: 1px solid rgba(220, 165, 95, 0.3);
    color: #cbd5e0;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-bundle-size:hover {
    border-color: #dca55f;
    color: #ffd699;
}

.btn-bundle-size.active {
    background: linear-gradient(180deg, #dca55f 0%, #b8860b 100%);
    border-color: #ffd699;
    color: #120c08;
    box-shadow: 0 2px 8px rgba(220, 165, 95, 0.3);
}

/* â”€â”€â”€ SELECTOR DE OPCIONES DE ALAS EN LA TARJETA â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.shop-card-wing-opt-box {
    margin: 8px 0 12px 0;
    padding: 8px;
    background: rgba(18, 12, 8, 0.75);
    border: 1px solid rgba(220, 165, 95, 0.3);
    border-radius: 6px;
    text-align: center;
}
.shop-card-wing-opt-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #c9b097;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.shop-card-wing-opt-pills {
    display: flex;
    gap: 6px;
    justify-content: center;
}
.btn-card-wing-opt {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #1c1208 !important;
    border: 1px solid #4a301a !important;
    color: #ffffff !important;
    padding: 7px 8px !important;
    border-radius: 4px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}
.btn-card-wing-opt * {
    pointer-events: none;
}
.btn-card-wing-opt .wing-opt-svg--hp,
.btn-card-wing-opt .wing-opt-svg--opt28 {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    transition: all 0.2s ease;
}
.btn-card-wing-opt:hover:not(.active) {
    border-color: #8f602e !important;
    color: #ffd700 !important;
    background: #25180e !important;
}
.btn-card-wing-opt.active {
    background: linear-gradient(180deg, #382110 0%, #1e1107 100%) !important;
    border: 1px solid #dca55f !important;
    outline: 1px solid rgba(220, 165, 95, 0.5) !important;
    outline-offset: -2px !important;
    color: #ffd700 !important;
    font-weight: 700 !important;
    box-shadow: inset 0 0 10px rgba(220, 165, 95, 0.35), 0 2px 6px rgba(0, 0, 0, 0.8) !important;
}
.btn-card-wing-opt.active span {
    color: #ffd700 !important;
}
.btn-card-wing-opt.active .wing-opt-svg--hp,
.btn-card-wing-opt.active .wing-opt-svg--opt28 {
    stroke: #ffd700 !important;
    fill: none !important;
    filter: drop-shadow(0 0 4px rgba(220, 165, 95, 0.6));
}
.modal-vault-helper-note {
    margin: 8px 0 0 0;
    font-size: 11.5px;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed rgba(245, 158, 11, 0.3);
    border-radius: 4px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.modal-vault-helper-note code {
    background: #000;
    color: #ffd700;
    padding: 1px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-weight: bold;
}
.modal-wing-summary-box {
    margin: 12px 0;
    padding: 10px 12px;
    background: rgba(20, 14, 9, 0.85);
    border: 1px solid rgba(220, 165, 95, 0.3);
    border-radius: 6px;
}

@keyframes shakeBox {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}
.shake-error {
    animation: shakeBox 0.35s ease-in-out !important;
}




.shop-weapon-subtypes-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(20, 15, 10, 0.7);
    border: 1px solid rgba(220, 165, 95, 0.25);
    border-radius: 6px;
    flex-wrap: wrap;
    animation: fadeIn 0.2s ease;
}
.shop-weapon-subtypes-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.btn-weapon-subtype {
    background: rgba(30, 20, 12, 0.9);
    border: 1px solid rgba(220, 165, 95, 0.3);
    color: #c9b097;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: Cinzel, serif;
}
.btn-weapon-subtype:hover {
    background: rgba(220, 165, 95, 0.2);
    color: #ffd700;
    border-color: #dca55f;
}
.btn-weapon-subtype.active {
    background: linear-gradient(180deg, #dca55f, #a26e32);
    color: #1a0e05;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(220, 165, 95, 0.4);
}

/* ─── MODAL EMERGENTE AUTÉNTICO CENTRADO EN PANTALLA (SIN PARPADEO) ─── */
.mu-modal {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(5, 3, 2, 0.88) !important;
    z-index: 999999 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
.mu-modal.is-open,
.mu-modal[style*="display: flex"],
.mu-modal[style*="display:flex"] {
    display: flex !important;
}
.mu-modal__backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: transparent !important;
    cursor: pointer !important;
    z-index: 1 !important;
}
.mu-modal__box {
    position: relative !important;
    z-index: 10 !important;
    background: linear-gradient(150deg, rgba(22, 14, 9, 0.99) 0%, rgba(12, 7, 4, 1) 100%) !important;
    border-top: 2px solid #e5c158 !important;
    border-left: 2px solid #b8933b !important;
    border-right: 2px solid #573f15 !important;
    border-bottom: 2px solid #3d2b0c !important;
    border-radius: 4px !important;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.95), 0 0 30px rgba(212, 175, 55, 0.25) !important;
    width: 100% !important;
    max-width: 500px !important;
    animation: muModalPop 0.18s cubic-bezier(0.175, 0.885, 0.32, 1.2) !important;
    overflow: hidden !important;
    margin: auto !important;
}
.mu-modal__header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 18px !important;
    background: #18110b !important;
    border-bottom: 1px solid #3d2b17 !important;
}
.mu-modal__title {
    color: #ffd700 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    font-family: 'Cinzel', serif !important;
    letter-spacing: 0.5px !important;
}
.mu-modal__close {
    background: linear-gradient(180deg, #2a1f14 0%, #150f09 100%) !important;
    border-top: 1.5px solid #8c7152 !important;
    border-left: 1.5px solid #634f38 !important;
    border-right: 1.5px solid #332619 !important;
    border-bottom: 1.5px solid #20170e !important;
    color: #d4af37 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 3px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
    padding: 0 !important;
}
.mu-modal__close:hover {
    background: linear-gradient(180deg, #7f1d1d 0%, #450a0a 100%) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5) !important;
}
.mu-modal__body {
    padding: 18px 22px !important;
}
