/* V27: tabla inspirada en FusionGEN clasico */
.mw-store-intro,.mw-store-note{color:#b5b5a3;font-size:12px;line-height:1.6;margin:12px 8px 16px}
.mw-store-filters{display:flex;flex-wrap:wrap;align-items:end;gap:9px;margin:12px 0;padding:10px;background:#101209;border:1px solid #4f4d35}
.mw-store-filters label{display:flex;flex:1 1 140px;flex-direction:column;gap:4px;color:#b9d958;font-size:12px}
.mw-store-filters select,.mw-store-filters input,.mw-store-buy-form select{box-sizing:border-box;width:100%;background:#10110d;border:1px solid #726a4b;color:#eee;padding:7px;min-width:0}
.mw-store-filters button,.mw-store-buy-form button{border:0;background:none;color:#a9db4e;cursor:pointer;padding:6px;font-size:12px}
.mw-store-buy-form button:hover{color:#fff}.mw-store-buy-form button:disabled{color:#777;cursor:not-allowed}
.mw-store-reset{color:#b5cc68;padding:7px}.mw-store-count{color:#c5bb8b;padding:8px 3px;font-size:12px}
.mw-store-notice{padding:11px;margin:10px 0;background:#1b1c0f;border:1px solid #736b37;color:#e4de9e;font-size:12px}
.mw-store-list{width:100%;border-top:1px solid #766c4d;border-left:1px solid #766c4d;background:#090a05}
.mw-store-row{display:grid;grid-template-columns:minmax(0,1fr) 105px 105px;min-height:62px;background:rgba(15,14,8,.95)}
.mw-store-row:nth-child(even){background:rgba(29,23,13,.95)}
.mw-store-row>div{border-right:1px solid #726b4b;border-bottom:1px solid #726b4b;min-width:0}
.mw-store-product{display:flex;align-items:center;gap:12px;padding:7px 8px}
.mw-store-product img,.mw-store-no-icon{display:block;flex:none;width:44px;height:44px;box-sizing:border-box;border:1px solid #8e8774;border-radius:4px;background:#080909}
.mw-store-no-icon{text-align:center;line-height:44px;font-size:24px}.mw-store-item-detail{min-width:0;display:flex;flex-direction:column;gap:2px}
.mw-store-item-detail small{color:#777;font-size:10px}.mw-store-name{font-size:15px;line-height:1.3;position:relative;display:inline-block;overflow-wrap:anywhere}
.mw-store-name.quality-0,.mw-store-tooltip .quality-0{color:#9d9d9d}.mw-store-name.quality-1,.mw-store-tooltip .quality-1{color:#fff}.mw-store-name.quality-2,.mw-store-tooltip .quality-2{color:#1eff00}.mw-store-name.quality-3,.mw-store-tooltip .quality-3{color:#0070dd}.mw-store-name.quality-4,.mw-store-tooltip .quality-4{color:#a335ee}.mw-store-name.quality-5,.mw-store-tooltip .quality-5{color:#ff8000}.mw-store-name.quality-6,.mw-store-tooltip .quality-6{color:#e6cc80}.mw-store-name.quality-7,.mw-store-tooltip .quality-7{color:#e6cc80}
.mw-store-cost,.mw-store-action{display:flex;justify-content:center;align-items:center;flex-direction:column;gap:3px;padding:6px;color:#f8f8f3;font-size:12px}
.mw-store-buy-inactive{color:#a8db4c;opacity:.65}.mw-store-buy-form{display:flex;flex-direction:column;align-items:stretch;gap:4px;width:100%}.mw-store-buy-form select{font-size:10px;padding:2px}
.mw-store-tooltip{display:none;position:absolute;z-index:100;top:100%;left:0;width:265px;max-width:80vw;padding:12px;box-sizing:border-box;border:1px solid #d6ab00;border-radius:4px;color:#eee;background:linear-gradient(#06061c,#080820);box-shadow:0 3px 14px #000;font:12px/1.5 Arial,sans-serif;white-space:normal;pointer-events:none}
.mw-store-tooltip strong,.mw-store-tooltip small,.mw-store-tooltip span{display:block}.mw-store-tooltip small{color:#aaa;padding:3px 0}.mw-store-name:hover .mw-store-tooltip,.mw-store-name:focus .mw-store-tooltip{display:block}
@media(max-width:570px){.mw-store-row{grid-template-columns:minmax(0,1fr) 65px 90px}.mw-store-product{gap:6px;padding:5px}.mw-store-name{font-size:12px}.mw-store-product img,.mw-store-no-icon{height:34px;width:34px}.mw-store-tooltip{left:-40px}.mw-store-cost{font-size:10px}}

/* DRAKKARI V36: alineacion de la tienda; solo presentacion, sin cambios PHP. */
.mw-store-list{box-sizing:border-box;max-width:100%;width:100%;border-right:1px solid #766c4d;overflow:hidden}
.mw-store-list .mw-store-row{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:auto auto;min-height:0;align-items:stretch}
.mw-store-list .mw-store-product{grid-column:1;grid-row:1;display:flex;min-height:76px;gap:12px;padding:13px 14px;box-sizing:border-box}
.mw-store-list .mw-store-item-detail{flex:1;min-width:0;max-width:100%;align-items:flex-start;justify-content:center;gap:5px}
.mw-store-list .mw-store-name{font-size:15px;line-height:1.4;overflow-wrap:break-word;word-break:normal;text-decoration:none}
.mw-store-list .mw-store-name:hover{text-decoration:underline}
.mw-store-list .mw-store-item-detail span[style]{max-width:100%;box-sizing:border-box;white-space:normal}
.mw-store-list .mw-store-cost{grid-column:2;grid-row:1;min-height:76px;padding:10px 8px;box-sizing:border-box;font-size:16px;font-weight:700;color:#ffe27a;white-space:nowrap;gap:6px}
.mw-store-list .mw-store-action{grid-column:1/-1;grid-row:2;padding:10px 13px;box-sizing:border-box;display:flex;align-items:stretch;justify-content:center;background:rgba(50,55,24,.30);border-top:1px solid rgba(145,136,80,.25)}
.mw-store-list .mw-store-buy-form{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(80px,100px) minmax(115px,145px);align-items:center;gap:10px;width:100%;margin:0}
.mw-store-list .mw-store-buy-form select{box-sizing:border-box;width:100%;min-width:0;height:38px;padding:7px 9px;font-size:13px;border:1px solid #6d6a43;border-radius:3px;background:#10150d;color:#f4f4e8;line-height:1.3}
.mw-store-list .mw-store-buy-form button{min-height:38px;padding:9px 14px;font-size:13px;font-weight:700;text-transform:uppercase;border:1px solid #718238;border-radius:3px;background:linear-gradient(180deg,#3b4b20 0%,#1c290f 100%);color:#e9f2bb;cursor:pointer}
.mw-store-list .mw-store-buy-form button:hover:not(:disabled){background:linear-gradient(180deg,#59702c 0%,#283c15 100%);color:white}
.mw-store-list .mw-store-buy-inactive{display:block;text-align:center;padding:9px 12px}
.mw-store-filters{box-sizing:border-box;max-width:100%;gap:10px;padding:13px 12px}
.mw-store-filters label{min-width:0;flex:1 1 175px}
.mw-store-filters input,.mw-store-filters select{height:39px;font-size:13px}
.mw-store-filters button{min-height:38px;padding:8px 13px;border:1px solid #54692a;border-radius:3px;background:#222d13;color:#cde47b}
.mw-store-filters .mw-store-reset{align-self:center;white-space:nowrap}
.mw-store-count{padding:10px 4px}
@media(max-width:570px){
 .mw-store-list .mw-store-row{grid-template-columns:minmax(0,1fr) 105px}
 .mw-store-list .mw-store-product{min-height:68px;gap:9px;padding:10px 8px}
 .mw-store-list .mw-store-name{font-size:13px}
 .mw-store-list .mw-store-product img,.mw-store-list .mw-store-no-icon{width:38px;height:38px;line-height:38px}
 .mw-store-list .mw-store-cost{min-height:68px;font-size:13px}
 .mw-store-list .mw-store-action{padding:9px 8px}
 .mw-store-list .mw-store-buy-form{grid-template-columns:minmax(0,1fr) 90px;gap:7px}
 .mw-store-list .mw-store-buy-form button{grid-column:1/-1;min-height:39px}
}
@media(max-width:360px){.mw-store-list .mw-store-row{grid-template-columns:minmax(0,1fr) 85px}.mw-store-list .mw-store-buy-form{grid-template-columns:minmax(0,1fr) 75px}.mw-store-list .mw-store-buy-form select{font-size:12px;padding:6px}}
