:root{
    --sfl-bg:#f4f8fd;
    --sfl-surface:#fff;
    --sfl-text:#071d42;
    --sfl-muted:#657995;
    --sfl-line:#d6e2ef;
    --sfl-blue:#0b5fc9;
    --sfl-blue-2:#074592;
    --sfl-blue-soft:#eaf3ff;
    --sfl-green:#079455;
    --sfl-green-soft:#e9f8f0;
    --sfl-amber:#b56a00;
    --sfl-amber-soft:#fff3df;
    --sfl-red:#b4232f;
    --sfl-red-soft:#fff0f1;
    --sfl-shadow:0 14px 34px rgba(29,71,120,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:var(--sfl-bg);color:var(--sfl-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}
a{color:inherit}.sfl-shell{width:min(1458px,calc(100% - 56px));margin:0 auto}
button,input,textarea,select{font:inherit}
button,a{transition:.16s ease}
.sfl-topbar{min-height:70px;background:linear-gradient(102deg,#1266cf 0%,#0a55b4 55%,#073f86 100%);color:#fff;box-shadow:0 5px 18px rgba(7,62,134,.15)}
.sfl-topbar-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.sfl-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none}.sfl-brand-mark{width:44px;height:44px;display:grid;place-items:center;overflow:hidden;border-radius:12px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22)}
.sfl-brand-mark svg{width:24px;height:24px;fill:#fff}.sfl-brand-mark img{width:100%;height:100%;object-fit:cover;background:#fff}.sfl-brand-copy{display:grid;gap:1px}.sfl-brand-copy strong{font-size:16px;font-weight:900}.sfl-brand-copy small{font-size:9px;font-weight:800;letter-spacing:.03em}
.sfl-top-actions{display:flex;align-items:center;gap:9px}.sfl-top-link,.sfl-top-pill{min-height:34px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border-radius:10px;text-decoration:none;font-size:11px;font-weight:800}.sfl-top-link:hover{background:rgba(255,255,255,.10)}
.sfl-top-pill{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.16)}.sfl-top-pill b{min-width:19px;height:19px;display:grid;place-items:center;border-radius:99px;background:#fff;color:var(--sfl-blue);font-size:10px}.sfl-inline-form{margin:0}.sfl-top-link.is-button{border:0;background:transparent;color:#fff;cursor:pointer}.sfl-top-link.is-button:hover{background:rgba(255,255,255,.10)}
.sfl-footer{padding:32px 0;color:#7890aa;font-size:11px;text-align:center}

/* Directorio */
.sfl-directory-hero{position:relative;overflow:hidden;border-bottom:1px solid #d9e5f2;background:radial-gradient(circle at 96% 35%,rgba(102,165,242,.16) 0 14%,transparent 14.2%),radial-gradient(circle at -6% 128%,rgba(80,151,237,.14) 0 20%,transparent 20.2%),linear-gradient(108deg,#f4f9ff 0%,#fff 54%,#eef6ff 100%)}
.sfl-directory-hero-inner{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 0 32px}.sfl-directory-copy{text-align:center}.sfl-directory-kicker{display:inline-flex;align-items:center;min-height:27px;margin-bottom:10px;padding:0 11px;border:1px solid #cfe0f4;border-radius:999px;background:rgba(255,255,255,.82);color:#0b5fc9;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.sfl-directory-copy h1{margin:0;color:#071d42;font-size:38px;line-height:1.05;font-weight:950;letter-spacing:-1.5px}.sfl-directory-copy p{margin:10px 0 0;color:#566d89;font-size:13px}
.sfl-directory-search-wrap{width:min(760px,100%);margin:21px auto 14px}.sfl-directory-search{height:58px;display:flex;align-items:center;gap:13px;padding:0 20px;border:1px solid #ccdbea;border-radius:14px;background:#fff;box-shadow:0 11px 26px rgba(34,73,116,.07)}.sfl-directory-search:focus-within{border-color:#80afe6;box-shadow:0 0 0 4px rgba(15,108,218,.08),0 11px 26px rgba(34,73,116,.07)}.sfl-directory-search svg{width:20px;height:20px;fill:#6c84a3}.sfl-directory-search input{width:100%;height:100%;border:0;outline:0;color:#17365d;font-size:13px;font-weight:650;background:transparent}.sfl-directory-search input::placeholder{color:#8295ad}
.sfl-directory-filters{display:flex;gap:10px;margin-top:2px}.sfl-directory-filters button{min-width:142px;height:42px;border:1px solid #d0ddea;border-radius:999px;background:#fff;color:#0a2a56;font-size:10px;font-weight:850;cursor:pointer;box-shadow:0 6px 14px rgba(31,72,117,.04)}.sfl-directory-filters button:hover{border-color:#93b9e9;transform:translateY(-1px)}.sfl-directory-filters button.is-active{border-color:#0c64cc;background:linear-gradient(110deg,#0d6fde,#0b55ba);color:#fff;box-shadow:0 9px 20px rgba(11,91,195,.18)}.sfl-directory-filters span{display:inline-grid;place-items:center;min-width:23px;height:23px;margin-left:7px;padding:0 6px;border-radius:99px;background:#f1f5fa}.sfl-directory-filters .is-active span{background:#fff;color:#0b5fc9}.sfl-directory-filters span.is-public{background:#e9f8ef;color:#0a8b50}.sfl-directory-filters span.is-private{background:#fff2dd;color:#ae6800}
.sfl-directory-list-section{padding:32px 0 64px}.sfl-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.sfl-section-heading h2{margin:0;font-size:22px;line-height:1.15;font-weight:900;letter-spacing:-.35px}.sfl-section-heading p{margin:6px 0 0;color:var(--sfl-muted);font-size:11px}.sfl-section-heading>small,.sfl-section-heading>strong{color:#637b99;font-size:10px;font-weight:850}.sfl-section-heading>strong{font-size:15px;color:#0b4fa5}
.sfl-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.sfl-directory-grid.is-single{grid-template-columns:minmax(360px,470px);justify-content:center}.sfl-directory-card{min-width:0;overflow:hidden;border:1px solid #cfdeed;border-radius:18px;background:#fff;box-shadow:0 12px 30px rgba(29,71,120,.09);text-decoration:none;color:inherit}.sfl-directory-card:hover{transform:translateY(-4px);border-color:#b9d3ef;box-shadow:0 20px 44px rgba(29,71,120,.14)}.sfl-directory-card:focus-visible{outline:3px solid rgba(15,108,218,.25);outline-offset:3px}
.sfl-directory-card-visual{height:132px;display:grid;place-items:center;background:radial-gradient(circle at 50% 46%,#fff 0 27%,rgba(255,255,255,.7) 27.5% 35%,transparent 35.5%),linear-gradient(130deg,#edf5ff 0%,#f9fcff 54%,#e8f2ff 100%);border-bottom:1px solid #e1e9f2}.sfl-store-logo{width:104px;height:104px;display:grid;place-items:center;overflow:hidden;border:8px solid rgba(255,255,255,.95);border-radius:50%;background:#fff;box-shadow:0 10px 25px rgba(36,74,119,.14)}.sfl-store-logo img{width:100%;height:100%;object-fit:contain}.sfl-store-logo span{font-size:20px;font-weight:900;color:#0b5fc9}
.sfl-directory-card-content{padding:19px 20px 20px}.sfl-directory-card-kicker{display:block;margin-bottom:5px;color:#7287a0;font-size:8.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.sfl-directory-card-content h3{margin:0;color:#071d42;font-size:20px;line-height:1.18;font-weight:950}.sfl-directory-card-content p{min-height:38px;margin:8px 0 15px;color:#667b94;font-size:11px;line-height:1.55}.sfl-directory-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #e6edf4}
.sfl-access-badge{display:inline-flex;align-items:center;gap:7px;min-height:27px;padding:0 10px;border-radius:999px;font-size:10px;font-weight:850}.sfl-access-badge i{width:7px;height:7px;border-radius:50%}.sfl-access-badge.is-public{background:var(--sfl-green-soft);color:#0b8c52}.sfl-access-badge.is-public i{background:#0da05e}.sfl-access-badge.is-private{background:var(--sfl-amber-soft);color:#a35f00}.sfl-access-badge.is-private i{background:#d88600}.sfl-visit-store{display:inline-flex;align-items:center;gap:9px;color:#0b5fc9;font-size:10.5px;font-weight:900}.sfl-visit-store b{font-size:18px;line-height:1}.sfl-directory-card:hover .sfl-visit-store{color:#074592}.sfl-directory-card:hover .sfl-visit-store b{transform:translateX(3px)}
.sfl-empty-state{padding:34px;border:1px dashed #cbd9e8;border-radius:15px;background:#fff;text-align:center}.sfl-empty-state strong{display:block;font-size:15px}.sfl-empty-state p{margin:7px 0 0;color:var(--sfl-muted);font-size:12px}.sfl-empty-state.is-error{border-style:solid;border-color:#f0c5c8;background:#fff8f8;color:#8e2029}.sfl-empty-state.is-filtered{margin-top:18px}

/* Store */
.sfl-store-hero{border-bottom:1px solid #d9e5f1;background:linear-gradient(105deg,#edf5ff,#fff 57%,#f3f8ff)}.sfl-store-hero-inner{min-height:170px;display:flex;align-items:center;justify-content:space-between;gap:30px}.sfl-store-type{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border-radius:999px;background:#e5f0fd;color:#0b57bd;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}.sfl-store-hero h1{margin:9px 0 4px;font-size:34px;line-height:1.06;font-weight:950;letter-spacing:-1px}.sfl-store-hero p{margin:0;color:#657995;font-size:12px}.sfl-store-pos-info{min-width:205px;padding:15px 17px;border:1px solid #d5e2f0;border-radius:13px;background:rgba(255,255,255,.78);box-shadow:0 8px 20px rgba(34,73,116,.06)}.sfl-store-pos-info small,.sfl-store-pos-info strong{display:block}.sfl-store-pos-info small{margin-bottom:4px;color:#7b8fa6;font-size:9px;font-weight:800;text-transform:uppercase}.sfl-store-pos-info strong{font-size:13px}
.sfl-store-content{padding:24px 0 52px}.sfl-flash{position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:13px 15px;border:1px solid #c9ddf4;border-radius:11px;background:#eff7ff;color:#184e8d;font-size:12px;font-weight:700}.sfl-flash.is-success{border-color:#bfe5d1;background:#effaf4;color:#0b7848}.sfl-flash.is-error{border-color:#efc6ca;background:#fff4f5;color:#992530}.sfl-flash.is-warning{border-color:#eed8ad;background:#fff9ee;color:#8d5c00}.sfl-flash button{border:0;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer}
.sfl-catalog-toolbar{display:grid;gap:12px;margin-bottom:24px}.sfl-catalog-search{display:grid;grid-template-columns:1fr auto;overflow:hidden;border:1px solid #cdddeb;border-radius:12px;background:#fff;box-shadow:0 7px 17px rgba(31,72,117,.05)}.sfl-catalog-search input{min-height:48px;padding:0 14px;border:0;outline:0;color:#17385e}.sfl-catalog-search button{min-width:100px;border:0;background:#0b5fc9;color:#fff;font-size:11px;font-weight:850;cursor:pointer}.sfl-category-strip{display:flex;gap:8px;overflow:auto;padding-bottom:2px}.sfl-category-strip a{white-space:nowrap;min-height:34px;display:inline-flex;align-items:center;padding:0 13px;border:1px solid #d4e0ec;border-radius:999px;background:#fff;text-decoration:none;color:#47617e;font-size:10.5px;font-weight:800}.sfl-category-strip a:hover{border-color:#9dc0e9;color:#0b57bd}.sfl-category-strip a.is-active{border-color:#0b5fc9;background:#eaf3ff;color:#0b57bd}
.sfl-catalog-section,.sfl-cart-section,.sfl-orders-section{margin-top:28px}.sfl-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.sfl-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d3e0ed;border-radius:15px;background:#fff;box-shadow:0 10px 26px rgba(30,70,115,.07)}.sfl-product-image{position:relative;aspect-ratio:1.35/1;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#f8fbff,#edf4fc)}.sfl-product-image img{width:100%;height:100%;object-fit:cover}.sfl-product-image>span{font-size:40px}.sfl-product-image small{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px 8px;border-radius:99px;background:rgba(255,255,255,.92);color:#405b78;font-size:9px;font-weight:850;box-shadow:0 3px 10px rgba(25,59,97,.08)}.sfl-product-copy{display:grid;gap:12px;flex:1;padding:14px}.sfl-product-copy code{font-family:inherit;color:#7c90a8;font-size:9px;font-weight:850}.sfl-product-copy h3{margin:3px 0 0;font-size:14px;line-height:1.3;font-weight:900}.sfl-product-copy p{display:-webkit-box;overflow:hidden;margin:6px 0 0;color:#6e8199;font-size:10.5px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sfl-product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:8px}.sfl-product-price-row strong{color:#0a4fa7;font-size:17px}.sfl-product-price-row small{color:#8596aa;font-size:8.5px}.sfl-product-stock{font-size:9.5px;font-weight:800}.sfl-product-stock.is-available{color:#0a8d53}.sfl-product-stock.is-unavailable{color:#b4232f}.sfl-product-add-form{display:grid;grid-template-columns:58px 1fr;gap:8px;margin-top:auto}.sfl-product-add-form input{width:100%;height:36px;padding:0 8px;border:1px solid #cad9e8;border-radius:8px;text-align:center}.sfl-product-add-form button{height:36px;border:0;border-radius:8px;background:#0b5fc9;color:#fff;font-size:10px;font-weight:850;cursor:pointer}.sfl-product-add-form button:disabled,.sfl-product-add-form input:disabled{opacity:.48;cursor:not-allowed}
.sfl-pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:20px}.sfl-pagination a,.sfl-pagination span{min-width:32px;height:32px;display:grid;place-items:center;border:1px solid #d0deeb;border-radius:8px;background:#fff;color:#49637f;text-decoration:none;font-size:10px;font-weight:850}.sfl-pagination a.is-active{border-color:#0b5fc9;background:#0b5fc9;color:#fff}.sfl-pagination a.is-disabled{pointer-events:none;opacity:.45}
.sfl-cart-section,.sfl-orders-section{padding:20px;border:1px solid #d2dfec;border-radius:16px;background:#fff;box-shadow:0 10px 28px rgba(30,70,115,.06)}.sfl-cart-form{display:grid;gap:15px}.sfl-cart-lines{display:grid;border:1px solid #e0e8f1;border-radius:11px;overflow:hidden}.sfl-cart-line{min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) 90px 130px 34px;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid #e7edf4}.sfl-cart-line:last-child{border-bottom:0}.sfl-cart-line>div{display:grid;gap:2px}.sfl-cart-line strong{font-size:11.5px}.sfl-cart-line small{color:#8192a8;font-size:9px}.sfl-cart-line input{height:34px;border:1px solid #cbd9e7;border-radius:7px;text-align:center}.sfl-cart-line>span{text-align:right;color:#0a4da2;font-size:11px;font-weight:850}.sfl-cart-line>button{width:30px;height:30px;border:1px solid #f0c9cc;border-radius:7px;background:#fff5f6;color:#b4232f;font-size:16px;cursor:pointer}.sfl-cart-totals{width:min(380px,100%);display:grid;gap:8px;margin-left:auto}.sfl-cart-totals>div{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#61758f;font-size:10px}.sfl-cart-totals strong{color:#183c66;font-size:11px}.sfl-cart-totals .is-total{padding-top:9px;border-top:1px solid #dbe5ef;color:#0a315e;font-size:12px;font-weight:850}.sfl-cart-totals .is-total strong{color:#0b57bd;font-size:17px}
.sfl-primary-button,.sfl-secondary-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:9px;text-decoration:none;font-size:11px;font-weight:850;cursor:pointer}.sfl-primary-button{border:1px solid #0b5fc9;background:linear-gradient(110deg,#0f72df,#0b54b9);color:#fff}.sfl-secondary-button{border:1px solid #cbdbea;background:#fff;color:#23496f}.sfl-primary-button.is-wide{width:100%;min-height:46px}.sfl-checkout-login{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:16px;padding:15px;border:1px solid #cfe0f3;border-radius:11px;background:#f5f9ff}.sfl-checkout-login strong{font-size:12px}.sfl-checkout-login p{margin:4px 0 0;color:#667b94;font-size:10px}.sfl-checkout-form{margin-top:18px;padding-top:18px;border-top:1px solid #e0e8f1}.sfl-checkout-form h3{margin:0 0 13px;font-size:14px}.sfl-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.sfl-form-grid label{display:grid;gap:5px}.sfl-form-grid label.span-2{grid-column:1/-1}.sfl-form-grid label>span{color:#395573;font-size:9.5px;font-weight:850}.sfl-form-grid label>span small{color:#8b9bb0;font-weight:600}.sfl-form-grid input,.sfl-form-grid textarea{width:100%;border:1px solid #cad9e7;border-radius:8px;background:#fff;outline:0;color:#15375d;font-size:11px}.sfl-form-grid input{height:39px;padding:0 10px}.sfl-form-grid textarea{padding:9px 10px;resize:vertical}.sfl-form-grid input:focus,.sfl-form-grid textarea:focus{border-color:#75aef0;box-shadow:0 0 0 3px rgba(30,111,215,.08)}
.sfl-order-filters{display:flex;gap:8px;margin-bottom:15px;overflow:auto}.sfl-order-filters a{white-space:nowrap;min-height:35px;display:inline-flex;align-items:center;gap:7px;padding:0 12px;border:1px solid #d2dfeb;border-radius:999px;background:#fff;text-decoration:none;color:#516a85;font-size:10px;font-weight:850}.sfl-order-filters a span{min-width:21px;height:21px;display:grid;place-items:center;border-radius:99px;background:#f0f4f9}.sfl-order-filters a.is-active{border-color:#0b5fc9;background:#eaf3ff;color:#0b57bd}.sfl-order-list{display:grid;gap:10px}.sfl-order-card{overflow:hidden;border:1px solid #d9e4ef;border-radius:11px;background:#fff}.sfl-order-head{min-height:58px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:14px;padding:9px 12px;background:#fbfdff;border-bottom:1px solid #e4ebf3}.sfl-order-head>div{display:grid;gap:2px}.sfl-order-head strong{font-size:12px}.sfl-order-head small{color:#7b8fa6;font-size:9px}.sfl-order-head>b{color:#0a4da2;font-size:12px}.sfl-order-status{min-height:25px;display:inline-flex;align-items:center;padding:0 9px;border-radius:999px;font-size:9px;font-weight:850}.sfl-order-status.is-pending{background:#fff3df;color:#9a5b00}.sfl-order-status.is-processed{background:#eaf8f1;color:#0a8550}.sfl-order-status.is-cancelled{background:#fff0f1;color:#a92731}.sfl-order-items{display:grid;padding:8px 12px}.sfl-order-items>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 0;border-bottom:1px dashed #e2e8ef;color:#4d6580;font-size:10px}.sfl-order-items>div:last-child{border-bottom:0}.sfl-order-items small{color:#8394a8}.sfl-order-items strong{color:#173b65}.sfl-order-notes{margin:0;padding:0 12px 10px;color:#70839a;font-size:9.5px}.sfl-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding:9px 12px;border-top:1px solid #e7edf3;background:#fbfdff}.sfl-order-actions form{margin:0}.sfl-mini-button{min-height:31px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border:1px solid #cddbe8;border-radius:7px;background:#fff;color:#365777;text-decoration:none;font-size:9.5px;font-weight:850;cursor:pointer}.sfl-mini-button.is-primary{border-color:#b8d6f7;background:#edf6ff;color:#0b57bd}.sfl-mini-button.is-danger{border-color:#efc8cc;background:#fff5f6;color:#b4232f}

/* Auth */
.sfl-auth-main{min-height:calc(100vh - 150px);display:grid;place-items:center;padding:42px 20px}.sfl-auth-card{width:min(480px,100%);padding:28px;border:1px solid #d3dfec;border-radius:17px;background:#fff;box-shadow:0 18px 45px rgba(30,70,115,.10);text-align:center}.sfl-auth-back{display:block;margin-bottom:16px;text-align:left;color:#5d7590;text-decoration:none;font-size:10px;font-weight:800}.sfl-auth-icon{width:52px;height:52px;display:grid;place-items:center;margin:0 auto 14px;border-radius:15px;background:#eaf3ff;color:#0b57bd;font-size:23px;font-weight:900}.sfl-auth-card h1{margin:0;font-size:23px}.sfl-auth-card>p{margin:9px auto 20px;max-width:390px;color:#667b94;font-size:11.5px;line-height:1.55}.sfl-auth-form{display:grid;gap:13px;text-align:left}.sfl-auth-form label{display:grid;gap:6px}.sfl-auth-form label span{color:#3c5876;font-size:10px;font-weight:850}.sfl-auth-form input{height:44px;padding:0 12px;border:1px solid #c9d8e7;border-radius:9px;outline:0;color:#15375d}.sfl-auth-form input:focus{border-color:#73acee;box-shadow:0 0 0 3px rgba(30,111,215,.08)}.sfl-auth-card>small{display:block;margin-top:15px;color:#8b9bb0;font-size:9.5px}.sfl-otp-input{text-align:center;font-size:22px!important;font-weight:900;letter-spacing:8px}.sfl-form-message{margin-bottom:13px;padding:10px 12px;border-radius:9px;font-size:10.5px;text-align:left}.sfl-form-message.is-error{border:1px solid #efc7ca;background:#fff5f6;color:#a22832}.sfl-error-card .sfl-primary-button{margin-top:8px}

/* Factura */
.sfl-invoice-main{padding:24px 0 50px}.sfl-invoice-actions{display:flex;justify-content:flex-end;gap:9px;margin-bottom:14px}.sfl-invoice-sheet{width:min(980px,calc(100% - 40px));margin:0 auto;padding:34px;border:1px solid #d2dfec;border-radius:13px;background:#fff;box-shadow:0 14px 36px rgba(30,70,115,.08)}.sfl-invoice-head{display:flex;justify-content:space-between;gap:30px;padding-bottom:22px;border-bottom:2px solid #0b5fc9}.sfl-invoice-head>div:first-child>span{color:#0b5fc9;font-size:10px;font-weight:900;letter-spacing:.12em}.sfl-invoice-head h1{margin:6px 0 3px;font-size:24px}.sfl-invoice-head p{margin:0;color:#768aa3;font-size:10px}.sfl-invoice-number{min-width:220px;display:grid;justify-items:end;gap:3px}.sfl-invoice-number small{color:#8192a8;font-size:8.5px;text-transform:uppercase}.sfl-invoice-number strong{font-size:18px}.sfl-invoice-number b{font-size:11px}.sfl-invoice-meta{display:grid;grid-template-columns:1.4fr .8fr;gap:20px;padding:19px 0}.sfl-invoice-meta>div{display:grid;gap:3px}.sfl-invoice-meta small{color:#8092a8;font-size:8.5px;text-transform:uppercase}.sfl-invoice-meta strong{font-size:12px}.sfl-invoice-meta span{color:#637991;font-size:9.5px}.sfl-invoice-table-wrap{overflow:auto}.sfl-invoice-table{width:100%;border-collapse:collapse}.sfl-invoice-table th{padding:9px 8px;border-bottom:1px solid #cbd9e7;background:#f6f9fc;color:#58708b;font-size:8.5px;text-align:left;text-transform:uppercase}.sfl-invoice-table td{padding:10px 8px;border-bottom:1px solid #e5ebf2;color:#314d6b;font-size:9.5px}.sfl-invoice-table td strong,.sfl-invoice-table td small{display:block}.sfl-invoice-table td small{margin-top:3px;color:#8192a8;font-size:8.5px}.sfl-invoice-bottom{display:grid;grid-template-columns:1fr 330px;gap:30px;margin-top:20px}.sfl-invoice-note small{color:#8192a8;font-size:8.5px;text-transform:uppercase}.sfl-invoice-note p{color:#546c87;font-size:9.5px}.sfl-invoice-totals{display:grid;gap:8px}.sfl-invoice-totals>div{display:flex;justify-content:space-between;gap:18px;color:#5a728d;font-size:10px}.sfl-invoice-totals strong{color:#173b65}.sfl-invoice-totals .is-total{padding-top:10px;border-top:2px solid #0b5fc9;color:#0b315e;font-size:12px;font-weight:900}.sfl-invoice-totals .is-total strong{color:#0b57bd;font-size:17px}

@media(max-width:1100px){.sfl-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sfl-directory-grid.is-single{grid-template-columns:minmax(360px,470px)}.sfl-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.sfl-shell{width:min(100% - 28px,1458px)}.sfl-topbar-inner{align-items:flex-start;padding:12px 0}.sfl-top-actions{flex-wrap:wrap;justify-content:flex-end}.sfl-directory-copy h1{font-size:32px}.sfl-directory-hero-inner{min-height:286px;padding:28px 0}.sfl-directory-grid,.sfl-directory-grid.is-single{grid-template-columns:1fr}.sfl-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sfl-store-hero-inner{align-items:flex-start;flex-direction:column;justify-content:center;padding:24px 0}.sfl-store-pos-info{width:100%}.sfl-invoice-bottom{grid-template-columns:1fr}.sfl-invoice-sheet{width:calc(100% - 20px);padding:22px}.sfl-cart-line{grid-template-columns:minmax(0,1fr) 74px 100px 32px}}
@media(max-width:600px){.sfl-topbar-inner{display:grid;grid-template-columns:1fr}.sfl-top-actions{justify-content:flex-start}.sfl-brand-copy strong{font-size:14px}.sfl-directory-copy h1{font-size:27px}.sfl-directory-copy p{font-size:12px}.sfl-directory-kicker{font-size:8px}.sfl-directory-search-wrap{margin-top:17px}.sfl-directory-search{height:52px}.sfl-directory-filters{width:100%;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.sfl-directory-filters button{min-width:0;height:40px;padding:0 7px;font-size:9px}.sfl-directory-list-section{padding-top:25px}.sfl-directory-card-visual{height:118px}.sfl-store-logo{width:88px;height:88px;border-width:7px}.sfl-directory-card-content{padding:16px}.sfl-directory-card-content h3{font-size:18px}.sfl-directory-card-content p{min-height:0}.sfl-directory-card-footer{align-items:flex-start;flex-direction:column;gap:10px}.sfl-product-grid{grid-template-columns:1fr}.sfl-form-grid{grid-template-columns:1fr}.sfl-form-grid label.span-2{grid-column:auto}.sfl-cart-line{grid-template-columns:1fr 68px 88px 30px;gap:7px;padding:8px}.sfl-checkout-login{align-items:flex-start;flex-direction:column}.sfl-order-head{grid-template-columns:1fr auto}.sfl-order-head>b{grid-column:1/-1}.sfl-order-actions{align-items:stretch;flex-direction:column}.sfl-order-actions form,.sfl-order-actions .sfl-mini-button{width:100%}.sfl-invoice-head{flex-direction:column}.sfl-invoice-number{justify-items:start}.sfl-invoice-meta{grid-template-columns:1fr}.sfl-invoice-sheet{padding:16px}.sfl-invoice-actions{width:calc(100% - 20px);margin-left:auto;margin-right:auto;flex-direction:column}.sfl-invoice-actions>*{width:100%}}
@media print{body{background:#fff}.sfl-topbar,.sfl-footer,.no-print{display:none!important}.sfl-invoice-main{padding:0}.sfl-invoice-sheet{width:100%;margin:0;padding:14mm;border:0;border-radius:0;box-shadow:none}@page{size:A4;margin:0}}

/* Modal de confirmación SFL */
body.sfl-modal-open{overflow:hidden}.sfl-confirm-overlay{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:18px;background:rgba(6,28,56,.46);opacity:0;transition:opacity .14s ease}.sfl-confirm-overlay.is-open{opacity:1}.sfl-confirm-dialog{width:min(480px,100%);overflow:hidden;border:1px solid #d4e0ec;border-radius:14px;background:#fff;box-shadow:0 26px 70px rgba(11,41,76,.28)}.sfl-confirm-head{min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 17px;border-bottom:1px solid #e1e9f2;background:#fbfdff}.sfl-confirm-head strong{font-size:14px}.sfl-confirm-head button{width:32px;height:32px;border:1px solid #d5e0eb;border-radius:8px;background:#fff;color:#58708a;font-size:20px;cursor:pointer}.sfl-confirm-body{display:grid;grid-template-columns:46px 1fr;gap:14px;align-items:center;padding:22px 18px}.sfl-confirm-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:#fff3df;color:#a46000;font-size:20px;font-weight:900}.sfl-confirm-body p{margin:0;color:#284966;font-size:12px;line-height:1.5}.sfl-confirm-actions{display:flex;justify-content:flex-end;gap:8px;padding:13px 17px 16px;border-top:1px solid #e3ebf3;background:#fbfdff}@media(max-width:520px){.sfl-confirm-actions{display:grid;grid-template-columns:1fr 1fr}.sfl-confirm-actions>*{width:100%}}

/* ============================================================
 * STORE SFL V1.0.005 · INTERFAZ CANÓNICA DEL STORE ANTERIOR
 * Solo cambia la capa de datos; la presentación sigue el patrón POS.
 * ============================================================ */
:root{
    --pos-navy:#071a38;
    --pos-blue:#1269d3;
    --pos-blue2:#0d55bd;
    --pos-green:#08a843;
    --pos-red:#e32727;
    --pos-bg:#f4f7fb;
    --pos-line:#dce3ec;
    --pos-text:#0e1930;
    --pos-muted:#64748b;
}

body.online-store-page{
    margin:0!important;
    min-height:100vh;
    overflow-x:hidden;
    background:var(--pos-bg)!important;
    color:var(--pos-text)!important;
    font-family:Arial,Helvetica,sans-serif!important;
}

.online-store-page .store-shell{width:100%;min-height:100vh;background:var(--pos-bg);overflow-x:hidden}
.online-store-page .store-topbar{
    min-height:82px;
    display:grid;
    grid-template-columns:285px minmax(320px,1fr) 88px 210px 155px;
    align-items:center;
    background:var(--pos-navy);
    color:#fff;
    box-shadow:0 4px 14px rgba(7,26,56,.18);
    position:relative;
    z-index:8500;
}
.online-store-page .store-brand{padding:0 22px;display:flex;align-items:center;gap:14px;font-size:17px;font-weight:700;min-width:0}
.online-store-page .store-brand > div:last-child{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-brand small{display:block;font-size:12px;font-weight:400;opacity:.82;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-brand .store-brand-customer{display:none}
.online-store-page .store-brand-logo{width:54px;height:54px;flex:0 0 54px;border-radius:50%;background:#fff;display:grid;place-items:center;overflow:hidden;box-shadow:0 0 0 3px rgba(255,255,255,.12)}
.online-store-page .store-brand-logo img{width:100%;height:100%;object-fit:contain;display:block}
.online-store-page .store-brand-logo svg{width:31px;height:31px;color:#1269d3}

.online-store-page .store-search{padding:0 22px;border-left:1px solid rgba(255,255,255,.08);border-right:1px solid rgba(255,255,255,.08)}
.online-store-page .store-search form{margin:0}
.online-store-page .store-search .pos-search-box{position:relative}
.online-store-page .store-search input{
    width:100%;height:52px;border:0;border-radius:12px;padding:0 92px 0 52px;font-size:16px;color:#25324a;background:#fff;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.12)
}
.online-store-page .pos-search-icon,.online-store-page .pos-scan-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:22px;color:#152849;pointer-events:none}
.online-store-page .pos-search-icon{left:17px}.online-store-page .pos-scan-icon{right:17px}
.online-store-page .store-search-clear{position:absolute;right:48px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:50%;background:#eef3f8;color:#526277;display:grid;place-items:center;font-size:20px;cursor:pointer}
.online-store-page .store-search-clear[hidden]{display:none!important}

.online-store-page .store-user-menu{position:relative;align-self:stretch;display:flex;align-items:center;min-width:0;padding:0 10px;border-right:1px solid rgba(255,255,255,.1);z-index:30000}
.online-store-page .store-user-button{appearance:none;width:100%;min-width:0;height:58px;margin:0;padding:7px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#fff;display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;column-gap:9px;cursor:pointer;font:inherit;text-align:left;text-decoration:none}
.online-store-page .store-user-login{grid-template-columns:34px minmax(0,1fr)}
.online-store-page .store-user-button:hover,.online-store-page .store-user-button[aria-expanded="true"]{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.08)}
.online-store-page .store-user-avatar{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;color:#b9d5ff;background:rgba(255,255,255,.08)}
.online-store-page .store-user-avatar svg{width:22px;height:22px}
.online-store-page .store-user-text{min-width:0;display:block}.online-store-page .store-user-label{display:block;color:#9fc6ff;font-size:10px;line-height:1.1;font-weight:600}.online-store-page .store-user-text strong{display:block;margin-top:3px;color:#fff;font-size:12px;line-height:1.15;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-user-caret{color:#a9bdd8;text-align:center;transition:transform .16s ease}.online-store-page .store-user-button[aria-expanded="true"] .store-user-caret{transform:rotate(180deg)}
.online-store-page .store-user-dropdown{position:absolute;top:calc(100% + 8px);right:8px;width:310px;max-width:calc(100vw - 24px);display:none;overflow:hidden;border:1px solid #dce4ee;border-radius:14px;background:#fff;color:#172033;box-shadow:0 18px 45px rgba(7,26,56,.26);z-index:31000;padding:7px}
.online-store-page .store-user-dropdown.open{display:block}.online-store-page .store-user-dropdown .store-account-head{padding:10px 9px 12px;border-bottom:1px solid #e6edf5;margin-bottom:5px}.online-store-page .store-user-dropdown .store-account-head strong,.online-store-page .store-user-dropdown .store-account-head span{display:block}.online-store-page .store-user-dropdown .store-account-head strong{font-size:13px}.online-store-page .store-user-dropdown .store-account-head span{font-size:11px;color:#69788c;margin-top:3px}.online-store-page .store-user-dropdown a,.online-store-page .store-user-dropdown button{width:100%;display:block;padding:10px;border:0;border-radius:8px;background:#fff;color:#172033;text-align:left;text-decoration:none;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.online-store-page .store-user-dropdown a:hover,.online-store-page .store-user-dropdown button:hover{background:#f1f5f9}

.online-store-page .store-clock{padding:0 22px;text-align:right;font-size:20px;line-height:1.25}.online-store-page .store-clock small{display:block;font-size:13px;opacity:.9}.online-store-page .store-clock em{display:block;margin-top:2px;font-size:10px;font-style:normal;opacity:.42}

.online-store-page .store-main{display:grid;grid-template-columns:minmax(0,64%) minmax(430px,36%);min-height:760px}
.online-store-page .store-catalog{padding:14px 10px 14px 14px;border-right:1px solid var(--pos-line);min-width:0}
.online-store-page .store-categories{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding-bottom:12px;min-width:0}
.online-store-page .store-categories .pos-category{min-height:44px;max-width:100%;padding:7px 14px;border:1px solid #d7dee8;border-radius:11px;background:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;color:#17233b;font-size:12px;line-height:1.2;font-weight:600;text-decoration:none;white-space:normal;overflow-wrap:anywhere;box-shadow:0 2px 5px rgba(15,23,42,.04)}
.online-store-page .store-categories .pos-category.active{background:#1476df;color:#fff;border-color:#1476df}

.online-store-page .store-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.online-store-page .store-product{position:relative;min-width:0;min-height:258px;padding:10px 11px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 2px 6px rgba(15,23,42,.045);overflow:hidden}
.online-store-page .store-product .pos-product-top{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0}
.online-store-page .store-product .pos-product-image{width:100%;height:120px;flex:0 0 120px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:9px;background:#f2f6fb;position:relative}
.online-store-page .store-product .pos-product-image img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border-radius:9px}
/* STORE V1.0.040: la foto agrega una unidad mediante el formulario original; favoritos conserva prioridad. */
.online-store-page .store-product .store-image-add{position:absolute;inset:0;z-index:1;display:block;width:100%;height:100%;margin:0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.online-store-page .store-product .store-image-add::after{content:"+";position:absolute;bottom:7px;left:7px;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;background:rgba(19,120,223,.96);color:#fff;font-size:22px;line-height:1;font-weight:500;box-shadow:0 2px 8px rgba(7,26,56,.20)}
.online-store-page .store-product .store-image-add:hover::after,.online-store-page .store-product .store-image-add:focus-visible::after{background:#0754b1}
.online-store-page .store-product .store-image-add:focus-visible{outline:3px solid #1476df;outline-offset:-3px;border-radius:9px}
.online-store-page .store-product .store-image-add:disabled{cursor:default;pointer-events:none}
.online-store-page .store-product .store-image-add:disabled::after{display:none}
.online-store-page .store-image-fallback{position:absolute;inset:0;display:grid;place-items:center;font-size:38px}
.online-store-page .store-favorite-form{position:absolute;top:7px;left:7px;margin:0;z-index:3}.online-store-page .store-favorite{width:36px;height:36px;border:1px solid #cbd8e8;border-radius:50%;background:rgba(255,255,255,.94);color:#7890ac;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 2px 8px rgba(7,26,56,.12)}.online-store-page .store-favorite.active{color:#e33d54}
.online-store-page .store-product .pos-product-name{font-size:13px;line-height:1.25;min-height:32px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.online-store-page .store-product .pos-product-code{font-size:10px;color:var(--pos-muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-product .pos-product-price{margin-top:6px;display:flex;align-items:baseline;gap:3px;white-space:nowrap}.online-store-page .store-product .pos-product-price .currency{font-size:11px;color:#334155;font-weight:700}.online-store-page .store-product .pos-product-price .amount{font-size:16px;color:#0b172d;font-weight:800}
.online-store-page .store-product .pos-product-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:5px;min-height:30px;gap:8px}.online-store-page .store-product .pos-stock{font-size:10px;background:#dff5e6;color:#187638;padding:3px 7px;border-radius:6px;white-space:nowrap}.online-store-page .store-product .pos-stock.service{background:#e7f0ff;color:#315b92}.online-store-page .store-product .pos-stock.unavailable{background:#fee2e2;color:#b91c1c}.online-store-page .store-add-form{margin:0}.online-store-page .store-product .pos-add{border:0;width:31px;height:31px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#1378df;color:#fff;font-size:23px;font-weight:400;line-height:1;cursor:pointer}.online-store-page .store-product .pos-add:disabled{background:#b9c9dc;cursor:not-allowed}
.online-store-page .store-pagination{display:flex;justify-content:center;gap:8px;align-items:center;padding:11px 0 5px}.online-store-page .store-pagination a{min-width:30px;height:30px;padding:0 4px;display:flex;align-items:center;justify-content:center;border-radius:50%;text-decoration:none;color:#17233b;font-weight:700}.online-store-page .store-pagination a.active{background:#1476df;color:#fff}
.online-store-page .store-no-products{padding:60px 20px;text-align:center;color:#718096;background:#fff;border-radius:12px}

.online-store-page .store-order{display:flex;flex-direction:column;background:#fff;min-width:0;position:sticky;top:0;height:calc(100vh - 20px);min-height:720px;overflow:hidden}
.online-store-page .store-order .pos-sale-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 12px;font-size:18px;font-weight:800}.online-store-page .pos-sale-head-actions{display:flex;align-items:center;gap:12px}.online-store-page .pos-sale-head-actions form{margin:0}.online-store-page .pos-clear{width:34px;height:34px;border:1px solid #dce3ec;border-radius:8px;background:#fff;color:#e32727;display:flex;align-items:center;justify-content:center;font-size:17px;line-height:1;cursor:pointer}
.online-store-page .store-customer-card{margin:0 14px 8px;border:1px solid #dce3ec;border-radius:12px;background:#fff;padding:10px;box-shadow:0 2px 8px rgba(15,23,42,.04)}.online-store-page .store-customer-card .pos-customer-view{display:flex;align-items:center;gap:11px}.online-store-page .store-customer-card .pos-customer-icon{width:38px;height:38px;border-radius:9px;background:#f1f5f9;display:flex;align-items:center;justify-content:center}.online-store-page .store-customer-card .pos-customer-icon svg{width:28px;height:28px}.online-store-page .store-customer-card .pos-customer-name{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-store-page .store-customer-card .pos-customer-meta{font-size:10px;color:var(--pos-muted);margin-top:3px}
.online-store-page .store-lines{margin:0 8px;border-top:1px solid var(--pos-line);border-bottom:1px solid var(--pos-line);flex:1;overflow:auto}.online-store-page .store-lines .pos-lines-head,.online-store-page .store-lines .pos-line{display:grid;grid-template-columns:minmax(0,1fr) 92px 80px 86px 28px;align-items:center;gap:5px}.online-store-page .store-lines .pos-lines-head{background:#0d55bd;color:#fff;padding:10px 12px;font-size:12px;font-weight:700;position:sticky;top:0;z-index:2}.online-store-page .store-lines .pos-line{padding:10px 12px;border-bottom:1px solid #e3e8ef;font-size:12px}.online-store-page .pos-line-product{min-width:0}.online-store-page .pos-line-name{font-weight:800;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.online-store-page .pos-line-code{font-size:11px;color:var(--pos-muted);margin-top:4px}.online-store-page .pos-qty{display:flex;align-items:center;justify-content:center}.online-store-page .pos-qty form{margin:0}.online-store-page .pos-qty button{width:30px;height:30px;border:1px solid #d7dee8;background:#fff;color:#17233b;font-size:19px;cursor:pointer}.online-store-page .pos-qty form:first-child button{border-radius:7px 0 0 7px}.online-store-page .pos-qty form:last-child button{border-radius:0 7px 7px 0}.online-store-page .pos-qty span{height:30px;min-width:32px;border-top:1px solid #d7dee8;border-bottom:1px solid #d7dee8;display:flex;align-items:center;justify-content:center;font-weight:800}.online-store-page .pos-line-price,.online-store-page .pos-line-total{text-align:right;white-space:nowrap;font-size:11px}.online-store-page .pos-line-total{font-weight:800}.online-store-page .pos-line>form{margin:0;text-align:center}.online-store-page .pos-line-delete{width:26px;height:26px;border:0;background:transparent;text-align:center;color:var(--pos-red);font-size:20px;cursor:pointer}.online-store-page .pos-empty{padding:55px 20px;text-align:center;color:#8290a5}
.online-store-page .store-summary{padding:12px 18px 8px;background:#fff}.online-store-page .store-summary .pos-summary-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;font-size:14px}.online-store-page .store-summary .pos-summary-row.total{margin-top:8px;border-top:1px dashed #cfd8e5;padding-top:14px;font-size:20px;font-weight:800}.online-store-page .store-summary .pos-summary-row.total strong{font-size:23px;color:#1156b7}.online-store-page .store-send-wrap{padding:0 16px 16px;background:#fff}.online-store-page .store-send{width:100%;height:58px;border:0;border-radius:10px;background:#0caf46;color:#fff;font-size:18px;font-weight:800;cursor:pointer;box-shadow:0 5px 12px rgba(10,175,70,.19);display:flex;align-items:center;justify-content:center;text-decoration:none}.online-store-page .store-send:disabled,.online-store-page .store-send.disabled{background:#cbd5e1;color:#64748b;box-shadow:none;pointer-events:none}

.online-store-page .store-mobile-cart-bar,.online-store-page .store-mobile-cart-backdrop,.online-store-page .store-mobile-cart-close{display:none}

.online-store-page .store-modal-backdrop{position:fixed;inset:0;z-index:50000;display:none;align-items:center;justify-content:center;padding:18px;background:rgba(7,26,56,.58);backdrop-filter:blur(2px)}.online-store-page .store-modal-backdrop.open{display:flex}.online-store-page .store-modal-card{width:min(560px,calc(100vw - 36px));max-height:calc(100dvh - 36px);overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(4,18,42,.34)}.online-store-page .store-modal-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #e3e8ef}.online-store-page .store-modal-head small,.online-store-page .store-modal-head strong{display:block}.online-store-page .store-modal-head small{font-size:10px;color:#64748b;font-weight:700}.online-store-page .store-modal-head strong{margin-top:3px;font-size:17px}.online-store-page .store-modal-close{width:34px;height:34px;border:0;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:22px;cursor:pointer}.online-store-page .store-checkout-body{display:grid;gap:11px;padding:18px;max-height:calc(100dvh - 110px);overflow:auto}.online-store-page .store-checkout-body label{display:grid;gap:6px;font-size:12px;font-weight:700}.online-store-page .store-checkout-body label small{font-weight:400;color:#64748b}.online-store-page .store-checkout-body input,.online-store-page .store-checkout-body textarea{width:100%;border:1px solid #d7e0ec;border-radius:10px;padding:10px 12px;font:inherit;font-size:13px;outline:none}.online-store-page .store-checkout-body textarea{resize:vertical}.online-store-page .store-orders-modal-card{width:min(620px,calc(100vw - 36px))}.online-store-page .store-orders-body{padding:14px;max-height:70vh;overflow:auto}.online-store-page .store-orders-empty{padding:45px 20px;text-align:center;color:#64748b}.online-store-page .store-orders-empty strong,.online-store-page .store-orders-empty span{display:block}.online-store-page .store-orders-empty span{margin-top:5px;font-size:12px}.online-store-page .store-order-history{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px;border:1px solid #e2e8f0;border-radius:11px;margin-bottom:8px}.online-store-page .store-order-history span{display:block;font-size:10px;color:#64748b;margin-top:3px}.online-store-page .store-order-history b{padding:5px 8px;border-radius:999px;font-size:10px}.online-store-page .store-order-history b.is-pending{background:#fff4d6;color:#8a5b00}.online-store-page .store-order-history b.is-processed{background:#e7f8ee;color:#187638}.online-store-page .store-order-history b.is-cancelled{background:#fee2e2;color:#b91c1c}

.online-store-page .pos-message-layer.is-inline{position:fixed;top:92px;right:16px;z-index:1000000}.online-store-page .pos-message-card{min-width:320px;max-width:480px;border:1px solid #dce4ee;border-radius:13px;background:#fff;box-shadow:0 14px 38px rgba(7,26,56,.22);overflow:hidden}.online-store-page .pos-message-main{display:grid;grid-template-columns:34px minmax(0,1fr) 28px;align-items:center;gap:9px;padding:12px}.online-store-page .pos-message-icon{width:34px;height:34px;border-radius:9px;background:#eaf8ef;color:#187638;display:grid;place-items:center;font-weight:800}.online-store-page .pos-message-title{font-size:12px;font-weight:800}.online-store-page .pos-message-text{font-size:11px;color:#64748b;margin-top:3px}.online-store-page .pos-message-close{border:0;background:transparent;color:#64748b;font-size:20px;cursor:pointer}

@media(max-width:1450px){.online-store-page .store-main{grid-template-columns:minmax(0,63%) minmax(0,37%)}.online-store-page .store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}}
@media(max-width:1280px){.online-store-page .store-topbar{grid-template-columns:270px minmax(200px,1fr) 78px 155px 120px}.online-store-page .store-search{padding-left:14px;padding-right:14px}.online-store-page .store-main{grid-template-columns:minmax(0,59%) minmax(0,41%)}.online-store-page .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.online-store-page .store-lines .pos-lines-head,.online-store-page .store-lines .pos-line{grid-template-columns:minmax(0,1fr) 86px 72px 80px 25px}}

@media(max-width:980px){
    body.online-store-page{padding-bottom:86px}
    .online-store-page .store-shell{padding-top:154px}
    .online-store-page .store-topbar{
        position:fixed;top:0;left:0;right:0;width:100%;
        grid-template-columns:minmax(0,1fr) 58px 58px;
        grid-template-rows:76px 78px;
        min-height:154px;
        z-index:8500
    }
    .online-store-page .store-brand{
        display:flex;
        grid-column:1;
        grid-row:1;
        padding:10px 8px 10px 14px;
        gap:10px;
        font-size:16px
    }
    .online-store-page .store-brand-logo{
        width:50px;height:50px;flex:0 0 50px
    }
    .online-store-page .store-brand-logo svg{width:28px;height:28px}
    .online-store-page .store-brand small{font-size:11px;margin-top:2px}
    .online-store-page .store-brand .store-brand-customer{display:block;font-size:11px;line-height:1.15;margin-top:2px;color:#fff;opacity:.92}
    .online-store-page .store-user-menu{
        display:flex;
        grid-column:3;
        grid-row:1;
        align-self:stretch;
        justify-content:center;
        padding:0 10px 0 0;
        border-right:0;
        z-index:30000
    }
    .online-store-page .store-user-button,
    .online-store-page .store-user-login{
        width:48px;
        min-width:48px;
        height:48px;
        margin:0;
        padding:0;
        border:0;
        border-radius:50%;
        display:grid;
        grid-template-columns:1fr;
        place-items:center;
        column-gap:0;
        background:rgba(255,255,255,.08);
        box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)
    }
    .online-store-page .store-user-button:hover,
    .online-store-page .store-user-button[aria-expanded="true"]{
        background:rgba(255,255,255,.12)
    }
    .online-store-page .store-user-avatar{
        width:42px;height:42px;
        border-radius:50%;
        background:transparent;
        color:#c4dcff
    }
    .online-store-page .store-user-avatar svg{width:25px;height:25px}
    .online-store-page .store-user-text,
    .online-store-page .store-user-caret{display:none}
    .online-store-page .store-user-dropdown{
        top:calc(100% + 78px);
        right:10px;
        width:min(310px,calc(100vw - 20px))
    }
    .online-store-page .store-clock{display:none}
    .online-store-page .store-search{
        grid-column:1 / -1;
        grid-row:2;
        padding:10px 14px 14px;
        border:0
    }
    .online-store-page .store-search input{height:54px;border-radius:14px;font-size:16px}
    .online-store-page .store-main{grid-template-columns:1fr;min-height:0}
    .online-store-page .store-catalog{border-right:0;padding:12px}
    .online-store-page .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    .online-store-page .store-order{position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));top:auto;height:min(82dvh,720px);min-height:0;border-radius:18px;box-shadow:0 18px 55px rgba(7,26,56,.32);z-index:9200;transform:translateY(calc(100% + 30px));transition:transform .22s ease}
    body.store-mobile-cart-open .store-order{transform:translateY(0)}
    .online-store-page .store-mobile-cart-close{display:block;position:absolute;right:12px;top:10px;z-index:5;width:34px;height:34px;border:0;border-radius:9px;background:#f1f5f9;font-size:22px;cursor:pointer}
    .online-store-page .store-mobile-cart-backdrop{position:fixed;inset:0;z-index:9100;background:rgba(7,26,56,.50)}
    body.store-mobile-cart-open .store-mobile-cart-backdrop{display:block}
    .online-store-page .store-mobile-cart-bar{appearance:none;position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:9000;min-height:64px;padding:8px 12px;border:1px solid rgba(7,26,56,.08);border-radius:16px;background:#071a38;color:#fff;box-shadow:0 12px 34px rgba(7,26,56,.28);display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;font:inherit;cursor:pointer}
    .online-store-page .store-mobile-cart-bar:disabled{display:none}.online-store-page .store-mobile-cart-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.10);font-size:20px}.online-store-page .store-mobile-cart-copy strong{display:block;color:#fff;font-size:13px}.online-store-page .store-mobile-cart-copy small{display:block;margin-top:4px;color:#bcd6fa;font-size:12px;font-weight:700}.online-store-page .store-mobile-cart-action{font-size:11px;font-weight:800;color:#fff}
    body.store-mobile-cart-open .store-mobile-cart-bar{visibility:hidden}
}
@media(max-width:600px){.online-store-page .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.online-store-page .store-product{padding:8px;min-height:235px}.online-store-page .store-product .pos-product-image{height:105px;flex-basis:105px}.online-store-page .store-product .pos-product-name{font-size:12px}.online-store-page .store-product .pos-product-price .amount{font-size:15px}.online-store-page .store-modal-card{width:calc(100vw - 24px)}}
/* STORE V1.0.040: todas las categorías visibles, con botones compactos y táctiles en celulares. */
@media(max-width:600px){.online-store-page .store-categories{gap:6px;padding-bottom:10px}.online-store-page .store-categories .pos-category{min-height:38px;padding:7px 10px;border-radius:9px;font-size:11px;gap:6px}.online-store-page .store-product .store-image-add::after{width:26px;height:26px;font-size:21px}}

/* ============================================================
 * STORE SFL V1.0.006 · ACCESO CANÓNICO DEL STORE ANTERIOR
 * Modal email + OTP. La interfaz y el flujo permanecen dentro
 * de la tienda; no existe navegación normal a otra página.
 * ============================================================ */
body.store-modal-open{
    overflow:hidden !important;
}

.online-store-page .store-access-backdrop{
    position:fixed;
    inset:0;
    z-index:60000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:24px;
    background:rgba(7,26,56,.64);
    -webkit-backdrop-filter:blur(3px);
    backdrop-filter:blur(3px);
}
.online-store-page .store-access-backdrop.open{
    display:flex;
}
.online-store-page .store-access-card{
    position:relative;
    width:min(460px,calc(100vw - 32px));
    max-height:calc(100dvh - 32px);
    overflow:auto;
    padding:30px 28px 25px;
    border:1px solid rgba(218,228,240,.96);
    border-radius:18px;
    background:#fff;
    color:#0e1930;
    box-shadow:0 28px 75px rgba(4,18,42,.34);
}
.online-store-page .store-access-close{
    position:absolute;
    top:14px;
    right:14px;
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    padding:0;
    border:1px solid #e1e8f0;
    border-radius:10px;
    background:#f6f9fc;
    color:#5e7188;
    font:700 23px/1 Arial,Helvetica,sans-serif;
    cursor:pointer;
}
.online-store-page .store-access-close:hover{
    background:#edf4fb;
    color:#0d55bd;
}
.online-store-page .store-access-brand{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
    padding-right:40px;
}
.online-store-page .store-access-icon{
    position:relative;
    flex:0 0 58px;
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid #deE7f1;
    border-radius:50%;
    background:#fff;
    color:#1269d3;
    box-shadow:0 5px 16px rgba(15,42,78,.10);
}
.online-store-page .store-access-icon svg{
    width:28px;
    height:28px;
    display:block;
}
.online-store-page .store-access-icon.has-logo svg{
    display:none;
}
.online-store-page .store-access-icon img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
    padding:5px;
    background:#fff;
}
.online-store-page .store-access-brand>div{
    min-width:0;
}
.online-store-page .store-access-brand small{
    display:block;
    margin-bottom:5px;
    color:#1269d3;
    font-size:10px;
    font-weight:900;
    line-height:1;
    letter-spacing:.14em;
}
.online-store-page .store-access-brand h2{
    margin:0;
    overflow:hidden;
    color:#132540;
    font-size:23px;
    font-weight:800;
    line-height:1.15;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.online-store-page .store-access-lead{
    margin:22px 0 18px;
    color:#6b7d94;
    font-size:13px;
    line-height:1.5;
}
.online-store-page .store-access-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    margin-bottom:18px;
    padding:4px;
    border-radius:11px;
    background:#eef2f7;
}
.online-store-page .store-access-tab{
    min-height:44px;
    padding:0 12px;
    border:0;
    border-radius:9px;
    background:transparent;
    color:#65758b;
    font:800 12px/1 Arial,Helvetica,sans-serif;
    cursor:pointer;
}
.online-store-page .store-access-tab.active{
    background:#fff;
    color:#1269d3;
    box-shadow:0 2px 7px rgba(15,42,78,.10);
}
.online-store-page .store-access-panel{
    display:none;
}
.online-store-page .store-access-panel.active{
    display:block;
}
.online-store-page .store-access-panel label,
.online-store-page .store-access-code-copy strong{
    display:block;
    margin:0 0 7px;
    color:#263b57;
    font-size:12px;
    font-weight:800;
}
.online-store-page .store-access-panel[data-access-panel="register"] label:not(:first-child){
    margin-top:14px;
}
.online-store-page .store-access-input{
    width:100%;
    height:49px;
    padding:0 13px;
    border:1px solid #cbd8e8;
    border-radius:10px;
    background:#fff;
    color:#17263c;
    font:400 14px/1 Arial,Helvetica,sans-serif;
    outline:none;
    transition:border-color .15s ease,box-shadow .15s ease;
}
.online-store-page .store-access-input:focus{
    border-color:#75aae9;
    box-shadow:0 0 0 3px rgba(18,105,211,.10);
}
.online-store-page .store-access-code{
    text-align:center;
    font-size:22px;
    font-weight:800;
    letter-spacing:.26em;
    font-variant-numeric:tabular-nums;
}
.online-store-page .store-access-primary{
    width:100%;
    min-height:50px;
    margin-top:16px;
    padding:0 18px;
    border:0;
    border-radius:10px;
    background:#1269d3;
    color:#fff;
    font:900 12px/1 Arial,Helvetica,sans-serif;
    cursor:pointer;
    box-shadow:0 7px 16px rgba(18,105,211,.18);
}
.online-store-page .store-access-primary:hover{
    background:#0d5fc3;
}
.online-store-page .store-access-primary:disabled,
.online-store-page .store-access-link:disabled{
    opacity:.58;
    cursor:wait;
}
.online-store-page .store-access-help{
    margin:12px 0 0;
    color:#8290a3;
    font-size:10px;
    line-height:1.4;
    text-align:center;
}
.online-store-page .store-access-code-copy{
    margin:0 0 12px;
}
.online-store-page .store-access-code-copy strong{
    margin-bottom:5px;
    font-size:14px;
}
.online-store-page .store-access-code-copy span{
    display:block;
    color:#6b7d94;
    font-size:12px;
    line-height:1.45;
}
.online-store-page .store-access-verify-actions{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-top:12px;
}
.online-store-page .store-access-link{
    padding:4px 0;
    border:0;
    background:transparent;
    color:#1269d3;
    font:800 11px/1.3 Arial,Helvetica,sans-serif;
    cursor:pointer;
}
.online-store-page .store-access-status{
    display:none;
    margin-top:14px;
    padding:10px 12px;
    border:1px solid transparent;
    border-radius:9px;
    font-size:11px;
    font-weight:700;
    line-height:1.4;
}
.online-store-page .store-access-status:not(:empty){
    display:block;
}
.online-store-page .store-access-status.is-info{
    border-color:#cfe0f4;
    background:#f2f7fd;
    color:#48647f;
}
.online-store-page .store-access-status.is-success{
    border-color:#bce4ca;
    background:#eef9f2;
    color:#16713a;
}
.online-store-page .store-access-status.is-error{
    border-color:#efc3c6;
    background:#fff2f3;
    color:#ae2c37;
}

@media(max-width:560px){
    .online-store-page .store-access-backdrop{
        padding:12px;
        align-items:center;
    }
    .online-store-page .store-access-card{
        width:min(100%,460px);
        max-height:calc(100dvh - 24px);
        padding:24px 20px 21px;
        border-radius:16px;
    }
    .online-store-page .store-access-close{
        top:11px;
        right:11px;
    }
    .online-store-page .store-access-brand{
        gap:12px;
        padding-right:32px;
    }
    .online-store-page .store-access-icon{
        flex-basis:52px;
        width:52px;
        height:52px;
    }
    .online-store-page .store-access-brand h2{
        font-size:20px;
    }
    .online-store-page .store-access-lead{
        margin-top:18px;
    }
}

/* V1.0.006 · Valores visuales recuperados del Store canónico anterior. */
.online-store-page .store-access-backdrop{z-index:22000;padding:18px;background:rgba(7,26,56,.62);-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}
.online-store-page .store-access-card{width:min(460px,94vw);padding:28px 28px 24px;border:1px solid #dce5ef;border-radius:20px;box-shadow:0 28px 80px rgba(3,18,43,.35)}
.online-store-page .store-access-close{top:14px;right:14px;width:36px;height:36px;border:1px solid #dde5ee;border-radius:10px;background:#f7f9fc;color:#64748b;font:inherit;font-size:23px;line-height:1}
.online-store-page .store-access-brand{gap:13px;padding-right:38px}
.online-store-page .store-access-icon{flex:0 0 58px;width:58px;height:58px;border:4px solid #f1f6fc;border-radius:50%;background:#fff;color:#1269d3;box-shadow:0 7px 18px rgba(16,55,105,.14)}
.online-store-page .store-access-icon img{width:100%;height:100%;padding:4px;box-sizing:border-box;object-fit:contain;object-position:center;border-radius:50%;background:#fff}
.online-store-page .store-access-icon svg{width:29px;height:29px}
.online-store-page .store-access-brand small{font-size:9px;font-weight:900;letter-spacing:.13em}
.online-store-page .store-access-brand h2{margin:5px 0 0;color:#10213a;font-size:21px;line-height:1.2;font-weight:900}
.online-store-page .store-access-lead{margin:17px 0 16px;color:#66758a;font-size:12px;line-height:1.5}
.online-store-page .store-access-tabs{gap:5px;padding:4px;border-radius:11px;background:#f1f5f9}
.online-store-page .store-access-tab{height:40px;min-height:40px;border-radius:8px;color:#64748b;font:inherit;font-size:11px;font-weight:900}
.online-store-page .store-access-tab.active{background:#fff;color:#1269d3;box-shadow:0 2px 8px rgba(15,23,42,.08)}
.online-store-page .store-access-panel.active{padding-top:16px}
.online-store-page .store-access-panel label{margin:0 0 6px;color:#26364b;font-size:11px;font-weight:800}
.online-store-page .store-access-panel label:not(:first-child){margin-top:12px}
.online-store-page .store-access-input{height:48px;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:10px;padding:0 13px;color:#18263b;font:inherit;font-size:14px}
.online-store-page .store-access-input:focus{border-color:#1269d3;box-shadow:0 0 0 3px rgba(18,105,211,.10)}
.online-store-page .store-access-primary{height:50px;min-height:50px;margin-top:16px;border-radius:10px;background:#1269d3;font:inherit;font-size:11px;font-weight:900;letter-spacing:.02em;box-shadow:0 6px 16px rgba(18,105,211,.18)}
.online-store-page .store-access-primary:hover{background:#0d5fc4}
.online-store-page .store-access-help{margin:11px 4px 0;color:#8290a3;font-size:10px;line-height:1.45;text-align:center}
.online-store-page .store-access-status{margin-top:13px;padding:10px 11px;border-radius:9px;font-size:10px;font-weight:700;line-height:1.4}
.online-store-page .store-access-status.is-error{background:#fff0ef;color:#b42318;border:1px solid #f3c4bf}
.online-store-page .store-access-status.is-info{background:#eef6ff;color:#0d55bd;border:1px solid #c8dcf6}
.online-store-page .store-access-status.is-success{background:#e8f7ed;color:#15733a;border:1px solid #b9e4c8}
.online-store-page .store-access-code-copy{margin:2px 0 13px;text-align:center}
.online-store-page .store-access-code-copy strong{display:block;color:#17263c;font-size:15px;font-weight:900}
.online-store-page .store-access-code-copy span{display:block;margin-top:5px;color:#6d7c90;font-size:11px;line-height:1.4}
.online-store-page .store-access-code{text-align:center;font-size:24px!important;font-weight:900;letter-spacing:.28em;padding-left:calc(14px + .28em)!important}
@media(max-width:520px){.online-store-page .store-access-backdrop{padding:12px}.online-store-page .store-access-card{width:100%;padding:24px 18px 20px;border-radius:17px}.online-store-page .store-access-brand h2{font-size:19px}.online-store-page .store-access-icon{flex-basis:50px;width:50px;height:50px}.online-store-page .store-access-input{font-size:16px}}

/* ============================================================
 * STORE SFL V1.0.007 · Superficies canónicas del Store anterior
 * Mi cuenta + acceso/registro + modales.
 * ============================================================ */
.online-store-page .store-user-dropdown{width:310px;padding:0;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 18px 45px rgba(7,26,56,.26)}
.online-store-page .store-user-dropdown .store-account-head{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 14px 12px;margin:0;border-bottom:1px solid #e6edf5}
.online-store-page .store-account-avatar{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#eef5ff;color:#1269d3}
.online-store-page .store-account-avatar svg{width:24px;height:24px}
.online-store-page .store-account-copy{min-width:0}
.online-store-page .store-user-dropdown .store-account-copy strong{display:block;color:#17263c;font-size:13px;font-weight:900;line-height:1.15}
.online-store-page .store-user-dropdown .store-account-copy span{display:block;margin-top:3px;color:#58708d;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-account-status{align-self:start;margin-top:1px;padding:5px 8px!important;border-radius:999px;background:#e9f8ed;color:#16813e!important;font-size:8px!important;font-weight:900!important;line-height:1!important}
.online-store-page .store-account-menu{padding:8px 10px 7px}
.online-store-page .store-user-dropdown .store-account-link{display:grid;width:100%;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;padding:8px!important;border:0;border-radius:9px;background:#fff;color:#17263c;text-align:left;text-decoration:none;font:inherit;cursor:pointer}
.online-store-page .store-user-dropdown .store-account-link:hover{background:#f3f7fb}
.online-store-page .store-account-link-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:#edf5ff;color:#1269d3}
.online-store-page .store-account-link-icon svg{width:20px;height:20px}
.online-store-page .store-account-link-copy{min-width:0}
.online-store-page .store-account-link-copy strong{display:block;color:#17263c;font-size:11px!important;font-weight:900;line-height:1.15}
.online-store-page .store-account-link-copy small{display:block;margin-top:3px;color:#71829a;font-size:8.5px;line-height:1.3;white-space:normal}
.online-store-page .store-user-divider{height:1px;margin:5px 8px;background:#e8edf4}
.online-store-page .store-logout-form{margin:0}
.online-store-page .store-user-dropdown .store-logout{color:#b42318}
.online-store-page .store-user-dropdown .store-logout .store-account-link-icon{background:#fff0ef;color:#d23225}
.online-store-page .store-user-dropdown .store-logout .store-account-link-copy strong{color:#b42318}
.online-store-page .store-module-version{padding:7px 13px 10px;border-top:1px solid #eef2f6;color:#8391a4;font-size:8.5px;font-weight:800;text-align:right}

/* Acceso/registro: medidas y composición exactas del Store anterior. */
.online-store-page .store-access-card{width:min(460px,94vw)!important;padding:28px 28px 24px!important;border:1px solid #dce5ef!important;border-radius:20px!important;background:#fff!important;box-shadow:0 28px 80px rgba(3,18,43,.35)!important}
.online-store-page .store-access-panel[data-access-panel="register"]{padding-top:16px}
.online-store-page .store-access-resend{display:block;width:100%;min-height:40px;margin-top:8px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;color:#1269d3;font:inherit;font-size:10px;font-weight:900;cursor:pointer}
.online-store-page .store-access-resend:hover{background:#f4f8fd}
.online-store-page .store-access-code-input{text-align:center;font-size:24px!important;font-weight:900;letter-spacing:.28em;padding-left:calc(14px + .28em)!important}

.online-store-page .store-modal-body{padding:18px}
.online-store-page .store-modal-copy{margin:0 0 14px;color:#66758a;font-size:11px;line-height:1.5}
.online-store-page .store-modal-form{display:grid;gap:7px}
.online-store-page .store-modal-form label{margin-top:5px;color:#26364b;font-size:10px;font-weight:900}
.online-store-page .store-order-input,.online-store-page .store-order-textarea{width:100%;box-sizing:border-box;border:1px solid #cfd9e6;border-radius:9px;background:#fff;color:#18263b;font:inherit;font-size:12px;outline:none}
.online-store-page .store-order-input{height:42px;padding:0 11px}.online-store-page .store-order-textarea{min-height:84px;padding:10px 11px;resize:vertical}
.online-store-page .store-order-input:focus,.online-store-page .store-order-textarea:focus{border-color:#1269d3;box-shadow:0 0 0 3px rgba(18,105,211,.1)}
.online-store-page .store-profile-phone-row{display:flex;align-items:center;gap:10px}.online-store-page .store-profile-phone-value{flex:1;min-width:0;padding:9px 11px;border:1px solid #dce4ee;border-radius:9px;background:#f8fbff}.online-store-page .store-profile-phone-value span,.online-store-page .store-profile-phone-value small{display:block}.online-store-page .store-profile-phone-value span{color:#1d314c;font-size:11px;font-weight:800}.online-store-page .store-profile-phone-value small{margin-top:3px;color:#16813e;font-size:8.5px}

.online-store-page .store-orders-filter{display:flex;gap:6px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #e7edf4;background:#f9fbfd}
.online-store-page .store-orders-filter-btn{min-height:34px;padding:0 12px;border:1px solid #d5dfeb;border-radius:9px;background:#fff;color:#53677f;font:inherit;font-size:9px;font-weight:900;cursor:pointer}.online-store-page .store-orders-filter-btn span{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:5px;border-radius:999px;background:#eef3f8;color:#50647d}.online-store-page .store-orders-filter-btn.active{border-color:#1269d3;background:#1269d3;color:#fff}.online-store-page .store-orders-filter-btn.active span{background:#fff;color:#1269d3}
.online-store-page .store-order-history[hidden]{display:none!important}
.online-store-page .store-analytics-modal-card{width:min(760px,94vw)}
.online-store-page .store-analytics-head-content{display:flex;align-items:center;gap:10px}.online-store-page .store-analytics-head-icon{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#edf5ff;color:#1269d3}.online-store-page .store-analytics-head-icon svg{width:21px;height:21px}.online-store-page .store-analytics-head-meta{display:flex;gap:6px;color:#71829a;font-size:8.5px;font-weight:800}.online-store-page .store-analytics-head-copy strong{display:block;margin-top:3px;color:#17263c;font-size:16px;font-weight:900}.online-store-page .store-analytics-body{padding:16px}.online-store-page .store-analytics-period-panel{padding:13px;border:1px solid #dce5ef;border-radius:11px;background:#f8fbff}.online-store-page .store-analytics-period-head strong,.online-store-page .store-analytics-period-head span{display:block}.online-store-page .store-analytics-period-head strong{color:#17263c;font-size:11px}.online-store-page .store-analytics-period-head span{margin-top:3px;color:#71829a;font-size:9px}.online-store-page .store-analytics-periods{margin-top:9px}.online-store-page .store-analytics-period{min-height:32px;padding:0 12px;border:1px solid #1269d3;border-radius:8px;background:#1269d3;color:#fff;font:inherit;font-size:9px;font-weight:900}.online-store-page .store-analytics-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}.online-store-page .store-analytics-kpis>div{padding:13px;border:1px solid #dfe7f0;border-radius:11px;background:#fff}.online-store-page .store-analytics-kpis small,.online-store-page .store-analytics-kpis strong{display:block}.online-store-page .store-analytics-kpis small{color:#71829a;font-size:9px}.online-store-page .store-analytics-kpis strong{margin-top:5px;color:#1269d3;font-size:20px;font-weight:900}
@media(max-width:620px){.online-store-page .store-analytics-kpis{grid-template-columns:repeat(2,1fr)}.online-store-page .store-user-dropdown{right:0;width:min(310px,calc(100vw - 18px))}}

/* ============================================================
 * STORE SFL V1.0.008 · Datos personales idénticos al Store anterior
 * ============================================================ */
.online-store-page .store-profile-modal-card{width:min(430px,calc(100vw - 32px));border:1px solid #d9e3ef;border-radius:16px}
.online-store-page .store-profile-modal-card .store-modal-head{padding:14px 17px 13px;background:#f8fbff}
.online-store-page .store-profile-modal-card .store-modal-head small{color:#1269d3;font-size:9px;font-weight:900;letter-spacing:.08em}
.online-store-page .store-profile-modal-card .store-modal-head strong{margin-top:3px;color:#17263c;font-size:17px;font-weight:900;line-height:1.15}
.online-store-page .store-profile-modal-card .store-modal-body{padding:17px 18px 18px;max-height:calc(100dvh - 115px);overflow:auto}
.online-store-page .store-profile-modal-card .store-modal-copy{margin:0 0 16px;color:#66758a;font-size:11px;line-height:1.45}
.online-store-page .store-profile-modal-card .store-modal-form{gap:7px}
.online-store-page .store-profile-modal-card .store-modal-form label{margin:5px 0 0;color:#26364b;font-size:10px;font-weight:900}
.online-store-page .store-profile-modal-card .store-order-input{height:42px;border:1px solid #cbd7e6;border-radius:9px;padding:0 11px;font-size:12px}
.online-store-page .store-profile-modal-card .store-order-textarea{min-height:93px;border:1px solid #cbd7e6;border-radius:9px;padding:10px 11px;font-size:12px;line-height:1.4}
.online-store-page .store-profile-phone-row{display:flex;align-items:stretch;gap:8px}
.online-store-page .store-profile-phone-value{display:flex!important;flex-direction:column;justify-content:center;flex:1;min-width:0;min-height:46px;padding:7px 11px!important;border:1px solid #cbd7e6!important;border-radius:9px!important;background:#f7faff!important}
.online-store-page .store-profile-phone-value span{font-size:11px!important;font-weight:900!important;color:#1e304b!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.online-store-page .store-profile-phone-value small{margin-top:2px!important;color:#13813b!important;font-size:8px!important;font-weight:700}
.online-store-page .store-profile-phone-change{min-width:108px;padding:0 12px;border:1px solid #9ec4f3;border-radius:9px;background:#edf6ff;color:#0e65cf;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.online-store-page .store-profile-phone-change:hover{background:#e2f0ff}
.online-store-page .store-tax-type-row{display:flex;gap:8px;margin-top:4px}
.online-store-page .store-tax-type-btn{min-width:73px;height:34px;padding:0 15px;border:1px solid #cbd7e6;border-radius:8px;background:#f8fafc;color:#52657d;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.online-store-page .store-tax-type-btn.active{border-color:#1269d3;background:#1269d3;color:#fff;box-shadow:0 3px 8px rgba(18,105,211,.14)}
.online-store-page .store-tax-id-status-wrap{min-height:20px;margin-top:-1px}
.online-store-page .store-tax-id-status{display:none;width:max-content;max-width:100%;padding:4px 9px;border-radius:999px;font-size:8.5px;font-weight:900;line-height:1.15}
.online-store-page .store-tax-id-status.show{display:inline-block}
.online-store-page .store-tax-id-status.valid{background:#e8f7ed;color:#16813e}
.online-store-page .store-tax-id-status.checking{background:#eef5ff;color:#1269d3}
.online-store-page .store-tax-id-status.invalid{background:#fff0ef;color:#b42318}
.online-store-page .store-profile-form-status{display:none;margin:3px 0 0;padding:8px 10px;border-radius:8px;font-size:9px;font-weight:800;line-height:1.35}
.online-store-page .store-profile-form-status.show{display:block}
.online-store-page .store-profile-form-status.success{background:#e8f7ed;color:#16813e}
.online-store-page .store-profile-form-status.error{background:#fff0ef;color:#b42318}
.online-store-page .store-modal-primary{width:100%;min-height:45px;border:0;border-radius:9px;background:#1269d3;color:#fff;font:inherit;font-size:10px;font-weight:900;cursor:pointer;box-shadow:0 5px 14px rgba(18,105,211,.18)}
.online-store-page .store-modal-primary:hover{background:#0d5fc4}.online-store-page .store-modal-primary:disabled{opacity:.65;cursor:wait}
.online-store-page .store-modal-secondary{width:100%;min-height:40px;border:1px solid #cbd7e6;border-radius:9px;background:#fff;color:#52657d;font:inherit;font-size:9px;font-weight:900;cursor:pointer}
.online-store-page .store-modal-otp{width:100%;height:46px;box-sizing:border-box;border:1px solid #cbd7e6;border-radius:9px;background:#fff;text-align:center;font:inherit;font-size:22px;font-weight:900;letter-spacing:.25em;color:#17263c}
.online-store-page .store-email-change-card{width:min(430px,calc(100vw - 32px))}
.online-store-page .store-modal-alert{margin-top:10px;padding:9px 10px;border-radius:8px;font-size:9px;font-weight:800;line-height:1.4}.online-store-page .store-modal-alert.error{background:#fff0ef;color:#b42318}.online-store-page .store-modal-alert.success{background:#e8f7ed;color:#16813e}
.online-store-page .store-order-confirm-total{display:flex;align-items:center;justify-content:space-between;padding:10px 11px;border:1px solid #dce5ef;border-radius:9px;background:#f8fbff}.online-store-page .store-order-confirm-total span{font-size:9px;color:#65768c}.online-store-page .store-order-confirm-total strong{font-size:13px;color:#1269d3}
.online-store-page .store-checkout-modal-card{width:min(560px,calc(100vw - 32px))}
.online-store-page .store-checkout-modal-card .store-checkout-body{padding:18px;gap:7px}.online-store-page .store-checkout-modal-card .store-checkout-body>label{margin-top:5px;color:#26364b;font-size:10px;font-weight:900}.online-store-page .store-checkout-modal-card .store-order-input{height:42px;padding:0 11px}.online-store-page .store-checkout-modal-card .store-order-textarea{padding:10px 11px}
@media(max-width:520px){.online-store-page .store-profile-modal-card,.online-store-page .store-email-change-card{width:calc(100vw - 20px)}.online-store-page .store-profile-modal-card .store-modal-body{padding:15px}.online-store-page .store-profile-phone-change{min-width:100px}}

/* =========================================================
   STORE SFL V1.0.009
   Datos personales: presentación canónica del Store anterior.
   Se mantiene sin reinterpretaciones visuales.
   ========================================================= */
body.online-store-page .store-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:10000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(7,26,56,.48);
    backdrop-filter:blur(2px);
}
body.online-store-page .store-modal-backdrop.open{display:flex}
body.online-store-page .store-profile-modal-card{
    width:min(100%,430px);
    overflow:hidden;
    border:1px solid #dbe4ef;
    border-radius:15px;
    background:#fff;
    box-shadow:0 24px 70px rgba(4,18,42,.32);
}
body.online-store-page .store-profile-modal-card .store-modal-head{
    min-height:70px;
    padding:14px 16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:#f7faff;
    border-bottom:1px solid #e4ebf4;
}
body.online-store-page .store-profile-modal-card .store-modal-head small{
    display:block;
    color:#1768ca;
    font-size:9px;
    font-weight:900;
    letter-spacing:.11em;
}
body.online-store-page .store-profile-modal-card .store-modal-head strong{
    display:block;
    margin-top:4px;
    color:#10213a;
    font-size:18px;
    font-weight:800;
}
body.online-store-page .store-profile-modal-card .store-modal-close{
    width:34px;
    height:34px;
    border:1px solid #d9e2ed;
    border-radius:9px;
    background:#fff;
    color:#6b7789;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}
body.online-store-page .store-profile-modal-card .store-modal-body{
    padding:18px;
    max-height:calc(100dvh - 72px);
    overflow:auto;
}
body.online-store-page .store-profile-modal-card .store-modal-copy{
    margin:0 0 16px;
    color:#637187;
    font-size:12px;
    line-height:1.55;
}
body.online-store-page .store-profile-modal-card .store-modal-form{
    display:block;
}
body.online-store-page .store-profile-modal-card .store-modal-form label{
    display:block;
    margin:10px 0 7px;
    color:#24344a;
    font-size:11px;
    font-weight:800;
}
body.online-store-page .store-profile-modal-card .store-modal-form label:first-of-type{margin-top:0}
body.online-store-page .store-profile-modal-card .store-order-input,
body.online-store-page .store-profile-modal-card .store-order-textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #cfd9e6;
    border-radius:9px;
    background:#fff;
    color:#18263b;
    font:inherit;
    outline:none;
    transition:border-color .15s ease,box-shadow .15s ease;
}
body.online-store-page .store-profile-modal-card .store-order-input{
    height:42px;
    padding:0 11px;
    font-size:13px;
}
body.online-store-page .store-profile-modal-card .store-order-textarea{
    min-height:92px;
    padding:10px 11px;
    font-size:13px;
    line-height:1.4;
    resize:vertical;
}
body.online-store-page .store-profile-modal-card .store-order-input:focus,
body.online-store-page .store-profile-modal-card .store-order-textarea:focus{
    border-color:#1269d3;
    box-shadow:0 0 0 3px rgba(18,105,211,.10);
}
body.online-store-page .store-profile-modal-card .store-profile-phone-row{
    width:100%;
    min-height:56px;
    margin:0 0 10px;
    padding:10px 11px;
    box-sizing:border-box;
    border:1px solid #cfd9e6;
    border-radius:9px;
    background:#f8fbff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}
body.online-store-page .store-profile-modal-card .store-profile-phone-value{
    min-width:0;
    flex:1 1 auto;
    padding:0!important;
    border:0!important;
    background:transparent!important;
}
body.online-store-page .store-profile-modal-card .store-profile-phone-value span{
    display:block;
    color:#18263b!important;
    font-size:13px!important;
    font-weight:800!important;
    letter-spacing:.01em;
}
body.online-store-page .store-profile-modal-card .store-profile-phone-value small{
    display:block;
    margin-top:4px!important;
    color:#16803d!important;
    font-size:9px!important;
    font-weight:700!important;
}
body.online-store-page .store-profile-modal-card .store-profile-phone-change{
    appearance:none;
    -webkit-appearance:none;
    flex:0 0 auto;
    min-width:0;
    min-height:34px;
    padding:0 11px;
    border:1px solid #b9d3f3;
    border-radius:8px;
    background:#eef6ff;
    color:#0d55bd;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}
body.online-store-page .store-profile-modal-card .store-tax-type-row{
    display:flex;
    align-items:center;
    gap:7px;
    margin:10px 0 6px;
}
body.online-store-page .store-profile-modal-card .store-tax-type-btn{
    appearance:none;
    -webkit-appearance:none;
    min-width:76px;
    height:32px;
    padding:0 14px;
    border:1px solid #c7d3e3;
    border-radius:8px;
    background:#f7f9fc;
    color:#4a5b70;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
    transition:all .15s ease;
}
body.online-store-page .store-profile-modal-card .store-tax-type-btn.active{
    background:#1269d3;
    border-color:#1269d3;
    color:#fff;
    box-shadow:0 2px 7px rgba(18,105,211,.18);
}
body.online-store-page .store-profile-modal-card .store-tax-id-status-wrap{
    min-height:25px;
    margin-top:5px;
    display:flex;
    align-items:center;
}
body.online-store-page .store-profile-modal-card .store-tax-id-status{
    display:none;
    width:max-content;
    max-width:100%;
    padding:5px 9px;
    border-radius:999px;
    font-size:9px;
    line-height:1.2;
    font-weight:800;
}
body.online-store-page .store-profile-modal-card .store-tax-id-status.show{
    display:inline-flex;
    align-items:center;
}
body.online-store-page .store-profile-modal-card .store-tax-id-status.valid{
    color:#15733a;
    background:#e8f7ed;
}
body.online-store-page .store-profile-modal-card .store-tax-id-status.invalid{
    color:#b42318;
    background:#fff0ef;
}
body.online-store-page .store-profile-modal-card .store-tax-id-status.checking{
    color:#0d55bd;
    background:#eaf3ff;
}
body.online-store-page .store-profile-modal-card .store-profile-form-status{margin-top:8px}
body.online-store-page .store-profile-modal-card .store-modal-primary{
    width:100%;
    height:48px;
    min-height:48px;
    margin-top:0;
    border:0;
    border-radius:10px;
    background:#1269d3;
    color:#fff;
    font:inherit;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
    box-shadow:none;
}
body.online-store-page .store-profile-modal-card .store-modal-primary:hover{background:#0d58b8}
@media(max-width:520px){
    body.online-store-page .store-profile-modal-card{width:min(100%,430px)}
    body.online-store-page .store-profile-modal-card .store-modal-body{padding:18px}
}


/* ===== STORE SFL V1.0.010 · estilos canónicos copiados del Store anterior ===== */

/* ============================================================
 * CONFIRMACIÓN PROFESIONAL DEL PEDIDO
 * Insertado SOLO en tienda_26081515.php.
 * No modifica VER PEDIDO, MIS PEDIDOS ni store.css.
 * ============================================================ */
.store-submit-confirm-backdrop{
    position:fixed;
    inset:0;
    z-index:20000;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(7,26,56,.60);
}
.store-submit-confirm-backdrop.open{
    display:flex;
}
.store-submit-confirm-card{
    position:relative;
    width:min(440px,94vw);
    padding:28px 24px 22px;
    border:1px solid #dbe4ef;
    border-radius:20px;
    background:#fff;
    box-shadow:0 28px 80px rgba(4,18,42,.34);
    text-align:center;
}
.store-submit-confirm-close{
    position:absolute;
    top:13px;
    right:13px;
    width:36px;
    height:36px;
    padding:0;
    border:1px solid #dde5ee;
    border-radius:10px;
    background:#f7f9fc;
    color:#64748b;
    font:inherit;
    font-size:23px;
    line-height:1;
    cursor:pointer;
}
.store-submit-confirm-icon{
    width:64px;
    height:64px;
    margin:0 auto 14px;
    border-radius:18px;
    display:grid;
    place-items:center;
    background:#eaf8ef;
    color:#0a9b40;
    box-shadow:inset 0 0 0 1px #d5efdf;
}
.store-submit-confirm-icon svg{
    width:34px;
    height:34px;
}
.store-submit-confirm-kicker{
    color:#1269d3;
    font-size:10px;
    line-height:1;
    font-weight:900;
    letter-spacing:.14em;
}
.store-submit-confirm-card h2{
    margin:9px 28px 0;
    color:#10213a;
    font-size:22px;
    line-height:1.22;
    font-weight:900;
}
.store-submit-confirm-card p{
    margin:10px auto 0;
    max-width:350px;
    color:#66758a;
    font-size:13px;
    line-height:1.5;
}
.store-submit-confirm-summary{
    margin:21px 0 19px;
    padding:16px 14px 15px;
    border:1px solid #dde7f2;
    border-radius:14px;
    background:#f8fbff;
}
.store-submit-confirm-summary span{
    display:block;
    color:#637187;
    font-size:11px;
    font-weight:800;
}
.store-submit-confirm-summary strong{
    display:block;
    margin-top:7px;
    color:#1156b7;
    font-size:29px;
    line-height:1;
    font-weight:900;
}
.store-submit-confirm-summary small{
    display:block;
    margin-top:8px;
    color:#7a8798;
    font-size:10px;
    font-weight:700;
}
.store-submit-confirm-actions{
    display:grid;
    grid-template-columns:.9fr 1.35fr;
    gap:10px;
}
.store-submit-confirm-cancel,
.store-submit-confirm-ok{
    min-height:50px;
    padding:0 12px;
    border-radius:11px;
    font:inherit;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}
.store-submit-confirm-cancel{
    border:1px solid #d7e0ea;
    background:#fff;
    color:#536276;
}
.store-submit-confirm-ok{
    border:1px solid #0aa143;
    background:#0caf46;
    color:#fff;
    box-shadow:0 6px 16px rgba(12,175,70,.20);
}
.store-submit-confirm-ok:focus,
.store-submit-confirm-cancel:focus,
.store-submit-confirm-close:focus{
    outline:3px solid rgba(18,105,211,.18);
    outline-offset:2px;
}

/* Variante del MISMO modal para vaciar el pedido */
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-icon{
    background:#fff0ef;
    color:#c62828;
    box-shadow:inset 0 0 0 1px #f5d2cf;
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-kicker{
    color:#c62828;
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-summary{
    background:#fffafa;
    border-color:#f0d8d6;
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-summary strong{
    color:#b42318;
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-ok{
    border-color:#c9271c;
    background:#d92d20;
    box-shadow:0 6px 16px rgba(217,45,32,.20);
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-ok:hover{
    background:#c4251a;
}
.store-submit-confirm-backdrop.is-clear .store-submit-confirm-ok:focus{
    outline:3px solid rgba(217,45,32,.18);
    outline-offset:2px;
}
@media(max-width:520px){
    .store-submit-confirm-backdrop{
        padding:14px;
    }
    .store-submit-confirm-card{
        width:100%;
        padding:26px 18px 18px;
        border-radius:18px;
    }
    .store-submit-confirm-icon{
        width:58px;
        height:58px;
        border-radius:16px;
    }
    .store-submit-confirm-icon svg{
        width:31px;
        height:31px;
    }
    .store-submit-confirm-card h2{
        font-size:20px;
    }
    .store-submit-confirm-card p{
        font-size:12px;
    }
    .store-submit-confirm-summary strong{
        font-size:27px;
    }
    .store-submit-confirm-actions{
        grid-template-columns:1fr 1.35fr;
        gap:8px;
    }
    .store-submit-confirm-cancel,
    .store-submit-confirm-ok{
        min-height:48px;
        font-size:10px;
    }
}


/* ============================================================
 * PASO 1 · ANALÍTICA STORE
 * Estructura visual + períodos. Sin consultas estadísticas aún.
 * ============================================================ */
.store-analytics-modal-head{
    min-height:78px;
    padding:14px 18px !important;
    box-sizing:border-box;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    border-bottom:1px solid #dce6f1;
}
.store-analytics-head-content{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.store-analytics-head-icon{
    display:grid;
    place-items:center;
    flex:0 0 44px;
    width:44px;
    height:44px;
    border:1px solid #cfe1f7;
    border-radius:13px;
    background:#eef6ff;
    color:#1269d3;
    box-shadow:0 5px 14px rgba(18,105,211,.08);
}
.store-analytics-head-icon svg{
    width:23px;
    height:23px;
}
.store-analytics-head-copy{
    min-width:0;
}
.store-analytics-head-meta{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
    margin-bottom:4px;
    line-height:1;
}
.store-analytics-head-account{
    color:#1269d3;
    font-size:9px;
    font-weight:900;
    letter-spacing:.14em;
    white-space:nowrap;
}
.store-analytics-head-dot{
    color:#9aabc0;
    font-size:10px;
    font-weight:900;
}
.store-analytics-head-customer{
    min-width:0;
    max-width:min(430px,46vw);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#42556f;
    font-size:10px;
    font-weight:800;
    letter-spacing:.01em;
}
.store-analytics-head-title{
    display:block;
    margin:0;
    color:#10213a;
    font-size:21px;
    line-height:1.15;
    font-weight:900;
    letter-spacing:-.01em;
}
.store-analytics-modal-head .store-modal-close{
    flex:0 0 auto;
    box-shadow:0 2px 8px rgba(15,23,42,.05);
}
.store-analytics-modal-card{
    width:min(1040px,96vw);
    height:min(92vh,900px);
    max-height:92vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.store-analytics-body{
    flex:1 1 auto;
    min-height:0;
    padding:16px 18px 18px;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
}
.store-analytics-period-panel{
    padding:14px;
    border:1px solid #dce5ef;
    border-radius:13px;
    background:#fff;
}
.store-analytics-period-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
}
.store-analytics-period-head strong{
    color:#17263c;
    font-size:12px;
    font-weight:900;
}
.store-analytics-period-head span{
    color:#718096;
    font-size:10px;
}
.store-analytics-periods{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.store-analytics-period{
    min-height:36px;
    padding:0 14px;
    border:1px solid #cbd7e5;
    border-radius:9px;
    background:#fff;
    color:#334155;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
}
.store-analytics-period:hover{
    background:#f4f8fd;
}
.store-analytics-period.active{
    background:#1269d3;
    border-color:#1269d3;
    color:#fff;
    box-shadow:0 3px 8px rgba(18,105,211,.18);
}
.store-analytics-custom-range{
    display:none;
    grid-template-columns:1fr 1fr auto;
    gap:10px;
    align-items:end;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #e7edf4;
}
.store-analytics-custom-range.open{
    display:grid;
}
.store-analytics-field label{
    display:block;
    margin-bottom:5px;
    color:#55657a;
    font-size:9px;
    font-weight:800;
}
.store-analytics-field input{
    width:100%;
    height:38px;
    box-sizing:border-box;
    border:1px solid #cbd7e5;
    border-radius:8px;
    padding:0 10px;
    color:#1e293b;
    background:#fff;
    font:inherit;
    font-size:11px;
}
.store-analytics-apply{
    height:38px;
    padding:0 14px;
    border:0;
    border-radius:8px;
    background:#1269d3;
    color:#fff;
    font:inherit;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}
.store-analytics-selected{
    margin-top:12px;
    padding:9px 11px;
    border:1px solid #d8e5f4;
    border-radius:9px;
    background:#f4f8fd;
    color:#52657d;
    font-size:10px;
}
.store-analytics-selected strong{
    color:#0d55bd;
}
.store-analytics-stage{
    min-height:300px;
    margin-top:14px;
    border:1px dashed #cbd8e8;
    border-radius:13px;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    box-sizing:border-box;
}
.store-analytics-placeholder{
    max-width:560px;
    text-align:center;
}
.store-analytics-placeholder-icon{
    width:52px;
    height:52px;
    margin:0 auto 12px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#eaf3ff;
    color:#1269d3;
    font-size:24px;
}
.store-analytics-placeholder strong{
    display:block;
    color:#17263c;
    font-size:16px;
    font-weight:900;
}
.store-analytics-placeholder span{
    display:block;
    margin-top:8px;
    color:#718096;
    font-size:11px;
    line-height:1.5;
}


.store-analytics-indicators{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:10px;
    margin-top:14px;
}
.store-analytics-kpi{
    min-height:100px;
    box-sizing:border-box;
    padding:14px 12px;
    border:1px solid #d7e2ef;
    border-radius:12px;
    background:#fff;
    box-shadow:0 4px 13px rgba(15,23,42,.04);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
}
.store-analytics-kpi span{
    color:#5f7087;
    font-size:10px;
    font-weight:800;
}
.store-analytics-kpi strong{
    display:block;
    margin-top:7px;
    color:#1259bf;
    font-size:22px;
    line-height:1.05;
    font-weight:900;
}
.store-analytics-kpi small{
    display:block;
    margin-top:6px;
    color:#8491a3;
    font-size:9px;
    line-height:1.3;
}
.store-analytics-kpi.processed strong{color:#16803d}
.store-analytics-kpi.pending strong{color:#b66d00}
.store-analytics-kpi.cancelled strong{color:#c0342b}
.store-analytics-kpi.amount strong{font-size:18px}
.store-analytics-kpi.average strong{font-size:18px}
.store-analytics-loading{
    display:none;
    margin-top:10px;
    color:#6f8096;
    font-size:10px;
    font-weight:700;
}
.store-analytics-loading.show{
    display:block;
}
.store-analytics-stage{
    min-height:220px;
}
.store-analytics-chart-wrap{
    width:100%;
}
.store-analytics-chart-head{
    display:grid;
    grid-template-columns:205px minmax(0,1fr) auto;
    gap:14px;
    align-items:end;
    margin-bottom:10px;
}
.store-analytics-chart-selector-wrap{
    min-width:0;
}
.store-analytics-chart-selector-wrap label{
    display:block;
    margin:0 0 5px;
    color:#53657d;
    font-size:10px;
    font-weight:900;
    text-align:center;
}
.store-analytics-chart-selector{
    width:100%;
    height:36px;
    box-sizing:border-box;
    border:1px solid #cbd7e5;
    border-radius:8px;
    padding:0 12px;
    background:#fff;
    color:#26364b;
    font:inherit;
    font-size:10px;
    font-weight:700;
    outline:none;
}
.store-analytics-chart-selector:focus{
    border-color:#1269d3;
    box-shadow:0 0 0 3px rgba(18,105,211,.10);
}

.store-analytics-mobile-chart-picker{
    display:none;
    width:100%;
    min-height:44px;
    box-sizing:border-box;
    padding:0 12px;
    border:1px solid #cbd7e5;
    border-radius:10px;
    background:#fff;
    color:#26364b;
    font:inherit;
    font-size:11px;
    font-weight:800;
    text-align:left;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    cursor:pointer;
}
.store-analytics-mobile-chart-picker::after{
    content:'⌄';
    color:#64748b;
    font-size:16px;
    line-height:1;
}

/* Selector móvil de gráfica — mismo lenguaje visual que Enviar pedido */
.store-chart-choice-backdrop{
    position:fixed;
    inset:0;
    z-index:1000005;
    display:none;
    align-items:center;
    justify-content:center;
    padding:16px;
    background:rgba(15,23,42,.58);
}
.store-chart-choice-backdrop.open{
    display:flex;
}
.store-chart-choice-card{
    position:relative;
    width:min(440px,94vw);
    max-height:88vh;
    overflow:auto;
    padding:28px 24px 20px;
    border-radius:22px;
    background:#fff;
    box-shadow:0 24px 70px rgba(2,12,30,.28);
    text-align:center;
}
.store-chart-choice-close{
    position:absolute;
    top:14px;
    right:14px;
    width:36px;
    height:36px;
    border:1px solid #dbe4ef;
    border-radius:10px;
    background:#f8fafc;
    color:#64748b;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}
.store-chart-choice-icon{
    width:64px;
    height:64px;
    margin:0 auto 12px;
    display:grid;
    place-items:center;
    border-radius:18px;
    background:#eaf3ff;
    color:#1269d3;
}
.store-chart-choice-icon svg{
    width:31px;
    height:31px;
}
.store-chart-choice-kicker{
    color:#1269d3;
    font-size:10px;
    font-weight:900;
    letter-spacing:.16em;
}
.store-chart-choice-card h2{
    margin:7px 0 6px;
    color:#17263c;
    font-size:24px;
    line-height:1.15;
}
.store-chart-choice-card>p{
    margin:0 auto 16px;
    max-width:330px;
    color:#718096;
    font-size:12px;
    line-height:1.5;
}
.store-chart-choice-list{
    display:grid;
    gap:8px;
    margin:0 0 16px;
    text-align:left;
}
.store-chart-choice-option{
    width:100%;
    min-height:50px;
    padding:0 14px;
    border:1px solid #d4deea;
    border-radius:11px;
    background:#fff;
    color:#334155;
    font:inherit;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.store-chart-choice-option::after{
    content:'';
    width:18px;
    height:18px;
    flex:0 0 18px;
    border:2px solid #9aabc0;
    border-radius:50%;
    background:#fff;
    box-sizing:border-box;
}
.store-chart-choice-option.active{
    border-color:#1269d3;
    background:#f2f7ff;
    color:#0d55bd;
    box-shadow:0 0 0 2px rgba(18,105,211,.08);
}
.store-chart-choice-option.active::after{
    border:5px solid #1269d3;
}
.store-chart-choice-actions{
    display:grid;
    grid-template-columns:1fr 1.35fr;
    gap:10px;
}
.store-chart-choice-cancel,
.store-chart-choice-ok{
    min-height:48px;
    border-radius:11px;
    font:inherit;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
}
.store-chart-choice-cancel{
    border:1px solid #d4deea;
    background:#fff;
    color:#526277;
}
.store-chart-choice-ok{
    border:0;
    background:#12b94f;
    color:#fff;
    box-shadow:0 0 0 4px rgba(18,185,79,.12);
}
.store-chart-choice-ok:focus,
.store-chart-choice-cancel:focus,
.store-chart-choice-close:focus{
    outline:3px solid rgba(18,105,211,.18);
    outline-offset:2px;
}
.store-analytics-chart-copy{
    min-width:0;
}
.store-analytics-chart-copy strong{
    display:block;
    color:#17263c;
    font-size:14px;
    font-weight:900;
}
.store-analytics-chart-copy span{
    display:block;
    margin-top:3px;
    color:#718096;
    font-size:10px;
}
.store-analytics-print{
    min-height:36px;
    padding:0 14px;
    border:0;
    border-radius:8px;
    background:#1269d3;
    color:#fff;
    font:inherit;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
    white-space:nowrap;
}
.store-analytics-print:hover{
    background:#0d5fc4;
}
.store-analytics-chart-box{
    position:relative;
    width:100%;
    min-height:300px;
    border:1px solid #dbe5f0;
    border-radius:12px;
    background:#fff;
    overflow:hidden;
}
.store-analytics-chart-box canvas{
    display:block;
    width:100%;
    height:300px;
}
.store-analytics-chart-empty{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    color:#718096;
    font-size:11px;
    text-align:center;
}
.store-analytics-chart-tooltip{
    position:absolute;
    z-index:5;
    display:none;
    min-width:150px;
    max-width:220px;
    padding:9px 10px;
    border:1px solid #cbd8e8;
    border-radius:9px;
    background:#fff;
    box-shadow:0 10px 25px rgba(15,23,42,.14);
    color:#334155;
    font-size:10px;
    line-height:1.45;
    pointer-events:none;
}
.store-analytics-chart-tooltip strong{
    display:block;
    margin-bottom:4px;
    color:#0d55bd;
    font-size:10px;
}

@media(max-width:640px){
    .store-analytics-modal-head{
        min-height:70px;
        padding:11px 12px !important;
    }
    .store-analytics-head-content{
        gap:10px;
    }
    .store-analytics-head-icon{
        flex-basis:38px;
        width:38px;
        height:38px;
        border-radius:11px;
    }
    .store-analytics-head-icon svg{
        width:20px;
        height:20px;
    }
    .store-analytics-head-customer{
        max-width:48vw;
        font-size:9px;
    }
    .store-analytics-head-title{
        font-size:19px;
    }
    .store-analytics-modal-card{
        width:100%;
        height:94dvh;
        max-height:94dvh;
        overflow:hidden;
    }
    .store-analytics-body{
        flex:1 1 auto;
        min-height:0;
        padding:12px;
        overflow-y:auto;
        overflow-x:hidden;
        -webkit-overflow-scrolling:touch;
        overscroll-behavior:contain;
    }
    .store-analytics-period-head{
        align-items:flex-start;
        flex-direction:column;
        gap:5px;
    }
    .store-analytics-periods{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        width:100%;
    }
    .store-analytics-period{
        width:100%;
        padding:0 8px;
    }
    .store-analytics-custom-range{
        grid-template-columns:1fr;
    }
    .store-analytics-indicators{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    .store-analytics-kpi{
        min-height:88px;
        padding:12px 8px;
    }
    .store-analytics-kpi strong{
        font-size:20px;
    }
    .store-analytics-kpi.amount strong,
    .store-analytics-kpi.average strong{
        font-size:16px;
    }
    .store-analytics-chart-head{
        display:grid;
        grid-template-columns:1fr;
        align-items:stretch;
        gap:8px;
        width:100%;
    }
    .store-analytics-chart-selector-wrap,
    .store-analytics-chart-copy{
        width:100%;
        min-width:0;
    }
    .store-analytics-chart-selector-wrap label{
        text-align:left;
    }
    .store-analytics-chart-selector{
        display:none;
    }
    .store-analytics-mobile-chart-picker{
        display:flex;
    }
    .store-analytics-print{
        width:100%;
    }
    .store-analytics-stage{
        display:block;
        width:100%;
        min-height:0;
        padding:14px 10px;
        overflow:visible;
    }
    .store-analytics-chart-wrap,
    .store-analytics-chart-box{
        width:100%;
        min-width:0;
    }
    .store-analytics-chart-box{
        min-height:260px;
        overflow:hidden;
    }
    .store-analytics-chart-box canvas{
        width:100% !important;
        height:260px;
    }
}


.store-analytics-print{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:42px!important;width:42px!important;padding:0!important}
.store-analytics-print svg{display:block}

/* STORE SFL V1.0.013 · Mis pedidos canónico del Store anterior */
.store-orders-modal-card{
    width:min(620px,94vw);
    height:min(740px,94vh);
    max-height:94vh;
    display:flex;
    flex-direction:column;
    overflow:hidden;
}
.store-orders-modal-head{
    min-height:70px;
    box-sizing:border-box;
}
.store-orders-head-copy{
    min-width:0;
}
.store-orders-head-meta{
    display:flex;
    align-items:center;
    gap:6px;
    min-width:0;
    margin-bottom:4px;
    line-height:1;
}
.store-orders-head-account{
    color:#1269d3;
    font-size:9px;
    font-weight:900;
    letter-spacing:.13em;
    white-space:nowrap;
}
.store-orders-head-dot{
    color:#9aabc0;
    font-size:10px;
    font-weight:900;
}
.store-orders-head-customer{
    min-width:0;
    max-width:300px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#42556f;
    font-size:10px;
    font-weight:800;
}
.store-orders-head-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
}
.store-orders-report-button{
    appearance:none;
    -webkit-appearance:none;
    width:38px;
    height:38px;
    padding:0;
    border:1px solid #cfe1f7;
    border-radius:10px;
    background:#eef6ff;
    color:#1269d3;
    display:grid;
    place-items:center;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(18,105,211,.06);
    transition:background .15s ease,border-color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.store-orders-report-button svg{
    width:19px;
    height:19px;
}
.store-orders-report-button:hover{
    background:#e3f0ff;
    border-color:#b9d6f7;
    box-shadow:0 4px 12px rgba(18,105,211,.12);
}
.store-orders-report-button:active{
    transform:translateY(1px);
}
.store-orders-report-button:focus{
    outline:3px solid rgba(18,105,211,.14);
    outline-offset:2px;
}
.store-orders-filter{
    display:flex;
    align-items:center;
    gap:7px;
    padding:10px 14px;
    border-bottom:1px solid #e6ecf3;
    background:#fbfdff;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;
}
.store-orders-filter::-webkit-scrollbar{display:none}
.store-orders-filter-btn{
    appearance:none;
    -webkit-appearance:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex:0 0 auto;
    min-height:34px;
    padding:0 11px;
    border:1px solid #cfd9e6;
    border-radius:9px;
    background:#fff;
    color:#526277;
    font:inherit;
    font-size:10px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.store-orders-filter-btn:hover{
    border-color:#b8cae0;
    background:#f4f8fd;
    color:#24415f;
}
.store-orders-filter-btn.active{
    border-color:#1269d3;
    background:#1269d3;
    color:#fff;
    box-shadow:0 3px 9px rgba(18,105,211,.18);
}
.store-orders-filter-btn[data-order-filter="processed"].active{
    border-color:#16803d;
    background:#16803d;
    box-shadow:0 3px 9px rgba(22,128,61,.18);
}
.store-orders-filter-btn[data-order-filter="pending"].active{
    border-color:#b66d00;
    background:#b66d00;
    box-shadow:0 3px 9px rgba(182,109,0,.18);
}
.store-orders-filter-btn[data-order-filter="cancelled"].active{
    border-color:#c0342b;
    background:#c0342b;
    box-shadow:0 3px 9px rgba(192,52,43,.18);
}
.store-orders-filter-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:18px;
    height:18px;
    padding:0 5px;
    box-sizing:border-box;
    border-radius:999px;
    background:#edf2f7;
    color:#607087;
    font-size:8px;
    font-weight:900;
}
.store-orders-filter-btn.active .store-orders-filter-count{
    background:rgba(255,255,255,.20);
    color:#fff;
}
.store-orders-body{
    flex:1 1 auto;
    min-height:0;
    padding:12px 14px 16px;
    max-height:none;
    overflow:auto;
    display:flex;
    flex-direction:column;
}
.store-orders-list{
    display:flex;
    flex:0 0 auto;
    flex-direction:column;
    gap:8px;
}
.store-orders-loading{
    padding:34px 18px;
    text-align:center;
    color:#718096;
    font-size:11px;
    font-weight:700;
}
.store-orders-pagination{
    min-height:52px;
    box-sizing:border-box;
    padding:8px 14px 10px;
    border-top:1px solid #e6ecf3;
    background:#fbfdff;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
}
.store-orders-pagination[hidden]{display:none!important}
.store-orders-pagination-info{
    color:#718096;
    font-size:9px;
    font-weight:700;
    white-space:nowrap;
}
.store-orders-pagination-controls{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:5px;
    min-width:0;
}
.store-orders-page-btn{
    appearance:none;
    -webkit-appearance:none;
    min-width:31px;
    height:31px;
    padding:0 8px;
    border:1px solid #cfd9e6;
    border-radius:8px;
    background:#fff;
    color:#526277;
    font:inherit;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}
.store-orders-page-btn:hover:not(:disabled){
    border-color:#b8cae0;
    background:#f4f8fd;
    color:#24415f;
}
.store-orders-page-btn.active{
    border-color:#1269d3;
    background:#1269d3;
    color:#fff;
    box-shadow:0 2px 7px rgba(18,105,211,.16);
}
.store-orders-page-btn:disabled{
    opacity:.38;
    cursor:not-allowed;
}
@media(max-width:520px){
    .store-orders-modal-card{
        width:100%;
        height:94dvh;
        max-height:94dvh;
    }
    .store-orders-modal-head{
        min-height:66px;
    }
    .store-orders-head-customer{
        max-width:42vw;
        font-size:9px;
    }
    .store-orders-report-button{
        width:36px;
        height:36px;
    }
    .store-orders-filter-empty{
        min-height:180px;
    }
    .store-orders-pagination{
        align-items:stretch;
        flex-direction:column;
        gap:7px;
    }
    .store-orders-pagination-info{
        text-align:center;
    }
    .store-orders-pagination-controls{
        justify-content:center;
        overflow-x:auto;
        padding-bottom:1px;
    }
}
.store-orders-filter-empty{
    display:none;
    flex:1 1 auto;
    min-height:220px;
    padding:34px 18px;
    box-sizing:border-box;
    text-align:center;
    color:#718096;
}
.store-orders-filter-empty.show{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.store-orders-filter-empty strong{
    display:block;
    color:#24344a;
    font-size:13px;
    font-weight:900;
}
.store-orders-filter-empty span{
    display:block;
    margin-top:6px;
    font-size:10px;
    line-height:1.45;
}
.store-order-history-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:12px 13px;border:1px solid #dfe6ef;border-radius:11px;background:#fff}
.store-order-history-main strong{display:block;color:#16243a;font-size:12px}
.store-order-history-main span{display:block;margin-top:4px;color:#758398;font-size:10px}
.store-order-history-status{padding:5px 8px;border-radius:999px;font-size:9px;font-weight:800}
.store-order-history-status.pending{color:#8a5a00;background:#fff3d8}
.store-order-history-status.processed{color:#15733a;background:#e8f7ed}
.store-order-history-status.cancelled{color:#b42318;background:#fff0ef}
.store-order-history-total{color:#1156b7;font-size:13px;font-weight:900;white-space:nowrap}
.store-orders-empty{padding:36px 20px;text-align:center}
.store-orders-empty strong{display:block;color:#24344a;font-size:13px}
.store-order-history-card{
    border:1px solid #dfe6ef;
    border-radius:11px;
    background:#fff;
    overflow:hidden;
}
.store-order-history-row.store-order-toggle{
    width:100%;
    border:0;
    border-radius:0;
    background:#fff;
    cursor:pointer;
    text-align:left;
    grid-template-columns:minmax(0,1fr) auto auto 18px;
}
.store-order-history-row.store-order-toggle:hover{
    background:#f8fbff;
}
.store-order-history-caret{
    color:#718096;
    font-size:17px;
    line-height:1;
    text-align:center;
    transition:transform .18s ease;
}
.store-order-toggle[aria-expanded="true"] .store-order-history-caret{
    transform:rotate(180deg);
}
.store-order-detail{
    padding:12px;
    border-top:1px solid #e4eaf2;
    background:#fbfdff;
}
.store-order-detail-head,
.store-order-detail-line{
    display:grid;
    grid-template-columns:minmax(0,1.8fr) 52px 95px 105px;
    gap:10px;
    align-items:center;
}
.store-order-detail-head{
    padding:7px 8px;
    border-radius:7px;
    background:#155fc2;
    color:#fff;
    font-size:9px;
    font-weight:800;
}
.store-order-detail-head span:nth-child(n+2){
    text-align:right;
}
.store-order-detail-line{
    padding:10px 8px;
    border-bottom:1px solid #e6ebf2;
    color:#26364b;
    font-size:10px;
}
.store-order-detail-product strong{
    display:block;
    color:#17263c;
    font-size:10px;
}
.store-order-detail-product small{
    display:block;
    margin-top:3px;
    color:#758398;
    font-size:8px;
}
.store-order-detail-qty,
.store-order-detail-money{
    text-align:right;
    white-space:nowrap;
}
.store-order-detail-money strong{
    display:block;
    color:#17263c;
}
.store-order-detail-money small{
    display:block;
    margin-top:3px;
    color:#0d55bd;
    font-size:8px;
    font-weight:800;
}
.store-order-detail-money small.is-exempt{
    color:#16803d;
}
.store-order-detail-empty{
    padding:18px 10px;
    text-align:center;
    color:#758398;
    font-size:10px;
}
.store-order-detail-note{
    margin-top:10px;
    padding:10px;
    border-radius:8px;
    background:#f3f6fa;
}
.store-order-detail-note span{
    display:block;
    color:#7c899a;
    font-size:9px;
}
.store-order-detail-note strong{
    display:block;
    margin-top:4px;
    color:#26364b;
    font-size:10px;
    font-weight:600;
}
.store-order-detail-summary{
    margin-top:12px;
    padding-top:10px;
    border-top:1px dashed #cad5e3;
}
.store-order-detail-summary>div{
    display:flex;
    justify-content:space-between;
    gap:14px;
    padding:3px 2px;
    color:#46566c;
    font-size:10px;
}
.store-order-detail-summary .total{
    margin-top:5px;
    padding-top:8px;
    border-top:1px dashed #cad5e3;
}
.store-order-detail-summary .total span{
    color:#16243a;
    font-size:12px;
    font-weight:900;
}
.store-order-detail-summary .total strong{
    color:#1156b7;
    font-size:15px;
}
.store-order-detail-state{
    margin-top:10px;
    padding:9px 10px;
    border-radius:8px;
    background:#f4f7fb;
}
.store-order-detail-state span{
    color:#738095;
    font-size:9px;
}
.store-order-detail-state strong{
    margin-left:5px;
    color:#16243a;
    font-size:10px;
}
.store-order-detail-state small{
    display:block;
    margin-top:4px;
    color:#7c899a;
    font-size:9px;
}
.store-order-invoice-ref{
    margin-top:6px;
    display:flex;
    align-items:center;
    gap:6px;
}
.store-order-invoice-ref span{
    color:#738095;
    font-size:9px;
}
.store-order-invoice-ref strong{
    margin:0;
    color:#0d55bd;
    font-size:11px;
    font-weight:900;
}
.store-order-invoice-ref a{
    margin:0;
    color:#0d55bd;
    font-size:11px;
    font-weight:900;
    text-decoration:none;
}
.store-order-invoice-ref a:hover{
    text-decoration:underline;
}
.store-order-detail-state.processed{
    background:#edf9f1;
}
.store-order-detail-state.cancelled{
    background:#fff3f2;
    border:1px solid #f3c4bf;
}
.store-order-detail-state.cancelled > strong{
    color:#b42318;
}
.store-order-cancelled-at{
    margin-top:6px;
    display:flex;
    align-items:center;
    gap:6px;
}
.store-order-cancelled-at span{
    color:#8f6b68;
    font-size:9px;
}
.store-order-cancelled-at strong{
    margin:0;
    color:#b42318;
    font-size:10px;
    font-weight:800;
}


.store-order-repeat-actions{
    margin-top:9px;
    display:flex;
    align-items:center;
    gap:8px;
}
.store-order-repeat-button{
    appearance:none;
    -webkit-appearance:none;
    min-height:34px;
    padding:0 12px;
    border:1px solid #b9d6f7;
    border-radius:9px;
    background:#eef6ff;
    color:#0d55bd;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    font:inherit;
    font-size:10px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    box-shadow:0 2px 7px rgba(18,105,211,.07);
    transition:background .15s ease,border-color .15s ease,transform .08s ease,box-shadow .15s ease;
}
.store-order-repeat-button span{
    color:inherit;
    font-size:17px;
    line-height:1;
}
.store-order-repeat-button:hover{
    background:#e3f0ff;
    border-color:#9fc8f6;
    box-shadow:0 4px 10px rgba(18,105,211,.12);
}
.store-order-repeat-button:active{
    transform:translateY(1px);
}
.store-order-repeat-button:focus-visible{
    outline:3px solid rgba(18,105,211,.16);
    outline-offset:2px;
}
.store-analytics-report-modal{
    position:fixed;
    inset:0;
    z-index:1000002;
    display:none;
    align-items:center;
    justify-content:center;
    padding:18px;
    background:rgba(15,23,42,.58);
}
.store-analytics-report-modal.open{
    display:flex;
}
.store-analytics-report-card{
    width:min(1160px,96vw);
    height:min(92vh,900px);
    background:#fff;
    border-radius:16px;
    box-shadow:0 24px 70px rgba(2,12,30,.30);
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
.store-analytics-report-head{
    min-height:54px;
    padding:10px 12px 10px 16px;
    border-bottom:1px solid #e3e9f1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:#fff;
}
.store-analytics-report-head strong{
    color:#16243a;
    font-size:14px;
}
.store-analytics-report-close{
    width:34px;
    height:34px;
    border:0;
    border-radius:9px;
    background:#f1f5f9;
    color:#475569;
    font-size:22px;
    line-height:1;
    cursor:pointer;
}
.store-analytics-report-frame{
    width:100%;
    height:100%;
    flex:1 1 auto;
    border:0;
    background:#eef3f8;
}
@media(max-width:640px){
    .store-analytics-report-modal{
        padding:8px;
    }
    .store-analytics-report-card{
        width:100%;
        height:94vh;
        border-radius:13px;
    }
}



/* STORE SFL V1.0.014 · Filtros personales canónicos */
.online-store-page .store-favorites-category,
.online-store-page .store-most-purchased-category{gap:6px!important}
.online-store-page .store-favorites-category>span:first-child{color:#d6283c;font-size:13px;line-height:1}
.online-store-page .store-favorites-category.active>span:first-child{color:#fff}
.online-store-page .store-favorites-category small{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#fff0f2;color:#c6283b;font-size:8px;font-weight:900;line-height:1}
.online-store-page .store-favorites-category.active small{background:rgba(255,255,255,.22);color:#fff}
.online-store-page .store-most-purchased-category>span:first-child{color:#d08a00;font-size:12px;line-height:1}
.online-store-page .store-most-purchased-category.active>span:first-child{color:#fff}


/* STORE SFL V1.0.017 · Paginador estándar SFL (igual al POS/App) */
.online-store-page .sfl-pos-style-pagination.store-pagination{
    display:flex;align-items:center;justify-content:center;gap:14px;min-height:52px;
    padding:10px 14px;border-top:1px solid #e7eef5;background:#fbfdff;flex-wrap:wrap;
}
.online-store-page .sfl-pos-style-pagination-info{color:#26374d;font-size:12px;font-weight:700}
.online-store-page .sfl-pos-style-pagination-controls{display:flex;align-items:center;justify-content:center;gap:6px}
.online-store-page .sfl-pos-style-page-button{
    min-width:30px;height:30px;padding:0 8px;display:inline-flex;align-items:center;justify-content:center;
    box-sizing:border-box;border:1px solid #c9d9ec;border-radius:8px;background:#fff;color:#193a63;
    font-size:12px;font-weight:800;line-height:1;text-decoration:none;
}
.online-store-page a.sfl-pos-style-page-button:hover{background:#edf5ff;border-color:#8ebbf0}
.online-store-page .sfl-pos-style-page-button.is-active{border-color:#1476df;background:#1476df;color:#fff}
.online-store-page .sfl-pos-style-page-button.is-disabled{opacity:.42;cursor:default}
.online-store-page .sfl-pos-style-page-dots{padding:0 2px;color:#7890aa;font-size:12px;font-weight:800}
@media(max-width:620px){
  .online-store-page .sfl-pos-style-pagination.store-pagination{gap:8px;padding-left:8px;padding-right:8px}
  .online-store-page .sfl-pos-style-pagination-info{width:100%;text-align:center}
}

/* STORE SFL V1.0.018 · Analítica corregida y presentación jerarquizada */
.online-store-page .store-analytics-modal-card{
    width:min(980px,96vw);
    height:min(92vh,880px);
    border:1px solid #d9e4f0;
    border-radius:18px;
    box-shadow:0 30px 80px rgba(10,35,68,.28);
}
.online-store-page .store-analytics-body{
    padding:18px;
    background:#f5f8fc;
}
.online-store-page .store-analytics-period-panel{
    padding:15px 16px;
    border-color:#d6e3f1;
    border-radius:14px;
    box-shadow:0 6px 18px rgba(18,66,120,.04);
}
.online-store-page .store-analytics-periods{
    display:grid;
    grid-template-columns:repeat(8,minmax(0,1fr));
    gap:7px;
}
.online-store-page .store-analytics-period{
    width:100%;
    min-width:0;
    min-height:36px;
    padding:0 7px;
}
.online-store-page .store-analytics-selected{
    min-height:48px;
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:13px;
    padding:8px 11px;
    box-sizing:border-box;
    border-color:#cfe0f3;
    border-radius:11px;
    background:linear-gradient(90deg,#f1f7ff,#f8fbff);
}
.online-store-page .store-analytics-selected-icon{
    width:31px;
    height:31px;
    flex:0 0 31px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#dfeeff;
    color:#1269d3;
}
.online-store-page .store-analytics-selected-icon svg{width:17px;height:17px}
.online-store-page .store-analytics-selected-copy{min-width:0;display:grid;gap:2px}
.online-store-page .store-analytics-selected-copy small{
    color:#718096;
    font-size:8px;
    font-weight:900;
    letter-spacing:.04em;
    text-transform:uppercase;
}
.online-store-page .store-analytics-selected-copy strong{font-size:11px}
.online-store-page .store-analytics-updated{
    margin-left:auto;
    color:#60758e;
    font-size:8.5px;
    font-weight:800;
    white-space:nowrap;
}
.online-store-page .store-analytics-loading{
    min-height:30px;
    display:none;
    align-items:center;
    gap:8px;
    margin:10px 0 -2px;
    padding:0 10px;
    border-radius:9px;
    background:#eaf3ff;
    color:#0d5fbe;
}
.online-store-page .store-analytics-loading::before{
    content:'';
    width:12px;
    height:12px;
    border:2px solid #9fc7f2;
    border-top-color:#1269d3;
    border-radius:50%;
    animation:storeAnalyticsSpin .75s linear infinite;
}
.online-store-page .store-analytics-loading.show{display:flex}
@keyframes storeAnalyticsSpin{to{transform:rotate(360deg)}}
.online-store-page .store-analytics-indicators{
    grid-template-columns:repeat(12,minmax(0,1fr));
    gap:11px;
}
.online-store-page .store-analytics-kpi{
    position:relative;
    grid-column:span 3;
    min-height:108px;
    align-items:flex-start;
    justify-content:center;
    padding:15px 16px;
    overflow:hidden;
    border-color:#d6e2ef;
    border-radius:13px;
    text-align:left;
    box-shadow:0 7px 20px rgba(16,50,88,.055);
}
.online-store-page .store-analytics-kpi::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#1269d3;
}
.online-store-page .store-analytics-kpi>span{font-size:9.5px;text-transform:uppercase;letter-spacing:.035em}
.online-store-page .store-analytics-kpi>strong{margin-top:8px;font-size:25px}
.online-store-page .store-analytics-kpi>small{margin-top:5px;font-size:8.5px}
.online-store-page .store-analytics-kpi.order{background:linear-gradient(145deg,#fff,#f5f9ff)}
.online-store-page .store-analytics-kpi.processed{background:linear-gradient(145deg,#fff,#f2fbf6)}
.online-store-page .store-analytics-kpi.processed::before{background:#16a05d}
.online-store-page .store-analytics-kpi.pending{background:linear-gradient(145deg,#fff,#fff9ec)}
.online-store-page .store-analytics-kpi.pending::before{background:#d18a00}
.online-store-page .store-analytics-kpi.cancelled{background:linear-gradient(145deg,#fff,#fff4f3)}
.online-store-page .store-analytics-kpi.cancelled::before{background:#d4423a}
.online-store-page .store-analytics-kpi.amount,
.online-store-page .store-analytics-kpi.average{
    grid-column:span 6;
    min-height:96px;
    background:linear-gradient(135deg,#0f5fc1,#1679e4);
    border-color:#1269d3;
}
.online-store-page .store-analytics-kpi.amount::before,
.online-store-page .store-analytics-kpi.average::before{display:none}
.online-store-page .store-analytics-kpi.amount>span,
.online-store-page .store-analytics-kpi.average>span,
.online-store-page .store-analytics-kpi.amount>small,
.online-store-page .store-analytics-kpi.average>small{color:rgba(255,255,255,.78)}
.online-store-page .store-analytics-kpi.amount>strong,
.online-store-page .store-analytics-kpi.average>strong{color:#fff;font-size:22px}
.online-store-page .store-analytics-kpi.average{background:linear-gradient(135deg,#123f7e,#1764bc)}
.online-store-page .store-analytics-stage{
    min-height:0;
    padding:16px;
    border:1px solid #d6e2ef;
    border-radius:14px;
    background:#fff;
    box-shadow:0 8px 24px rgba(16,50,88,.045);
}
.online-store-page .store-analytics-chart-head{
    grid-template-columns:220px minmax(0,1fr) auto;
    align-items:center;
    margin-bottom:13px;
    padding-bottom:12px;
    border-bottom:1px solid #e5edf5;
}
.online-store-page .store-analytics-chart-selector-wrap label{text-align:left}
.online-store-page .store-analytics-chart-copy strong{font-size:15px}
.online-store-page .store-analytics-chart-box{
    min-height:320px;
    border-color:#d7e3ef;
    background:linear-gradient(180deg,#fff,#fbfdff);
}
.online-store-page .store-analytics-chart-empty{
    display:none;
    flex-direction:column;
    gap:6px;
    color:#718096;
}
.online-store-page .store-analytics-chart-empty.show{display:flex}
.online-store-page .store-analytics-chart-empty-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin-bottom:3px;
    border-radius:14px;
    background:#eaf3ff;
    color:#1269d3;
}
.online-store-page .store-analytics-chart-empty-icon svg{width:24px;height:24px}
.online-store-page .store-analytics-chart-empty strong{color:#2c415c;font-size:12px}
.online-store-page .store-analytics-chart-empty small{color:#8796a9;font-size:9px}
@media(max-width:850px){
    .online-store-page .store-analytics-periods{grid-template-columns:repeat(4,minmax(0,1fr))}
    .online-store-page .store-analytics-kpi{grid-column:span 6}
}
@media(max-width:640px){
    .online-store-page .store-analytics-modal-card{height:94dvh;border-radius:14px}
    .online-store-page .store-analytics-body{padding:11px}
    .online-store-page .store-analytics-period-panel{padding:12px}
    .online-store-page .store-analytics-periods{grid-template-columns:repeat(2,minmax(0,1fr))}
    .online-store-page .store-analytics-selected{align-items:flex-start;flex-wrap:wrap}
    .online-store-page .store-analytics-updated{width:100%;margin:0 0 0 41px;white-space:normal}
    .online-store-page .store-analytics-kpi{grid-column:span 6;min-height:94px;padding:12px}
    .online-store-page .store-analytics-kpi.amount,
    .online-store-page .store-analytics-kpi.average{grid-column:span 12;min-height:90px}
    .online-store-page .store-analytics-chart-head{grid-template-columns:1fr}
    .online-store-page .store-analytics-chart-box{min-height:270px}
}

/* ============================================================
 * STORE SFL V1.0.021 · CARRITO MÓVIL · VACIAR PEDIDO
 * El botón de vaciar ya existía en el encabezado del pedido,
 * pero en móvil quedaba debajo del botón X de cerrar el panel.
 * Se reserva espacio para ambos controles y se mantiene el modal
 * canónico de confirmación antes de vaciar el carrito.
 * ============================================================ */
@media (max-width: 900px){
    .online-store-page .store-order .pos-sale-head{
        padding-right:18px;
    }
    .online-store-page .store-order .pos-sale-head-actions{
        margin-right:48px;
        flex:0 0 auto;
    }
    .online-store-page .store-order .pos-sale-head-actions form{
        display:block;
    }
    .online-store-page .store-order .pos-clear{
        display:flex !important;
        width:36px;
        height:36px;
        flex:0 0 36px;
        align-items:center;
        justify-content:center;
        border:1px solid #f0c7c7;
        border-radius:10px;
        background:#fff5f5;
        color:#d92d20;
        font-size:17px;
        line-height:1;
        box-shadow:none;
        visibility:visible !important;
        opacity:1 !important;
        position:relative;
        z-index:6;
    }
    .online-store-page .store-order .pos-clear:active{
        transform:scale(.97);
    }
    .online-store-page .store-mobile-cart-close{
        z-index:7;
    }
}

@media (max-width: 520px){
    .online-store-page .store-order .pos-sale-head{
        padding-left:20px;
        padding-right:14px;
    }
    .online-store-page .store-order .pos-sale-head-actions{
        margin-right:46px;
    }
}

/* ===== V1.0.026 · Idiomas Fase 1 · Idioma activo destacado ===== */
.sfl-store-language-switch{display:inline-flex;align-items:center;gap:4px;margin-left:auto;margin-right:8px;padding:4px 7px;border:1px solid rgba(255,255,255,.28);border-radius:999px;font-size:11px;font-weight:800}.sfl-store-language-switch a{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 8px;border-radius:999px;color:rgba(255,255,255,.72);text-decoration:none;transition:background .18s ease,color .18s ease,box-shadow .18s ease}.sfl-store-language-switch a:hover{background:rgba(255,255,255,.14);color:#fff}.sfl-store-language-switch a.is-active{background:#fff;color:#0b5fc9;box-shadow:0 4px 12px rgba(12,78,160,.18)}.sfl-store-language-switch span{color:rgba(255,255,255,.35)}@media(max-width:760px){.sfl-store-language-switch{margin-left:auto;margin-right:4px}}

/* ===== V1.0.028 · Idiomas Fase 5 · Store ES / EN ===== */
.sfl-store-language-menu{position:relative;margin-left:auto;margin-right:8px}.sfl-store-language-menu summary{list-style:none;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 10px;border:1px solid rgba(255,255,255,.3);border-radius:9px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;user-select:none}.sfl-store-language-menu summary::-webkit-details-marker{display:none}.sfl-store-language-menu summary:hover{background:rgba(255,255,255,.15)}.sfl-store-language-menu[open] summary{background:rgba(255,255,255,.17);box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}.sfl-store-language-menu .sfl-language-globe{width:17px;height:17px;color:#fff}.sfl-store-language-menu .sfl-language-chevron{width:14px;height:14px;color:rgba(255,255,255,.72);transition:transform .18s ease}.sfl-store-language-menu[open] .sfl-language-chevron{transform:rotate(180deg)}.sfl-store-language-menu summary strong{font-size:11px;letter-spacing:.04em}.sfl-store-language-panel{position:absolute;z-index:120;top:calc(100% + 8px);right:0;width:158px;padding:6px;border:1px solid #d6e2ee;border-radius:12px;background:#fff;box-shadow:0 15px 38px rgba(10,41,78,.22)}.sfl-store-language-panel a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:0 10px;border-radius:8px;color:#415b76;text-decoration:none;font-size:11px;font-weight:750}.sfl-store-language-panel a:hover{background:#f0f6ff;color:#0b5fc9}.sfl-store-language-panel a b{display:none;color:#0b5fc9}.sfl-store-language-panel a.is-active{background:#eaf3ff;color:#0b5fc9}.sfl-store-language-panel a.is-active b{display:inline}.sfl-store-language-panel a.is-active span{font-weight:900}@media(max-width:760px){.sfl-store-language-menu{margin-left:auto;margin-right:4px}.sfl-store-language-panel{right:0}}

/* ===== V1.0.030 · Idiomas Fase 7 · Correos y revisión final ===== */
.online-store-page .store-pos-language-menu{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;padding:0 8px;border-right:1px solid rgba(255,255,255,.10);z-index:30010}
.online-store-page .store-pos-language-menu summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;min-width:64px;padding:0 9px;border:1px solid rgba(255,255,255,.20);border-radius:10px;background:rgba(255,255,255,.07);color:#fff;cursor:pointer;user-select:none}
.online-store-page .store-pos-language-menu summary::-webkit-details-marker{display:none}
.online-store-page .store-pos-language-menu summary:hover,.online-store-page .store-pos-language-menu[open] summary{background:rgba(255,255,255,.13)}
.online-store-page .store-pos-language-menu .sfl-language-globe{width:17px;height:17px;color:#bcd6fa}
.online-store-page .store-pos-language-menu .sfl-language-chevron{width:13px;height:13px;color:#a9bdd8;transition:transform .18s ease}
.online-store-page .store-pos-language-menu[open] .sfl-language-chevron{transform:rotate(180deg)}
.online-store-page .store-pos-language-menu summary strong{font-size:11px;letter-spacing:.04em}
.online-store-page .store-pos-language-panel{position:absolute;z-index:32000;top:calc(50% + 26px);right:8px;width:158px;padding:6px;border:1px solid #d6e2ee;border-radius:12px;background:#fff;box-shadow:0 15px 38px rgba(7,26,56,.28)}
.online-store-page .store-pos-language-panel a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px;padding:0 10px;border-radius:8px;color:#415b76;text-decoration:none;font-size:11px;font-weight:750}
.online-store-page .store-pos-language-panel a:hover{background:#f0f6ff;color:#0b5fc9}
.online-store-page .store-pos-language-panel a b{display:none;color:#0b5fc9}
.online-store-page .store-pos-language-panel a.is-active{background:#eaf3ff;color:#0b5fc9}
.online-store-page .store-pos-language-panel a.is-active b{display:inline}
.online-store-page .store-pos-language-panel a.is-active span{font-weight:900}
@media(max-width:980px){
  .online-store-page .store-pos-language-menu{grid-column:2;grid-row:1;padding:0;border-right:0}
  .online-store-page .store-pos-language-menu summary{min-width:48px;width:48px;height:48px;padding:0 5px;gap:4px;border-radius:50%}
  .online-store-page .store-pos-language-menu .sfl-language-globe{width:16px;height:16px}
  .online-store-page .store-pos-language-menu .sfl-language-chevron{display:none}
  .online-store-page .store-pos-language-menu summary strong{font-size:9px}
  .online-store-page .store-pos-language-panel{top:calc(100% + 1px);right:0}
}


/* ===== V1.0.031 · Favicon oficial SFL · ES/EN · Sin cambios visuales adicionales ===== */

/* =====================================================================
 * STORE V1.0.037 · Punto 2 (misma lógica que el POS de la APP)
 * 1) 📌 Recomendados: pestaña con el estilo de las demás y 📌 informativo
 *    arriba a la IZQUIERDA de la imagen; el ♡ de Favoritos va a la DERECHA.
 * 2) PC (> 980px): el recuadro de productos tiene su propio scroll y mide lo
 *    mismo que el «Pedido actual» (alto calculado en store.js).
 * ===================================================================== */
.online-store-page .store-recommended-category{gap:6px!important}
.online-store-page .store-recommended-category>span:first-child{font-size:13px;line-height:1}
.online-store-page .store-recommended-category small{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#eaf1fb;color:#0b5fc6;font-size:10px;font-weight:900}
.online-store-page .store-recommended-category.active small{background:rgba(255,255,255,.22);color:#fff}
.online-store-page .store-product .pos-product-image .store-favorite-form{left:auto!important;right:7px!important}
.online-store-page .store-product .pos-product-image .store-recommended-pin{position:absolute;top:7px;left:7px;z-index:3;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;border:1px solid #f2b8bf;background:#fff5f6;font-size:15px;line-height:1;box-shadow:0 3px 8px rgba(11,55,107,.08);pointer-events:none}
@media (min-width:981px){
  .online-store-page.has-fixed-catalog .store-grid{height:var(--store-grid-h,560px);overflow-y:auto;overscroll-behavior:contain;align-content:start;grid-auto-rows:max-content;padding-right:6px;scrollbar-gutter:stable}
}

/* STORE V1.0.038 · El ♡ del visitante sin sesión (botón suelto, sin formulario) también flota
   arriba a la DERECHA sobre la foto. Antes quedaba al lado de la imagen, la achicaba y salía cortado. */
.online-store-page .store-product .pos-product-image > .store-favorite{position:absolute;top:7px;right:7px;left:auto;z-index:3;margin:0}

/* STORE V1.0.039 · Pestaña 📌 solo con ícono + contador; al pasar el mouse dice «Recomendados». */
.online-store-page .store-recommended-category{min-width:0!important;width:auto!important;flex:0 0 auto!important;padding-left:12px!important;padding-right:12px!important;gap:5px!important}
