.store-toolbar{display:flex;justify-content:space-between;gap:24px;align-items:end;margin:0 0 20px;padding:20px;background:#f7fbfe;border:1px solid #cbdce8;border-radius:10px}.store-toolbar h2{margin:4px 0}.store-toolbar p{margin:0;color:#587083}.store-filters{display:flex;gap:8px}.store-filters input,.store-filters select{min-width:190px}.store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.store-product{display:flex;flex-direction:column;background:#fff;border:1px solid #ccdbe6;border-radius:10px;overflow:hidden}.store-image{height:220px;border:0;background:#f1f6fa;padding:0;cursor:pointer}.store-image img{width:100%;height:100%;object-fit:cover}.store-image span{display:grid;place-items:center;height:100%;font-weight:800;color:#087fc0}.store-product-body{display:flex;flex:1;flex-direction:column;padding:16px}.store-product-body h3{margin:8px 0;font-size:1.05rem}.store-product-body p{color:#607589;min-height:38px}.store-meta,.store-product-foot{display:flex;justify-content:space-between;align-items:center;gap:8px}.store-meta{font-size:.75rem;color:#607589}.in-stock{color:#227b45}.out-stock{color:#9a3434}.store-product-foot{margin-top:auto}.store-count{display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;background:#fff;color:#087fc0;border-radius:50%;font-size:12px}.store-overlay{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:rgba(3,28,48,.62)}.store-dialog{position:relative;width:min(900px,96vw);max-height:90vh;overflow:auto;background:#fff;border:1px solid #b9cfde;border-radius:12px;padding:28px}.store-close{position:absolute;right:14px;top:12px;width:auto;height:auto;padding:3px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;color:#17364e;font-size:24px;cursor:pointer}.store-close:hover,.store-close:focus,.store-close:focus-visible{border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;color:#087bc1}.store-detail{display:grid;grid-template-columns:minmax(260px,1fr) minmax(300px,1fr);gap:28px}.store-main-image{height:410px;display:grid;place-items:center;background:#f2f7fa;border:1px solid #d3e0e8;border-radius:9px;overflow:hidden}.store-main-image img{width:100%;height:100%;object-fit:contain}.store-thumbs{display:flex;gap:8px;margin-top:8px}.store-thumbs button{width:58px;height:58px;border:1px solid #ccdbe5;background:#fff;border-radius:6px;padding:2px}.store-thumbs img{width:100%;height:100%;object-fit:cover}.store-detail-copy h2{font-size:1.7rem;margin:6px 0}.store-price{font-size:1.35rem;font-weight:800;margin-bottom:14px}.store-detail-copy label,.store-form-grid label{display:grid;gap:6px;margin:12px 0;font-weight:700}.store-detail-copy select,.store-detail-copy input,.store-form-grid input{width:100%}.store-facts{margin-top:20px;border-top:1px solid #d7e2e9}.store-facts div{display:grid;grid-template-columns:120px 1fr;padding:9px 0;border-bottom:1px solid #e2e9ee}.store-facts dt{font-weight:700}.store-facts dd{margin:0}.store-long-description{margin-top:26px;padding-top:22px;border-top:1px solid #cad9e3}.store-cart-row{display:grid;grid-template-columns:62px 1fr 70px 34px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid #d8e3ea}.store-cart-thumb{height:58px;background:#f2f7fa;border-radius:6px;overflow:hidden}.store-cart-thumb img{width:100%;height:100%;object-fit:contain}.store-cart-row div:nth-child(2){display:grid;gap:3px}.store-cart-row small,.store-cart-row span,.store-note{color:#607589}.store-remove{border:0;background:transparent;font-size:22px}.store-cart-total{display:flex;justify-content:space-between;font-size:1.25rem;padding:18px 0}.store-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.store-payment{display:grid;gap:5px;margin:18px 0;padding:16px;background:#f3f9fd;border:1px solid #c6dce9;border-radius:8px}.store-payment span{font-weight:700;color:#087fc0}.store-payment small{color:#607589}.store-terms{display:flex;gap:8px;margin:16px 0}.store-error{color:#a52525;font-weight:700}.store-empty{grid-column:1/-1;padding:40px;text-align:center;background:#fff;border:1px dashed #b9cfdd;border-radius:9px}@media(max-width:760px){.store-toolbar,.store-filters{align-items:stretch;flex-direction:column}.store-detail{grid-template-columns:1fr}.store-main-image{height:300px}.store-form-grid{grid-template-columns:1fr}.store-dialog{padding:22px 16px}.store-cart-row{grid-template-columns:50px 1fr 60px 28px}}
.store-gateway-warning{display:grid;gap:4px;margin:16px 0;padding:14px 16px;background:#fff8db;border:1px solid #e5c85f;border-radius:8px;color:#5f4b00}.store-gateway-warning span{font-size:.9rem}
.store-product-page{background:#fff;border:1px solid #cbdce8;border-radius:12px;padding:24px}.store-product-page-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:24px}.store-product-page .store-detail-copy h1{margin:6px 0;font-size:1.8rem}.store-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.store-product-actions .btn{width:100%}@media(max-width:760px){.store-product-page{padding:16px}.store-product-page-head{align-items:stretch;flex-direction:column}.store-product-actions{grid-template-columns:1fr}}
.store-overlay{z-index:1000002!important}

/* Finalización de compra. */
.store-dialog:has(#store-checkout){width:min(860px,96vw);padding:30px;background:linear-gradient(145deg,#fff,#f8fbfd)}
.store-dialog:has(#store-checkout)>h2{margin:0 0 7px;color:#102f47;font-size:27px}
.store-dialog:has(#store-checkout)>.store-note{margin:0 0 22px;color:#60798a;font-size:14px;line-height:1.5}
#store-checkout .store-form-grid{gap:13px 18px}
#store-checkout .store-form-grid label{gap:7px;margin:0;color:#48667b;font-size:12px;font-weight:700}
#store-checkout .store-form-grid input,#store-checkout .store-form-grid select{width:100%;height:43px;padding:10px 12px;border:1px solid #bfd1dc;border-radius:9px;background:#fff;color:#17364e;font-weight:500;outline:none;transition:border-color .15s,box-shadow .15s}
#store-checkout .store-form-grid input:focus,#store-checkout .store-form-grid select:focus{border-color:#087bc1;box-shadow:0 0 0 3px rgba(8,123,193,.12)}
#store-checkout .store-payment{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:15px;margin:22px 0 17px;padding:16px 18px;border:1px solid #bdd9e8;border-radius:14px;background:linear-gradient(135deg,#f3faff,#eaf5fb);box-shadow:0 5px 14px rgba(17,74,108,.06)}
.store-payment-icon{display:grid;place-items:center;width:76px;height:62px;border-radius:13px;background:#fff;box-shadow:0 4px 12px rgba(19,54,78,.1)}
.store-payment-icon svg{width:68px;height:54px}
.store-payment-copy{display:grid;gap:3px}.store-payment-copy b{color:#6a8191;font-size:11px;letter-spacing:.055em;text-transform:uppercase}.store-payment-copy strong{color:#17364e;font-size:16px}.store-payment-copy small{color:#668091;font-size:12px}
.store-payment-lock{padding:6px 9px;border-radius:999px;background:#e4f6e9;color:#277743;font-size:11px;font-weight:800;white-space:nowrap}
#store-checkout .store-terms{align-items:flex-start;margin:15px 2px;color:#536f82;font-size:13px;line-height:1.4}
#store-checkout .store-terms input{flex:0 0 auto;margin-top:2px;accent-color:#087bc1}
#store-checkout .store-pay-button{min-height:44px;padding-inline:22px;box-shadow:0 5px 13px rgba(8,123,193,.18)}
@media(max-width:650px){.store-dialog:has(#store-checkout){padding:24px 16px}.store-dialog:has(#store-checkout)>h2{font-size:23px}#store-checkout .store-payment{grid-template-columns:66px minmax(0,1fr);padding:14px}.store-payment-icon{width:60px;height:52px}.store-payment-icon svg{width:56px;height:46px}.store-payment-lock{grid-column:2;justify-self:start}.store-payment-copy strong{font-size:14px}#store-checkout .store-pay-button{width:100%}}
.store-checkout-summary{display:grid;gap:8px;margin:0 0 20px}.store-checkout-summary article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid #d4e3eb;border-radius:12px;background:#fff;box-shadow:0 3px 10px rgba(20,67,96,.05)}.store-checkout-product-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#17364e;color:#f2c94c;font-size:23px}.store-checkout-summary article>div:nth-child(2){display:grid;gap:2px;min-width:0}.store-checkout-summary small{color:#718797;font-size:10px;letter-spacing:.04em;text-transform:uppercase}.store-checkout-summary strong{overflow:hidden;color:#17364e;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.store-checkout-summary span{color:#60798a;font-size:11px}.store-checkout-product-price{display:grid;justify-items:end;gap:2px;color:#075f98;white-space:nowrap}.store-checkout-product-price b{font-size:16px}@media(max-width:650px){.store-checkout-summary article{grid-template-columns:40px minmax(0,1fr)}.store-checkout-product-price{grid-column:2;justify-items:start}.store-checkout-summary strong{white-space:normal}}

/* Checkout fijo, completo y sin desplazamiento interno. */
@media(min-width:651px){
  .store-overlay:has(#store-checkout){align-items:center;padding:10px!important;overflow:hidden}
  .store-dialog:has(#store-checkout){box-sizing:border-box;width:min(860px,calc(100vw - 20px));height:auto;max-height:calc(100dvh - 20px)!important;padding:24px 30px!important;overflow:hidden!important}
  .store-dialog:has(#store-checkout)>h2{font-size:25px;line-height:1.15}
  .store-dialog:has(#store-checkout)>.store-note{margin-bottom:14px}
  #store-checkout .store-checkout-summary{margin-bottom:13px}
  #store-checkout .store-checkout-summary article{padding-block:9px}
  #store-checkout .store-form-grid{gap:8px 18px}
  #store-checkout .store-form-grid label{gap:4px}
  #store-checkout .store-form-grid input,#store-checkout .store-form-grid select{height:39px;padding-block:7px}
  #store-checkout .store-payment{margin:13px 0 10px;padding-block:11px}
  #store-checkout .store-terms{margin:9px 2px}
  #store-checkout .store-pay-button{min-height:40px}
}
.store-order-confirmation>span:not(.store-order-confirmation-icon){margin-bottom:-7px;color:#60798a;font-size:12px}.store-order-confirmation aside dl{display:grid;gap:0;margin:12px 0 0}.store-order-confirmation aside dl div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;padding:9px 0;border-top:1px solid #e5edf2}.store-order-confirmation aside dt{color:#60798a;font-size:12px;font-weight:800}.store-order-confirmation aside dd{margin:0;color:#17364e;font-weight:800;overflow-wrap:anywhere}@media(max-width:480px){.store-order-confirmation aside dl div{grid-template-columns:1fr;gap:3px}}

/* Resumen real del pedido y confirmacion interna de transferencia. */
.store-checkout-product-icon{overflow:hidden;width:56px;height:56px;border:1px solid #d8e6ee;background:#f7fbfd}.store-checkout-product-icon img{width:100%;height:100%;object-fit:contain;background:#fff}.store-checkout-product-icon span{display:grid;place-items:center;width:100%;height:100%;background:#17364e}.store-order-confirmation{display:grid;justify-items:center;gap:10px;padding:14px;text-align:center}.store-order-confirmation-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e8f7e6;color:#27843b;font-size:30px;font-weight:900}.store-order-confirmation>small{color:#60798a;text-transform:uppercase;letter-spacing:.08em}.store-order-confirmation>h2{margin:0}.store-order-confirmation>p{max-width:520px;margin:0;color:#526d7e}.store-order-confirmation>div{display:flex;justify-content:space-between;width:min(100%,520px);padding:14px;border-radius:12px;background:#eef7fc;color:#17364e}.store-order-confirmation aside{width:min(100%,520px);padding:16px;border:1px solid #d4e3eb;border-radius:12px;background:#fff;text-align:left}.store-order-confirmation aside p{margin:8px 0 0;color:#526d7e;overflow-wrap:anywhere}
.store-order-confirmation .store-confirmation-actions{display:flex;justify-content:center;gap:10px;width:min(100%,520px);padding:0;background:transparent}.store-confirmation-actions .store-receipt-download{border:1px solid #0786cc;background:#fff;color:#0575b5}.store-confirmation-actions .store-receipt-download:hover{background:#eef8fe}.store-confirmation-actions button:disabled{cursor:wait;opacity:.7}.store-order-confirmation .store-receipt-help{max-width:520px;margin:0;color:#60798a;font-size:12px;line-height:1.45;text-align:center}
@media(max-width:650px){.store-checkout-product-icon{width:48px;height:48px}.store-checkout-summary article{grid-template-columns:48px minmax(0,1fr)}.store-order-confirmation .store-confirmation-actions{align-items:stretch;flex-direction:column}.store-confirmation-actions button{width:100%}}
