/* StarPay Cash — tienda.css
   Tienda, productos, catálogo, carrito y pedidos.
   Reglas separadas del CSS original; conserva los nombres de clases existentes.
*/

.temu-header{display:flex;gap:6px;overflow-x:auto;padding:8px 0;margin-bottom:8px;scrollbar-width:none}

.temu-header::-webkit-scrollbar{display:none}

.temu-pill{white-space:nowrap;background:#fff;border:1px solid #D6F2FF;border-radius:20px;padding:6px 12px;font-size:10px;font-weight:700;cursor:pointer;flex-shrink:0}

.temu-pill.active{background:#1A1A2E;color:#fff;border-color:#1A1A2E}

.temu-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}

@media (min-width:600px) {
.temu-grid{grid-template-columns:repeat(3,1fr)}
}

.temu-card{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #D6F2FF;cursor:pointer;position:relative;transition:.15s}

/* BORDE FUERTE - Override para tienda real */

.temu-card{border:3px solid #000000 !important;border-radius:12px !important;box-shadow:5px 5px 0 #000000 !important;background:#FFFFFF !important;overflow:visible !important}

.temu-grid{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:14px !important;max-width:440px !important;margin:0 auto !important}

.temu-card:active{transform:scale(.97)}

.temu-card-img{width:100%;aspect-ratio:1;background:#F8F7FF;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}

.temu-card-info{padding:8px}

.temu-card-title{font-size:11px;font-weight:700;color:#1A1A2E;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.temu-card-price{font-size:12px;font-weight:900;color:#00A8D6;margin-top:4px;display:flex;align-items:center;gap:4px}

.temu-badge{position:absolute;top:6px;left:6px;background:#00A8D6;color:#fff;font-size:7px;font-weight:800;padding:2px 6px;border-radius:20px}

.temu-owned{position:absolute;top:6px;right:6px;background:#00C896;color:#fff;font-size:7px;font-weight:800;padding:2px 6px;border-radius:20px}

/* ===== CSS original #2; id=starpay-shop-borde-fuerte ===== */

.shop-bf-shell{--sbf-cyan:#00A8D6;--sbf-blue:#0070BA;--sbf-ink:#080808;background:#fff;color:#0F172A;border:3px solid #080808;border-radius:16px;box-shadow:5px 5px 0 #080808;padding:14px;margin:0 auto 18px;max-width:100%;overflow:hidden;isolation:isolate}

.shop-bf-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 1px 14px;border-bottom:3px solid #080808}

.shop-bf-brand-block{min-width:0;flex:1}

.shop-bf-eyebrow{font-size:9px;font-weight:900;letter-spacing:.17em;color:#0070BA;line-height:1.2}

.shop-bf-eyebrow span{color:#00A8D6}

.shop-bf-title{font-size:clamp(20px,4.6vw,27px);font-weight:950;letter-spacing:-.055em;line-height:1.04;color:#080808;margin:5px 0 5px}

.shop-bf-title span{color:#00A8D6}

.shop-bf-subtitle{font-size:10px;line-height:1.35;color:#64748B;font-weight:650;max-width:250px}

.shop-bf-balance-block{flex-shrink:0;text-align:right;max-width:48%}

.shop-bf-balance{display:inline-flex;align-items:center;gap:6px;background:#080808;color:white;border:2px solid #080808;border-radius:999px;padding:7px 10px;box-shadow:3px 3px 0 #00A8D6;white-space:nowrap;max-width:100%}

.shop-bf-balance-icon{display:inline-flex;align-items:center;justify-content:center}

.shop-bf-balance-icon svg{width:16px;height:16px}

.shop-bf-balance strong{font-size:13px;font-weight:950;letter-spacing:-.02em}

.shop-bf-balance-block>p{font-size:8px;font-weight:800;color:#64748B;margin-top:7px;white-space:nowrap}

.shop-bf-balance-block>p span{color:#00A8D6}

.shop-bf-tabs{display:flex;gap:7px;align-items:center;overflow-x:auto;padding:12px 2px 15px;scrollbar-width:none}

.shop-bf-tabs::-webkit-scrollbar,.shop-bf-featured-scroll::-webkit-scrollbar{display:none}

.shop-bf-tab{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:0 0 auto;white-space:nowrap;background:#fff;color:#080808;border:2px solid #080808;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;cursor:pointer;transition:transform .17s ease,background .17s ease,box-shadow .17s ease}

.shop-bf-tab:active{transform:scale(.96)}

.shop-bf-tab.active{background:#080808;color:#fff;box-shadow:3px 3px 0 #00A8D6}

.shop-bf-tab svg{width:15px;height:15px;flex-shrink:0}

.shop-bf-tab-count{font-size:8px;line-height:1;background:#EAF7FC;color:#080808;border:1px solid #080808;border-radius:999px;padding:3px 5px;font-weight:950}

.shop-bf-tab.active .shop-bf-tab-count{background:#00A8D6;color:#fff;border-color:#fff}

.shop-bf-tip{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;background:#00A8D6;color:#fff;border:3px solid #080808;border-radius:12px;box-shadow:4px 4px 0 #080808;margin:0 2px 18px;animation:shopBfTipEnter .38s ease both}

.shop-bf-tip-icon{width:34px;height:34px;flex-shrink:0;border-radius:50%;background:#fff;color:#080808;border:2px solid #080808;display:flex;align-items:center;justify-content:center}

.shop-bf-tip-icon svg{width:19px;height:19px}

.shop-bf-tip p{font-size:12px;font-weight:950;line-height:1.2;margin:1px 0 4px}

.shop-bf-tip span{display:block;font-size:10px;line-height:1.4;font-weight:650;color:rgba(255,255,255,.96)}

.shop-bf-featured-section{margin:0 0 20px}

.shop-bf-section-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:17px 2px 12px}

.shop-bf-section-heading h2{display:flex;align-items:center;gap:7px;font-size:15px;line-height:1.2;font-weight:950;color:#080808;min-width:0}

.shop-bf-heading-mark{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}

.shop-bf-heading-mark svg{width:19px;height:19px}

.shop-bf-section-count{flex-shrink:0;background:#EAF7FC;color:#080808;border:1.5px solid #080808;border-radius:999px;padding:4px 7px;font-size:9px;line-height:1;font-weight:950}

.shop-bf-main-heading{margin-top:7px}

.shop-bf-main-heading h2 svg{width:18px;height:18px;flex-shrink:0}

.shop-bf-featured-scroll{display:flex;gap:13px;overflow-x:auto;padding:6px 5px 12px;scrollbar-width:none}

.shop-bf-featured-item{flex:0 0 168px;min-width:0;animation:shopBfRise .3s ease both}

.shop-bf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:5px 5px 10px;max-width:100%;margin:0 auto}

.shop-bf-card{position:relative;min-width:0;overflow:hidden!important;background:#fff!important;border:3px solid #080808!important;border-radius:12px!important;box-shadow:5px 5px 0 #080808!important;transition:transform .18s ease,box-shadow .18s ease;animation:shopBfRise .32s ease both}

.shop-bf-card:hover{transform:translateY(-2px);box-shadow:5px 7px 0 #080808!important}

.shop-bf-card-head{position:relative;z-index:2;min-height:32px;padding:6px 7px;background:#F8FAFC;border-bottom:2px solid #080808;display:flex;align-items:center;justify-content:space-between;gap:5px}

.shop-bf-card-head-free{background:#EAF7FC}

.shop-bf-rarity{display:inline-flex;align-items:center;gap:4px;min-width:0;max-width:calc(100% - 6px);padding:3px 6px;color:#fff;border:1.5px solid #080808;border-radius:6px;font-size:8px;line-height:1;font-weight:950;letter-spacing:.035em;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.shop-bf-rarity svg{width:12px;height:12px;flex-shrink:0}

.shop-bf-free-rarity{background:#00A8D6!important}

.shop-bf-in-use{background:#080808;color:#fff;border-radius:999px;padding:4px 6px;font-size:7px;line-height:1;font-weight:950;white-space:nowrap;flex-shrink:0}

.shop-bf-card-body{position:relative;z-index:2;padding:9px 8px 9px;text-align:center;background:#fff}

.shop-bf-preview{height:91px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#F8FAFC;border:1px solid #E2E8F0;border-radius:9px;padding:6px;margin-bottom:8px;position:relative}

.shop-bf-preview>div{max-width:100%;max-height:100%}

.shop-bf-preview svg{max-width:100%;max-height:100%}

.shop-bf-preview img{max-width:100%;max-height:100%;object-fit:contain}

.shop-bf-item-name{font-size:12px;line-height:1.2;font-weight:950;color:#0F172A;min-height:15px;overflow-wrap:anywhere}

.shop-bf-subtitle{font-size:8px;line-height:1.2;color:#64748B;font-weight:700;margin-top:3px;min-height:10px}

.shop-bf-price-row{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:8px 0 9px}

.shop-bf-price{display:inline-flex;align-items:center;gap:4px;min-width:0;border:2px solid #080808;border-radius:7px;padding:4px 5px;background:#080808;color:#fff;font-size:10px;line-height:1;font-weight:950;white-space:nowrap;box-shadow:2px 2px 0 #00A8D6}

.shop-bf-coin{display:inline-flex;width:15px;height:15px;align-items:center;justify-content:center;border:1.5px solid #080808;border-radius:50%;background:#00A8D6;color:#fff;font-size:8px;font-weight:950}

.shop-bf-price-label{font-size:8px;color:#64748B;font-weight:850}

.shop-bf-action{position:relative;z-index:12;display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:33px;padding:7px 5px;border:2px solid #080808;border-radius:8px;background:#fff;color:#080808;font-family:inherit;font-size:10px;line-height:1;font-weight:950;letter-spacing:.03em;cursor:pointer;transition:transform .15s ease,background .15s ease;box-shadow:2px 2px 0 #080808}

.shop-bf-action svg{width:14px;height:14px;flex-shrink:0}

.shop-bf-action:active{transform:scale(.97)}

.shop-bf-action-buy{background:#00A8D6;color:#fff}

.shop-bf-action-buy:hover{background:#0070BA}

.shop-bf-action-equip{background:#EAF7FC;color:#080808}

.shop-bf-action-owned{background:#fff;color:#080808}

.shop-bf-action-disabled{background:#E5E7EB;color:#64748B;cursor:not-allowed;box-shadow:none;opacity:.85}

.shop-bf-free-label{background:#F1F5F9;border:2px solid #080808;border-radius:8px;padding:8px;color:#0F172A;font-size:10px;font-weight:900;margin-top:4px}

.shop-bf-owned-overlay{position:absolute;z-index:5;top:38px;left:5px;right:5px;bottom:51px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.24);backdrop-filter:blur(.4px);-webkit-backdrop-filter:blur(.4px);border-radius:7px;pointer-events:none;overflow:hidden}

.shop-bf-stamp{width:clamp(75px,78%,112px);aspect-ratio:1;border:3px solid #080808;border-radius:50%;background:#fff;color:#080808;box-shadow:3px 3px 0 #080808;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transform:rotate(-12deg);animation:shopBfStamp .34s cubic-bezier(.2,.8,.2,1) both}

.shop-bf-stamp svg{width:15px;height:15px}

.shop-bf-stamp span{font-size:clamp(10px,2.7vw,13px);font-weight:1000;letter-spacing:.025em;line-height:1}

.shop-bf-feature-color{width:42px;height:42px;border-radius:50%;border:3px solid #080808;margin:3px auto}

.shop-bf-feature-frame{height:52px;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:2px}

.shop-bf-feature-frame .frame-icon-flicker{display:inline-flex;max-width:27px}

.shop-bf-feature-frame-name{font-size:12px;font-weight:900;color:#0F172A}

.shop-bf-feature-theme{height:58px;width:100%;border:2px solid #080808;border-radius:8px;margin:0 auto}

.shop-bf-footer{text-align:center;padding:17px 4px 3px;margin-top:9px;color:#94A3B8;font-size:9px;font-weight:900;letter-spacing:.14em}

.shop-bf-footer span{color:#00A8D6}

.shop-bf-catalog>.shop-bf-grid{margin-top:0}

.shop-bf-catalog>div[style*="max-width:440px"]{max-width:100%!important}

@media (min-width:560px) {
.shop-bf-shell{padding:18px}
.shop-bf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.shop-bf-card-body{padding:11px 10px 10px}
.shop-bf-preview{height:105px}
.shop-bf-item-name{font-size:13px}
.shop-bf-action{font-size:11px}
.shop-bf-featured-item{flex-basis:190px}
}

@media (min-width:900px) {
.shop-bf-shell{padding:20px;border-radius:18px}
.shop-bf-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.shop-bf-header{padding-bottom:17px}
.shop-bf-title{font-size:28px}
.shop-bf-subtitle{font-size:12px}
.shop-bf-tab{font-size:11px;padding:9px 12px}
.shop-bf-preview{height:115px}
.shop-bf-featured-item{flex-basis:200px}
}

@media (max-width:360px) {
.shop-bf-shell{padding:10px;border-width:2px;box-shadow:3px 3px 0 #080808}
.shop-bf-header{gap:7px}
.shop-bf-title{font-size:19px}
.shop-bf-balance strong{font-size:11px}
.shop-bf-balance{padding:6px 7px}
.shop-bf-grid{gap:10px}
.shop-bf-preview{height:78px;padding:4px}
.shop-bf-card-body{padding:7px 6px}
.shop-bf-item-name{font-size:11px}
.shop-bf-subtitle{font-size:7px}
.shop-bf-action{font-size:9px}
}

@media (prefers-reduced-motion:reduce) {
.shop-bf-card,.shop-bf-stamp,.shop-bf-tip{animation:none!important;transition:none!important}
}

@media (min-width:701px) {
.temu-grid{ max-width:1600px !important; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)) !important; }
}

.sp-shop-wrap{background:#F0F9FF;border:2.5px solid #000;border-radius:16px;box-shadow:5px 5px 0 #000;padding:12px;max-width:1200px;margin:0 auto}

.sp-shop-scroll{display:flex;gap:12px;overflow-x:auto;padding:6px 2px 10px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}

.sp-shop-scroll::-webkit-scrollbar{display:none}

.sp-shop-card{flex:0 0 152px;width:152px;background:#fff;border:2.5px solid #000;border-radius:12px;box-shadow:4px 4px 0 #000;overflow:hidden;cursor:pointer;scroll-snap-align:start}

.sp-shop-card:active{transform:scale(.97)}

.sp-pill-casi{display:inline-block;background:#fff;border:1.5px solid #EF4444;color:#EF4444;border-radius:999px;padding:2px 6px;font-size:8px;font-weight:900;letter-spacing:.3px}

.sp-pill-desc{display:inline-block;background:#00A8D6;color:#fff;border:1.5px solid #000;border-radius:999px;padding:1px 5px;font-size:9px;font-weight:900}

.sp-cart-btn{width:32px;height:32px;border-radius:50%;background:#00A8D6;border:2px solid #000;box-shadow:2px 2px 0 #000;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}

.sp-arrow-btn{position:absolute;top:42%;width:32px;height:32px;border-radius:50%;background:#fff;border:2px solid #000;box-shadow:2px 2px 0 #000;display:flex;align-items:center;justify-content:center;font-weight:900;cursor:pointer;z-index:5}

.sp-order-row2{display:flex;align-items:center;gap:10px;background:#fff;border:2.5px solid #000;border-radius:12px;box-shadow:3px 3px 0 #000;padding:10px 12px;margin-top:8px}

.sp-scratch2{position:relative;background:#CBD5E1;border:2px dashed #64748B;border-radius:10px;padding:16px;text-align:center;cursor:pointer;overflow:hidden}

.sp-scratch2.revealed{background:#EFF6FF;border:2px solid #00A8D6}

.sp-scratch2 .cover{position:absolute;inset:0;background:linear-gradient(135deg,#94A3B8,#CBD5E1);display:flex;align-items:center;justify-content:center;font-weight:900;color:#334155}

.sp-scratch2.revealed .cover{display:none}

.sp-modal-bg2{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9999;display:flex;align-items:flex-end;justify-content:center}

.sp-modal2{width:100%;max-width:520px;background:#fff;border-radius:20px 20px 0 0;padding:16px;max-height:92vh;overflow:auto}

.sp-cart-overlay{position:fixed;inset:0;background:#F0F9FF;z-index:9999;overflow:auto}

.sp-svg{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}

.sp-shop-grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;padding:2px}

@media (min-width:700px) {
.sp-shop-grid2{grid-template-columns:repeat(3,1fr)}
}

@media (min-width:1000px) {
.sp-shop-grid2{grid-template-columns:repeat(4,1fr)}
}

.sp-paypal-box2{background:#FFFFFF !important;border:2.5px solid #000 !important;border-radius:12px !important;box-shadow:4px 4px 0 #000 !important;padding:12px !important}

.sp-shop-card{flex:none !important;width:auto !important}

.sp-arrow-btn{display:none !important}
