:root{--bg:#f8f9fb;--white:#fff;--text:#171a21;--muted:#747987;--line:#e7e9ee;--red:#e84545;--red-dark:#cf3333;--green:#0c9f64;--shadow:0 5px 24px rgba(30,35,50,.035);--radius:16px;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--text);background:var(--bg);font:15px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #adc9ff;outline-offset:2px}a{color:inherit;text-decoration:none}.wrap{width:min(1220px,calc(100% - 48px));margin:0 auto}.hidden,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{height:78px;background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:15}.header-inner{height:100%;display:flex;align-items:center;gap:45px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand img{width:56px;height:48px;object-fit:contain}.brand-name{font-size:25px;letter-spacing:-1.3px;font-weight:850;line-height:.88}.brand-name small{display:block;font-size:14px;letter-spacing:-.1px;text-align:right;line-height:1.2}.header-nav{display:flex;align-items:center;gap:27px;height:100%}.header-nav a{height:100%;display:flex;align-items:center;color:#555c68;font-weight:590;white-space:nowrap;position:relative}.header-nav a.nav-current{color:#171a21}.header-nav a.nav-current:after{position:absolute;content:"";height:3px;background:var(--red);bottom:16px;left:0;right:0;border-radius:8px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:20px}.header-search{position:relative;display:flex;align-items:center}.header-search svg{width:20px;height:20px;stroke:#8c929d;stroke-width:2;fill:none;position:absolute;left:17px;pointer-events:none}.header-search input{min-width:260px;width:min(330px,26vw);height:42px;border:1px solid #dfe2e7;background:#fafbfc;border-radius:9px;padding:0 16px 0 45px;outline:0}.header-search input:focus{border-color:#bfcbd9;background:#fff}.cart-header{border:0;background:transparent;padding:8px;position:relative;display:flex}.cart-header svg{width:25px;height:25px;stroke:#1e2026;stroke-width:1.8;fill:none}.cart-count{position:absolute;right:-3px;top:-3px;border-radius:100px;background:var(--red);color:#fff;font-weight:750;font-size:11px;min-width:19px;height:19px;display:grid;place-items:center;padding:0 4px}
.main-content{padding-top:43px;padding-bottom:88px;min-height:75vh}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:30px}.eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;font-weight:800;color:#8e939d}.heading-row h1,.admin-title-row h1{font-size:clamp(28px,3.1vw,34px);line-height:1.1;letter-spacing:-1.7px;margin:9px 0 9px;font-weight:760}.heading-row p,.admin-title-row p{margin:0;color:#757b87;font-size:16px}.quick-info{border:1px solid #e5ece8;border-radius:12px;background:#f5faf7;display:flex;align-items:center;padding:16px 18px;gap:13px;min-width:318px;margin-top:8px}.quick-info svg{width:29px;height:29px;fill:none;stroke:#159c62;stroke-width:1.8;flex-shrink:0}.quick-info div{display:grid;gap:1px}.quick-info strong{font-size:14px}.quick-info span{color:#677367;font-size:12px}.demo-notice,.notice{border-radius:11px;background:#fff8e8;border:1px solid #f2dfb9;color:#765523;padding:12px 16px;margin-bottom:24px;font-size:13px}.demo-notice code,.notice code{font-size:12px}.category-bar{display:flex;gap:9px;flex-wrap:wrap;margin:4px 0 27px}.category{border:1px solid #dcdee4;background:#fff;min-width:135px;border-radius:10px;padding:11px 20px;font-weight:650;font-size:14px;transition:.15s}.category:hover{border-color:#bbbec9}.category.active{background:#fff0ed;border-color:#f1aea8;color:#c5382e}.category[data-category=pokemon].active{background:#fff7e5;border-color:#f4ca75;color:#72510a}.category[data-category=accesorios].active{background:#edf4ff;border-color:#a9c8f3;color:#315a94}.catalog-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.catalog-meta p{margin:0;color:var(--muted);font-size:13px}.sort-label{display:flex;gap:10px;align-items:center;color:#8b909a;font-size:13px}.sort-label select{border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px 12px;color:#414750;outline:none;max-width:100%}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e6e8ed;border-radius:13px;min-width:0;overflow:hidden;transition:border-color .15s,transform .15s;box-shadow:var(--shadow)}.product-card:hover{border-color:#cfd4dc;transform:translateY(-2px)}.product-photo{height:203px;background:#f4f6f8;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.product-photo>img{width:100%;height:100%;object-fit:contain;padding:13px}.photo-empty{width:100%;height:100%;display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;color:#a4aab6;font-size:12px;letter-spacing:.1px}.photo-empty span{font-size:37px;color:#bdc5d1}.product-info{padding:15px 16px 16px;display:flex;flex:1;flex-direction:column;gap:10px}.product-name{font-size:15px;line-height:1.35;font-weight:690;min-height:41px;margin:0;overflow-wrap:anywhere}.pill-tag{width:max-content;font-size:11px;font-weight:650;padding:3px 9px;border-radius:6px}.tag-pokemon{background:#fff1ce;color:#946600}.tag-magic{background:#ffe3e2;color:#b83d39}.tag-accesorios{background:#e4f0ff;color:#3963a1}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:auto}.price{font-size:20px;font-weight:780;letter-spacing:-.6px}.available{font-size:12px;color:var(--green);white-space:nowrap}.unavailable{font-size:12px;color:#a16b65;white-space:nowrap}.available:before,.unavailable:before{content:"";display:inline-block;width:6px;height:6px;border-radius:100%;background:currentColor;margin-right:5px;vertical-align:middle}.add-button{display:flex;justify-content:center;align-items:center;gap:8px;width:100%;background:var(--red);color:#fff;border:1px solid var(--red);border-radius:9px;padding:9px 12px;font-size:13px;font-weight:690;margin-top:4px;min-height:38px}.add-button:hover:not(:disabled){background:var(--red-dark)}.message{border:1px solid var(--line);background:#fff;padding:22px;border-radius:11px;color:#777f8b;margin-bottom:18px}.site-footer{border-top:1px solid var(--line);background:#fff;padding:24px 0}.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:15px;color:#9196a0;font-size:12px}.footer-brand{display:flex;align-items:center;gap:7px}.footer-brand img{width:34px;height:28px;object-fit:contain}.footer-brand strong{color:#292c32}.footer-brand span{margin-left:12px}
.overlay{position:fixed;inset:0;background:rgba(16,20,28,.4);z-index:30}.drawer{position:fixed;top:0;bottom:0;right:0;width:min(440px,100vw);background:#fff;z-index:31;box-shadow:-10px 0 50px rgba(10,20,35,.13);transform:translateX(101%);transition:transform .25s ease;display:flex;flex-direction:column;visibility:hidden}.drawer.open{transform:translateX(0);visibility:visible}.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:25px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:3px 0 0;font-size:28px;letter-spacing:-1px}.icon-close{border:0;background:#f4f5f7;border-radius:9px;font-size:27px;width:36px;height:36px;line-height:1}.cart-items{flex:1;overflow:auto;padding:20px;display:flex;flex-direction:column;gap:12px}.empty-cart{text-align:center;color:#8c929c;padding:65px 20px}.cart-item{display:grid;grid-template-columns:66px 1fr auto;gap:10px;border:1px solid var(--line);border-radius:10px;padding:9px;align-items:center}.cart-item>img{width:66px;height:66px;object-fit:contain;border-radius:8px;background:#f5f6f9}.cart-name{font-size:13px;font-weight:700;line-height:1.3}.cart-small{font-size:12px;color:var(--muted)}.cart-lineprice{font-size:13px;font-weight:700;white-space:nowrap;align-self:start}.qty-control{display:flex;gap:9px;align-items:center;margin-top:7px}.qty-control button{background:#fff;border:1px solid #dfe2e8;border-radius:5px;width:24px;height:24px}.qty-control .remove-btn{width:auto;border:0;font-size:11px;color:#aa5454;text-decoration:underline;padding:0 4px}.cart-footer{padding:19px 24px 24px;border-top:1px solid var(--line)}.disclaimer{font-size:12px;color:#8d909a;line-height:1.5;margin:0 0 17px}.subtotal{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.subtotal strong{font-size:22px}.primary-button{border:1px solid var(--red);border-radius:9px;padding:11px 18px;color:#fff;background:var(--red);font-size:13px;font-weight:700;white-space:nowrap}.primary-button:hover:not(:disabled){background:var(--red-dark);border-color:var(--red-dark)}.primary-button span{padding-left:8px}.full{width:100%}.subtle-button{background:transparent;color:#9298a2;border:0;padding:10px;font-size:12px}.outline-button{border:1px solid #dfe2e9;background:#fff;padding:10px 13px;border-radius:8px;font-size:13px;font-weight:660}.text-link{font-size:13px;font-weight:650;color:#636a73}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#1b2421;color:#fff;padding:11px 17px;font-size:13px;border-radius:8px;z-index:70;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:min(480px,90vw);text-align:center}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.warning{background:#9d5228}
/* Administración */
.admin-header-label{padding-left:20px;border-left:1px solid var(--line);color:#7c828b;font-weight:700;font-size:13px}.admin-main{padding:45px 0 90px}.admin-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.admin-title-row h1{margin:6px 0}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px 20px;display:grid;gap:3px}.stat span{font-size:12px;color:var(--muted)}.stat strong{font-size:32px;letter-spacing:-1px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.admin-table-panel{padding:19px 0}.admin-toolbar{display:flex;align-items:center;gap:12px;padding:0 20px 18px}.admin-search{flex:1}.admin-search input,.field input,.field select,.field textarea{width:100%;border:1px solid #dfe2e9;border-radius:8px;background:#fff;color:#30343d;padding:11px 12px;outline:0}.admin-search input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:#a3bacf}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse;font-size:13px}.admin-table th{background:#fafbfc;color:#858b97;text-align:left;font-size:11px;font-weight:720;text-transform:uppercase;letter-spacing:.6px;padding:12px 20px;white-space:nowrap}.admin-table td{padding:15px 20px;border-top:1px solid #edf0f3;vertical-align:middle}.admin-product{display:flex;align-items:center;gap:11px;min-width:240px}.admin-product img{width:49px;height:50px;object-fit:contain;background:#f4f5f7;border-radius:7px}.admin-product-name{font-weight:700;line-height:1.3}.admin-product-detail{font-size:11px;color:#9ca0a7}.stock-input{width:72px!important;padding:8px!important}.stock-save{padding:6px 9px;font-size:11px;border:1px solid #e2e4e9;background:#fff;border-radius:7px;margin-left:6px}.stock-group{display:flex;align-items:center}.status-label{font-size:11px;color:#707888}.status-label.is-on{color:#128357}.admin-actions{display:flex;gap:7px;justify-content:end}.admin-actions button{border:1px solid #dfe3e8;background:#fff;border-radius:6px;padding:6px 9px;font-size:12px}.admin-actions button.danger{color:#b34b4b}.notice p{margin:5px 0 0}.login-shell{min-height:calc(100vh - 235px);display:grid;place-items:center}.login-panel{width:min(420px,100%);padding:32px}.login-panel h1{letter-spacing:-1px;margin:5px 0 8px}.login-panel p{color:var(--muted);font-size:13px;margin:0 0 22px}.form-grid{display:grid;gap:16px}.field{display:grid;gap:7px;font-size:13px;font-weight:650}.field textarea{resize:vertical}.form-message{font-size:12px;color:#b94b4b;margin:0;min-height:15px}.product-modal{background:#fff;width:min(570px,100vw);max-height:min(92vh,850px);border:1px solid var(--line);border-radius:15px;position:fixed;z-index:41;left:50%;top:50%;transform:translate(-50%,-45%);opacity:0;visibility:hidden;box-shadow:0 25px 100px rgba(0,0,0,.19);display:flex;flex-direction:column;transition:opacity .18s,transform .18s}.product-modal.open{visibility:visible;opacity:1;transform:translate(-50%,-50%)}.product-modal+.overlay{z-index:40}.modal-head{padding:18px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.modal-head h2{font-size:23px;letter-spacing:-.6px;margin:3px 0 0}.product-form{padding:22px 24px;overflow:auto}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check-field{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:650}.check-field input{accent-color:var(--red)}.image-preview-wrap{min-height:90px;display:flex;align-items:center;justify-content:center;border:1px dashed #d5dbe3;border-radius:8px;color:#a0a6b0;font-size:12px}.image-preview{max-width:200px;max-height:125px;object-fit:contain}.image-preview:not([src]){display:none}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:18px 0 2px}
@media (max-width:1050px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{gap:25px}.header-search input{min-width:170px;width:24vw}.quick-info{min-width:280px}}@media(max-width:760px){.wrap{width:min(100% - 30px,1220px)}.site-header{height:auto;min-height:69px}.header-inner{min-height:69px;gap:13px;flex-wrap:wrap;padding:10px 0}.brand img{width:46px;height:40px}.brand-name{font-size:22px}.brand-name small{font-size:11px}.header-nav{display:none}.header-actions{margin-left:auto;gap:9px}.header-search input{min-width:0;width:32vw;max-width:210px;height:37px;padding-left:34px;font-size:12px}.header-search svg{width:16px;height:16px;left:11px}.heading-row{flex-direction:column;gap:15px;margin-bottom:23px}.main-content{padding-top:28px}.heading-row h1{font-size:29px;letter-spacing:-1.1px}.heading-row p{font-size:14px}.quick-info{min-width:0;width:100%;margin:0;padding:12px 13px}.category-bar{gap:7px;margin-bottom:19px}.category{min-width:0;padding:9px 14px;font-size:13px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-photo{height:159px}.product-info{padding:11px;gap:8px}.product-name{font-size:13px;min-height:36px}.price{font-size:17px}.card-bottom{flex-wrap:wrap;row-gap:2px}.available,.unavailable{font-size:11px}.footer-inner{flex-direction:column;align-items:flex-start}.footer-brand span{display:none}.admin-main{padding-top:24px}.admin-title-row{align-items:flex-start;flex-direction:column}.stat-grid{grid-template-columns:repeat(2,1fr);gap:9px}.stat{padding:13px}.stat strong{font-size:27px}.admin-toolbar{flex-wrap:wrap}.admin-search{flex-basis:100%}.two-col{grid-template-columns:1fr}.product-modal{max-height:96vh;width:min(100vw - 16px,570px)}.product-form{padding:14px}.admin-header-label{display:none}}
@media(max-width:390px){.product-grid{grid-template-columns:1fr 1fr}.product-photo{height:132px}.header-search input{width:30vw}.category{padding:8px 11px}.product-card{border-radius:9px}.price{font-size:16px}}
