: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}}

/* Pull TCG — edición de diseño minimalista (2026): fondo lateral editable */
.shop-page {
  background-color:#e9edf2;
  background-image:var(--store-bg-image, repeating-linear-gradient(135deg,#eff1f5 0px,#eff1f5 19px,#e8ebf0 20px,#e8ebf0 21px,#eff1f5 22px,#eff1f5 44px));
  background-position:center 78px;
  background-size:cover;
  background-attachment:fixed;
}
.shop-page .main-content {
  width:min(1220px,calc(100% - 90px));
  background:#fff;
  padding:45px 36px 96px;
  min-height:calc(100vh - 157px);
  border-left:1px solid #e7e9ef;
  border-right:1px solid #e7e9ef;
  box-shadow:0 8px 32px rgba(20,30,45,.035);
}
.shop-page .site-footer {
  width:min(1220px,calc(100% - 90px));
  margin-inline:auto;
  border-left:1px solid #e7e9ef;
  border-right:1px solid #e7e9ef;
}
.shop-page .site-footer .footer-inner {width:calc(100% - 72px)}
.shop-page .header-inner {gap:22px}
.shop-page .header-actions {gap:13px}
.brand img {width:51px;height:auto;max-height:42px;object-fit:contain;aspect-ratio:auto}
.brand-name {font-size:24px}
.brand-name small {font-size:13px}
.instagram-link {width:37px;height:37px;display:grid;place-items:center;color:#414853;border:1px solid #e6e8ee;background:#fff;border-radius:10px;flex-shrink:0}
.instagram-link:hover {color:#e54845;border-color:#f0b4b1;background:#fff9f8}
.instagram-link svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.exchange-rate {color:#434955;background:#f7f8fa;border:1px solid #e4e7ec;border-radius:9px;padding:9px 11px;font-size:12px;font-weight:750;white-space:nowrap}
.shop-page .header-search input{min-width:180px;width:min(290px,26vw)}
.shop-page .heading-row {margin-bottom:29px}
.shop-page .heading-row h1{font-size:clamp(27px,3.1vw,33px)}
.category[data-category=all].active {background:#212735;color:#fff;border-color:#212735}
.product-card {cursor:pointer}
.product-image-link{display:block}
.product-title-link:hover .product-name{text-decoration:underline;text-decoration-color:#a2aab7;text-underline-offset:3px}
.product-card:focus-within{border-color:#9aa5b6}
.product-card .product-photo {height:197px}
.detail-main {padding-top:38px!important}
.back-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#677281;font-weight:650;margin:0 0 25px}
.back-link:hover{color:#e84545}
.product-detail{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:48px;align-items:start;padding:8px 0 26px}
.detail-photo {background:#f7f8fa;border:1px solid #e8ebef;border-radius:16px;min-height:435px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.detail-photo img {width:100%;height:435px;object-fit:contain;padding:35px}
.detail-photo .photo-empty{min-height:435px}
.detail-information{padding:8px 4px}
.detail-information h1{font-size:clamp(26px,3vw,36px);letter-spacing:-1.2px;line-height:1.17;margin:13px 0 8px}
.detail-sku{font-size:12px;color:#88919e;margin:0 0 24px}
.detail-price{font-size:31px;font-weight:820;letter-spacing:-.7px;margin:0 0 7px}
.detail-availability{font-size:14px;font-weight:650;margin:0 0 25px}
.detail-add{padding:13px 26px;min-width:214px;font-size:14px}
.detail-view-cart{display:inline-flex;margin-left:9px;padding:13px 22px}
.detail-description-block{margin-top:37px;padding-top:22px;border-top:1px solid #e5e9ef}
.detail-description-block h2{font-size:16px;margin:0 0 10px}
.detail-description-block p{white-space:pre-wrap;overflow-wrap:anywhere;color:#4e5766;font-size:14px;line-height:1.8;margin:0}
.detail-note{color:#89919d;font-size:12px;margin-top:27px;line-height:1.6}
/* Administración: cotización, banner, estado agotado */
.store-settings-panel {padding:23px 25px;margin-bottom:23px}
.settings-heading h2{font-size:23px;letter-spacing:-.6px;margin:5px 0 3px}
.settings-heading p{font-size:13px;color:#7c8490;margin:0 0 19px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 25px;align-items:start}
.settings-grid .field{min-width:0}
.settings-grid .field input[type=file]{font-size:12px}
.field-help{font-weight:400;font-size:12px;color:#848b96;line-height:1.5}
.background-admin-preview{min-height:80px;border:1px dashed #d8dde6;border-radius:9px;display:flex;align-items:center;justify-content:center;text-align:center;padding:12px;color:#8a929f;font-size:12px}
.background-admin-preview img{max-width:100%;width:100%;height:120px;object-fit:cover;border-radius:5px}
.settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.settings-actions p{flex:1;min-height:unset;color:#5a6775}
@media(max-width:980px){
  .shop-page .main-content,.shop-page .site-footer{width:calc(100% - 42px)}
  .shop-page .main-content{padding-inline:25px}
  .shop-page .site-footer .footer-inner{width:calc(100% - 50px)}
  .exchange-rate{font-size:11px}
}
@media(max-width:760px){
  .shop-page .main-content,.shop-page .site-footer{width:100%;border-left:0;border-right:0}
  .shop-page .main-content{padding:28px 16px 65px}
  .shop-page .site-footer .footer-inner{width:calc(100% - 32px)}
  .shop-page .header-inner{gap:9px;padding:9px 0}
  .shop-page .brand{margin-right:auto}
  .shop-page .header-actions{gap:8px;flex:1;flex-wrap:wrap;justify-content:flex-end}
  .shop-page .header-search{order:5;flex-basis:100%;width:100%}
  .shop-page .header-search input{width:100%;max-width:none;height:36px}
  .brand img{width:41px;max-height:36px}
  .brand-name{font-size:21px}
  .brand-name small{font-size:10px}
  .exchange-rate{font-size:10px;padding:7px 8px}
  .instagram-link{width:34px;height:34px}
  .instagram-link svg{width:17px;height:17px}
  .shop-page .heading-row h1{font-size:28px}
  .shop-page .heading-row p{font-size:14px}
  .category-bar{gap:7px}
  .category{padding:9px 13px;min-width:0;font-size:12px}
  .product-card .product-photo{height:159px}
  .product-detail{grid-template-columns:1fr;gap:25px}
  .detail-photo{min-height:265px}
  .detail-photo img{height:280px;padding:18px}
  .detail-photo .photo-empty{min-height:265px}
  .detail-information{padding:0}
  .detail-view-cart{margin-left:4px}
  .settings-grid{grid-template-columns:1fr}
  .store-settings-panel{padding:17px}
  .settings-actions{flex-wrap:wrap}
}
@media(max-width:390px){
  .exchange-rate{font-size:10px}
  .detail-add,.detail-view-cart{width:100%;margin:0 0 9px;justify-content:center;text-align:center}
}


/* Ajustes solicitados: logotipo horizontal, búsqueda centrada, footer social y relieve suave. */
.brand-name {white-space:nowrap;line-height:1.12;letter-spacing:-.9px;font-size:23px}
.shop-page:not(.detail-page) .header-inner {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(210px,320px) minmax(0,1fr);
  align-items:center;
  column-gap:20px;
}
.shop-page:not(.detail-page) .header-inner>.brand {grid-column:1;justify-self:start}
.shop-page:not(.detail-page) .header-inner>.header-search {grid-column:2;width:100%;justify-self:center}
.shop-page:not(.detail-page) .header-inner>.header-search input {width:100%;min-width:0;max-width:none}
.shop-page:not(.detail-page) .header-inner>.header-actions {grid-column:3;justify-self:end;margin-left:0}
.shop-page .heading-row {
  align-items:center;
  padding:25px 27px;
  background:linear-gradient(120deg,#f8f9fb 0%,#f2f4f7 100%);
  border:1px solid #e6e9ee;
  border-radius:17px;
  box-shadow:0 9px 25px rgba(30,40,58,.06);
}
.shop-page .site-footer .footer-inner {
  display:grid;
  grid-template-columns:minmax(145px,1fr) auto minmax(200px,1fr);
  align-items:center;
  column-gap:22px;
}
.shop-page .footer-social {display:flex;align-items:center;justify-content:center;gap:22px}
.shop-page .footer-social a {display:inline-flex;align-items:center;gap:7px;color:#515966;font-size:13px;font-weight:600;white-space:nowrap}
.shop-page .footer-social a:hover {color:#d63d3d}
.shop-page .footer-social svg {width:19px;height:19px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;flex-shrink:0}
.shop-page .footer-social a:first-child svg {color:#d64671}
.shop-page .footer-social a:last-child svg {color:#0c9f64}
.shop-page .footer-categories {justify-self:end;white-space:nowrap;font-size:12px}
@media(max-width:950px){
  .shop-page:not(.detail-page) .header-inner {grid-template-columns:minmax(0,1fr) minmax(180px,270px) minmax(0,1fr);column-gap:12px}
  .shop-page .site-footer .footer-inner {grid-template-columns:auto 1fr;row-gap:13px}
  .shop-page .footer-social {grid-column:1 / -1;grid-row:2;justify-self:center}
  .shop-page .footer-categories {grid-column:2;grid-row:1}
}
@media(max-width:760px){
  .shop-page:not(.detail-page) .header-inner {display:flex;flex-wrap:wrap;gap:9px;justify-content:space-between}
  .shop-page:not(.detail-page) .header-inner>.brand {margin-right:auto}
  .shop-page:not(.detail-page) .header-inner>.header-actions {flex:0 0 auto;justify-content:flex-end;margin-left:0}
  .shop-page:not(.detail-page) .header-inner>.header-search {order:5;flex-basis:100%;width:100%}
  .shop-page:not(.detail-page) .header-inner>.header-search input {width:100%;max-width:none;height:38px}
  .brand-name{font-size:20px}
  .shop-page .heading-row {padding:19px 16px;box-shadow:0 7px 20px rgba(30,40,58,.05)}
  .shop-page .site-footer .footer-inner {display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
  .shop-page .footer-categories {text-align:right;white-space:normal}
}
@media(max-width:390px){
  .shop-page .footer-social {gap:14px}
  .shop-page .footer-social a {font-size:12px}
  .shop-page .footer-categories{font-size:11px}
  .shop-page .brand-name{font-size:18px}
}


/* Mejoras: modal de producto y precios con descuento */
.product-image-link,.product-title-link{display:block;border:0;background:transparent;color:inherit;text-decoration:none;padding:0;cursor:pointer;text-align:left;width:100%;font:inherit}
.product-title-link:hover .product-name{text-decoration:underline;text-decoration-color:#d8dade;text-underline-offset:3px}
.product-image-link .product-photo{width:100%}
.discount-price{display:flex;flex-wrap:wrap;align-items:center;column-gap:9px;row-gap:3px}
.discount-price .old-price{text-decoration:line-through;color:#9197a2;font-size:13px;font-weight:500;white-space:nowrap}
.discount-price .new-price{color:#d33232;font-size:20px;font-weight:800;letter-spacing:-.4px;white-space:nowrap}
.discount-badge{background:#e63e43;color:#fff;padding:3px 7px;border-radius:5px;font-size:10px;font-weight:800;white-space:nowrap}
.card-bottom .discount-price{min-width:0;max-width:75%;flex-direction:column;align-items:flex-start;gap:3px}
.card-bottom .discount-price .discount-badge{order:-1}
.admin-table .discount-price{flex-direction:column;align-items:flex-start}
.product-lightbox[hidden]{display:none!important}
.product-lightbox{position:fixed;inset:0;z-index:65;display:grid;place-items:center;padding:24px}
.product-lightbox-backdrop{position:absolute;inset:0;background:rgba(15,19,27,.63);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.product-lightbox-dialog{width:min(900px,100%);max-height:min(90vh,780px);overflow:auto;position:relative;z-index:1;background:#fff;border:1px solid #e2e6ec;border-radius:18px;box-shadow:0 30px 90px rgba(6,10,20,.32);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);outline:0}
.lightbox-image{background:#f6f7f9;min-height:425px;display:flex;justify-content:center;align-items:center}
.lightbox-image img{width:100%;height:425px;object-fit:contain;padding:30px}
.lightbox-image .photo-empty{min-height:300px}
.lightbox-info{padding:46px 36px 35px;display:flex;flex-direction:column;align-items:flex-start}
.lightbox-info h2{font-size:clamp(22px,2.3vw,30px);line-height:1.22;letter-spacing:-.8px;margin:15px 0 10px;overflow-wrap:anywhere}
.lightbox-price{margin:9px 0 11px}
.lightbox-price>.price{font-size:29px}
.lightbox-price .discount-price{gap:8px}
.lightbox-price .discount-price .old-price{font-size:17px}
.lightbox-price .discount-price .new-price{font-size:32px}
.lightbox-price .discount-badge{font-size:12px;padding:6px 9px}
.lightbox-description{margin:23px 0 27px;border-top:1px solid #ebedf0;padding-top:20px;width:100%}
.lightbox-description h3{font-size:14px;margin:0 0 10px}
.lightbox-description p{font-size:14px;line-height:1.7;color:#555e6b;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.lightbox-info .full{margin-top:auto}
.lightbox-close{position:absolute;right:15px;top:14px;z-index:2;border:0;width:36px;height:36px;border-radius:50%;font-size:27px;line-height:1;background:#f2f3f5;color:#303845;cursor:pointer}
.lightbox-open{overflow:hidden!important}
@media(max-width:650px){.product-lightbox{padding:12px}.product-lightbox-dialog{grid-template-columns:1fr;max-height:94vh}.lightbox-image{min-height:200px}.lightbox-image img{height:240px;padding:17px}.lightbox-info{padding:22px}.lightbox-info h2{font-size:23px;margin:11px 0 7px}.lightbox-description{margin:15px 0 19px;padding-top:14px}.lightbox-price .discount-price .new-price{font-size:27px}}

/* Ficha de producto: imagen inmóvil a la izquierda y contenido desplazable a la derecha. */
@media (min-width: 651px) {
  .product-lightbox-dialog {
    height: min(90vh, 780px);
    height: min(90dvh, 780px);
    max-height: none;
    overflow: hidden;
    align-items: stretch;
  }
  .lightbox-image {
    min-height: 0;
    height: 100%;
    overflow: hidden;
    position: relative;
    align-self: stretch;
  }
  .lightbox-image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: clamp(18px, 3vw, 36px);
  }
  .lightbox-info {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding-top: 62px;
  }
  .lightbox-info .full {
    flex-shrink: 0;
  }
}

/* Pull TCG · filtro de disponibilidad en catálogo */
.catalog-controls{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}
.availability-toggle{display:inline-flex;align-items:center;gap:9px;cursor:pointer;user-select:none;font-size:13px;color:#555e6c;font-weight:600;white-space:nowrap}
.availability-toggle input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.toggle-track{width:43px;height:24px;display:flex;align-items:center;background:#c9ced6;border-radius:20px;padding:3px;transition:background .2s ease;flex-shrink:0}
.toggle-knob{width:18px;height:18px;background:white;border-radius:100%;box-shadow:0 1px 3px #0002;transition:transform .2s ease}
.availability-toggle input:checked+.toggle-track{background:#16a34a}
.availability-toggle input:checked+.toggle-track .toggle-knob{transform:translateX(19px)}
.availability-toggle input:focus-visible+.toggle-track{outline:3px solid #93c5fd;outline-offset:3px}
@media(max-width:760px){.catalog-controls{gap:12px}.availability-toggle{font-size:12px}.catalog-meta{flex-wrap:wrap;gap:12px}.catalog-meta p{width:100%}}
