:root{
  --brand-primary:#d32f2f;--brand-secondary:#b71c1c;--brand-accent:#ffc72c;
  --header-height:72px;--footer-height:78px;--surface:#fff;--background:#f5f6f8;
  --ink:#222;--muted:#6b7280;--line:#e5e7eb;--danger:#d32f2f;
  --shadow:0 8px 24px rgba(0,0,0,.09)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}html,body{margin:0;min-height:100%;font-family:Montserrat,sans-serif;background:var(--background);color:var(--ink)}body{padding-top:calc(var(--header-height) + env(safe-area-inset-top));padding-bottom:calc(var(--footer-height) + env(safe-area-inset-bottom))}.hidden{display:none!important}button,input,select,textarea{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}
.customer-header{position:fixed;z-index:1000;top:0;left:0;right:0;background:var(--brand-primary);box-shadow:0 1px 6px rgba(0,0,0,.12)}.customer-header:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--brand-accent)}.customer-top-safebar{height:env(safe-area-inset-top,0);background:var(--brand-primary)}.customer-header-inner{height:var(--header-height);max-width:1180px;margin:auto;padding:9px 14px 11px;display:flex;align-items:center;justify-content:space-between;gap:14px}.customer-brand{display:flex;align-items:center;gap:12px;min-width:0;border:0;background:transparent;color:#fff;padding:0;text-align:left}.customer-brand-logo{width:auto;height:42px;max-width:90px;object-fit:contain;flex:0 0 auto}.customer-brand-text{display:grid;line-height:1.04;min-width:0}.customer-brand-title{font-size:.96rem;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.customer-brand-subtitle{font-size:.7rem;font-weight:800;margin-top:3px;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}.customer-header-actions{display:flex;align-items:center;gap:10px}.install-app-btn{border:0;border-radius:999px;background:var(--brand-accent);color:#222;padding:9px 14px;font-size:.82rem;font-weight:900;display:inline-flex;align-items:center;gap:7px;box-shadow:0 4px 10px rgba(0,0,0,.15)}.customer-account-btn{border:0;background:transparent;color:#fff;display:grid;place-items:center;gap:2px;font-weight:800;font-size:.68rem}.customer-account-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--brand-accent);color:#222;box-shadow:0 4px 10px rgba(0,0,0,.15);font-size:1.05rem}
.page-section{display:none;max-width:1180px;margin:0 auto;padding:24px 14px 30px}.page-section.active{display:block}.dashboard-container{max-width:980px;margin:auto}.dashboard-hero{background:#fff;border-radius:18px;padding:22px 20px;text-align:center;box-shadow:var(--shadow);border:1px solid #eee;margin-bottom:22px}.dashboard-hero h1{margin:0;color:var(--brand-primary);font-size:1.65rem;font-weight:900}.dashboard-hero p{margin:8px 0 0;color:#6b7280;font-size:.93rem}.category-nav{display:flex;gap:8px;overflow:auto;padding:0 2px 10px;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-nav a{background:#fff;border:1px solid color-mix(in srgb,var(--brand-primary),#fff 68%);color:var(--brand-primary);border-radius:999px;padding:8px 13px;font-weight:800;font-size:.8rem;white-space:nowrap;box-shadow:0 3px 10px rgba(0,0,0,.05)}.category-block{margin:0 0 28px}.category-title{display:flex;align-items:center;justify-content:center;margin:0 0 14px}.category-title h2{margin:0;background:#fff;border:1px solid color-mix(in srgb,var(--brand-primary),#fff 65%);color:var(--brand-primary);font-size:1rem;font-weight:900;border-radius:999px;padding:9px 18px;box-shadow:0 4px 13px rgba(0,0,0,.06);text-transform:uppercase;letter-spacing:.02em}.category-title h2:before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--brand-accent);box-shadow:0 0 0 3px var(--brand-primary);margin-right:10px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.product-card{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #ececec;box-shadow:var(--shadow);display:grid;grid-template-columns:43% 57%;min-height:220px;transition:.2s}.product-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.12)}.product-image{border:0;background:#fff;display:grid;place-items:center;padding:12px;min-height:210px}.product-image img{width:100%;height:100%;max-height:200px;object-fit:contain;transition:.25s}.product-card:hover .product-image img{transform:scale(1.04)}.fallback,.mini-fallback{display:grid;place-items:center;background:color-mix(in srgb,var(--brand-primary),#fff 90%);color:var(--brand-primary);font-weight:900;border-radius:14px}.fallback{width:90px;height:90px;font-size:2rem}.product-info{padding:18px 16px;display:flex;flex-direction:column}.product-info h3{margin:0 0 7px;color:var(--brand-primary);font-size:1.08rem;font-weight:900}.product-info p{margin:0 0 12px;color:#666;font-size:.84rem;line-height:1.42;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-kind{display:none}.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-top:auto}.product-price-wrap strong{font-size:1.2rem;color:var(--brand-primary)}.product-price-wrap small{display:block;color:#6b7280;font-size:.74rem;margin-top:3px}.product-rate{font-size:.67rem!important}.add-circle{border:0;border-radius:999px;background:var(--brand-primary);color:#fff;font-weight:900;padding:10px 14px;box-shadow:0 5px 13px color-mix(in srgb,var(--brand-primary),transparent 72%)}
.content-card{background:#fff;border-radius:18px;padding:20px;border:1px solid #ececec;box-shadow:var(--shadow)}.content-title{display:flex;align-items:center;gap:13px;border-bottom:1px solid #eee;padding-bottom:15px;margin-bottom:16px}.content-title>i{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--brand-primary);color:#fff;font-size:1.2rem}.content-title h1{margin:0;color:var(--brand-primary);font-size:1.35rem}.content-title p{margin:4px 0 0;color:#777;font-size:.82rem}.content-title.with-action .btn{margin-left:auto}
.bottom-ribbon{position:fixed;z-index:950;left:0;right:0;bottom:0;background:var(--brand-primary);height:calc(var(--footer-height) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 16px rgba(0,0,0,.18)}.bottom-ribbon-inner{height:var(--footer-height);max-width:760px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr)}.bottom-ribbon-item{position:relative;border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-weight:700}.bottom-ribbon-item i{font-size:1.38rem}.bottom-ribbon-item span{font-size:.7rem}.bottom-ribbon-item.active{color:var(--brand-accent)}.bottom-count{position:absolute;top:8px;left:calc(50% + 8px);min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--brand-accent);color:#222;display:grid;place-items:center;font-size:.66rem;font-weight:900;box-shadow:0 2px 5px rgba(0,0,0,.2)}
.mcd-modal{position:fixed;z-index:2500;inset:0;background:rgba(0,0,0,.58);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto;backdrop-filter:blur(2px)}.mcd-modal-dialog{width:100%;margin:auto}.modal-sm{max-width:440px}.modal-md{max-width:620px}.modal-lg{max-width:820px}.modal-xl{max-width:1120px}.mcd-modal-content{background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.35);max-height:calc(100vh - 32px);display:flex;flex-direction:column}.mcd-modal-header{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eee}.mcd-modal-header.danger{background:var(--brand-primary);color:#fff}.mcd-modal-header h2{margin:0;font-size:1.1rem;font-weight:900}.mcd-modal-header h2 i{margin-right:8px}.modal-close{width:36px;height:36px;border:0;border-radius:50%;font-size:1.55rem;line-height:1}.modal-close.light{background:rgba(255,255,255,.18);color:#fff}.mcd-modal-body{padding:20px;overflow:auto}.mcd-modal-footer{padding:15px 20px;border-top:1px solid #eee;display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#fff}.mcd-modal-footer.stacked{display:grid}.btn{border:0;border-radius:9px;padding:11px 16px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn-danger{background:var(--brand-primary);color:#fff}.btn-secondary{background:#6c757d;color:#fff}.btn-warning{background:var(--brand-accent);color:#222}.full{width:100%;grid-column:1/-1}.center{text-align:center}.scrim{display:none}
.product-modal-title{padding:13px 20px;border-bottom:1px solid #eee;text-align:center;color:var(--brand-primary);font-size:1.12rem}.product-modal-layout{display:grid;grid-template-columns:300px 1fr;gap:20px}.modal-product-image{height:270px;border:1px solid #eee;border-radius:16px;background:#fff;padding:12px}.modal-product-image img{width:100%;height:100%;object-fit:contain}.product-description{color:#666;line-height:1.5}.product-price-panel{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.product-price-panel>div{background:#f8f9fa;border-radius:12px;padding:12px;text-align:center}.product-price-panel span{display:block;color:#777;font-size:.75rem}.product-price-panel strong{display:block;color:var(--brand-primary);font-size:1.15rem;margin-top:3px}.unit-navigation{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;background:#fff8e1;border:1px solid #ffe08a;border-radius:13px;padding:11px;margin:12px 0;text-align:center}.unit-navigation small{display:block;color:#777}.option-group{border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin-top:14px}.option-group h3{margin:0;color:var(--brand-primary);font-size:1rem}.option-group h3 small{color:#dc2626;font-size:.68rem}.option-group>p{margin:5px 0 10px;color:#777;font-size:.78rem}.option-row{margin-top:8px}.option-row input{position:absolute;opacity:0}.option-row label{display:flex;justify-content:space-between;gap:10px;border:1px solid #ddd;border-radius:11px;padding:11px 12px;cursor:pointer;background:#fff}.option-row input:checked+label{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary),#fff 92%)}.option-row input:disabled+label{opacity:.5;cursor:not-allowed}.product-modal-footer{justify-content:space-between}.quantity-control{display:flex;align-items:center;gap:13px;border-radius:999px;background:#f1f1f1;padding:5px}.quantity-control button{width:37px;height:37px;border-radius:50%;border:0;background:#fff;font-size:1.2rem;font-weight:900}.quantity-control strong{min-width:24px;text-align:center}
.cart-content{padding:16px 20px}.cart-line{display:grid;grid-template-columns:92px 1fr 42px;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #eee}.cart-line img,.mini-fallback{width:92px;height:82px;object-fit:contain;border-radius:12px;background:#fff}.cart-line h4{margin:0 0 5px;color:var(--brand-primary);font-size:1rem}.cart-line small{display:block;color:#666;line-height:1.4}.cart-line strong{display:block;margin-top:6px}.cart-line>button{width:38px;height:38px;border:0;border-radius:50%;background:#fee2e2;color:#b91c1c}.cart-summary-footer{justify-content:space-between}.cart-summary-footer>div{display:grid}.cart-summary-footer span{color:#777;font-size:.78rem}.cart-summary-footer strong{font-size:1.35rem;color:var(--brand-primary)}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 20px 0}.auth-tabs button{border:1px solid #ddd;background:#f8f9fa;border-radius:10px;padding:11px;font-weight:800}.auth-tabs button.active{background:var(--brand-primary);color:#fff;border-color:var(--brand-primary)}.auth-form{display:grid;gap:14px}.form-grid,.checkout-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:7px}.field label{font-weight:800;font-size:.82rem}.field input,.field select,.field textarea{width:100%;border:1px solid #ced4da;border-radius:9px;padding:11px 12px;background:#fff}.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid color-mix(in srgb,var(--brand-primary),transparent 82%);border-color:var(--brand-primary)}.field small{color:#777;font-size:.73rem}.permissions-body{text-align:center}.permission-main-icon{font-size:3.2rem;color:var(--brand-primary)}.permissions-body h3{margin:12px 0 6px}.permissions-body>p{color:#666}.permission-row{display:grid;grid-template-columns:42px 1fr;gap:10px;text-align:left;background:#f8f9fa;border-radius:12px;padding:12px;margin-top:10px}.permission-row>i{grid-row:1/3;width:42px;height:42px;border-radius:50%;background:var(--brand-accent);display:grid;place-items:center}.permission-row small{display:block;color:#777;margin-top:3px}
.customer-summary,.quote-card,.checkout-summary{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:13px;padding:13px}.customer-summary{display:flex;align-items:center;justify-content:space-between;gap:10px}.customer-summary small{display:block;color:#777}.location-panel{border:1px solid #e5e7eb;border-radius:15px;padding:15px}.location-panel h3{margin:0 0 13px;color:var(--brand-primary);font-size:1rem}.location-search{display:grid;grid-template-columns:1fr auto;gap:8px}.place-results{margin-top:8px;border:1px solid #ddd;border-radius:10px;max-height:220px;overflow:auto}.place-result{width:100%;border:0;border-bottom:1px solid #eee;background:#fff;padding:10px;text-align:left}.delivery-map{height:340px;border:1px solid #ddd;border-radius:12px;margin:10px 0 14px;overflow:hidden}.quote-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.quote-card small{display:block;color:#777}.quote-card>strong{color:var(--brand-primary);font-size:1.2rem}.payments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.payment-option input{position:absolute;opacity:0}.payment-option span{display:block;height:100%;border:1px solid #ddd;border-radius:12px;padding:12px;background:#fff}.payment-option input:checked+span{border:2px solid var(--brand-primary);background:color-mix(in srgb,var(--brand-primary),#fff 94%)}.checkout-summary{display:grid;gap:8px}.checkout-summary>div{display:flex;justify-content:space-between;gap:10px}.checkout-summary>div:last-child{border-top:1px solid #ddd;padding-top:8px;font-size:1.05rem}.order-summary-card,.alert-card{border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin-bottom:12px}.order-summary-head{display:flex;justify-content:space-between;gap:10px}.order-summary-head h2{margin:0;color:var(--brand-primary);font-size:1rem}.order-summary-head p{margin:4px 0 0;color:#777;font-size:.76rem}.badge{border-radius:999px;background:#fff3cd;color:#856404;padding:6px 9px;font-size:.7rem;font-weight:900}.order-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.order-summary-grid>div{background:#f8f9fa;border-radius:10px;padding:9px}.order-summary-grid span{display:block;color:#777;font-size:.7rem}.tracking-status{text-align:center}.timeline{border-left:3px solid var(--brand-primary);padding-left:15px;margin:18px 0}.timeline-item{margin-bottom:12px}.timeline-item small{display:block;color:#777}.empty{text-align:center;color:#777;padding:28px}.big-warning{font-size:3rem;color:var(--brand-accent)}.toast-wrap{position:fixed;z-index:5000;top:92px;right:15px;display:grid;gap:8px}.toast{background:#222;color:#fff;border-radius:11px;padding:12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.2)}.toast.error{background:#b91c1c}
@media(max-width:760px){:root{--header-height:70px;--footer-height:72px}.customer-header-inner{padding:8px 11px 10px}.customer-brand-logo{height:36px;max-width:64px}.customer-brand-title{font-size:.88rem;max-width:145px}.customer-brand-subtitle{font-size:.62rem;max-width:145px}.install-app-btn{display:none}.customer-account-icon{width:36px;height:36px}.page-section{padding:16px 9px 22px}.dashboard-hero{padding:17px 12px}.dashboard-hero h1{font-size:1.35rem}.product-grid{grid-template-columns:1fr;gap:12px}.product-card{grid-template-columns:39% 61%;min-height:170px}.product-image{min-height:168px;padding:7px}.product-info{padding:13px 11px}.product-info h3{font-size:.95rem}.product-info p{font-size:.75rem;-webkit-line-clamp:2}.add-circle{padding:8px 10px;font-size:.76rem}.product-price-wrap strong{font-size:1.02rem}.bottom-ribbon-item i{font-size:1.25rem}.bottom-ribbon-item span{font-size:.62rem}.bottom-count{top:5px}.mcd-modal{padding:7px;align-items:flex-end}.mcd-modal-dialog{max-width:none}.mcd-modal-content{border-radius:17px 17px 0 0;max-height:94vh}.mcd-modal-header{padding:14px}.mcd-modal-body{padding:14px}.mcd-modal-footer{padding:12px 14px}.product-modal-layout{grid-template-columns:1fr}.modal-product-image{height:210px}.product-price-panel{grid-template-columns:1fr 1fr}.form-grid,.checkout-grid{grid-template-columns:1fr}.location-search{grid-template-columns:1fr}.payments{grid-template-columns:1fr}.order-summary-grid{grid-template-columns:repeat(2,1fr)}.cart-line{grid-template-columns:72px 1fr 34px}.cart-line img,.mini-fallback{width:72px;height:68px}.cart-summary-footer{align-items:stretch}.cart-summary-footer .btn{margin-left:auto}.product-modal-footer{gap:8px}.product-modal-footer .btn{font-size:.77rem}.content-title.with-action{flex-wrap:wrap}.content-title.with-action .btn{margin-left:59px}.toast-wrap{top:80px;left:10px;right:10px}}
body.modal-open{overflow:hidden}.btn-light{background:#f1f3f5;color:#222}

/* 2.9.0: réplica visual del portal público McDonald’s suministrado */
.category-nav{display:none!important}.category-block{margin-bottom:1.4rem}.category-header{margin-bottom:.9rem;text-align:center}.category-title-wrap{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#fff 0%,color-mix(in srgb,var(--brand-primary),#fff 97%) 100%);border:1px solid color-mix(in srgb,var(--brand-primary),transparent 86%);border-radius:999px;padding:10px 22px;box-shadow:0 6px 18px rgba(0,0,0,.05)}.category-title-dot{width:12px;height:12px;border-radius:50%;background:linear-gradient(180deg,var(--brand-accent),var(--brand-primary));flex:0 0 12px}.category-header h3{font-weight:800;color:var(--brand-primary);font-size:1.15rem;font-family:'Roboto Condensed',sans-serif;margin:0;line-height:1;letter-spacing:.01em;text-transform:uppercase}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;align-items:stretch}.product-card{display:flex;flex-direction:column;height:100%;min-height:360px;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.08);border:1px solid #f0f0f0}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px color-mix(in srgb,var(--brand-primary),transparent 86%);border-color:color-mix(in srgb,var(--brand-primary),transparent 75%)}.product-image{height:145px;min-height:145px;flex:0 0 145px;overflow:hidden;background:#f8f8f8;padding:0;display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;max-height:none;object-fit:contain;background:#f8f8f8}.product-info{padding:.95rem;flex-grow:1;display:flex;flex-direction:column;text-align:center}.product-title{font-weight:800;font-size:.98rem;margin:0 0 .35rem;color:#27251f;text-align:center;line-height:1.2;min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-description{color:#666;font-size:.78rem;margin:0 0 .8rem;flex-grow:1;line-height:1.35;text-align:center;min-height:3.6em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-price{margin-bottom:.85rem;text-align:center;min-height:58px;display:flex;flex-direction:column;justify-content:center}.price-usd{font-size:1.2rem;font-weight:800;color:var(--brand-primary);line-height:1.15}.price-bs{font-size:.78rem;color:#666}.price-rate{font-size:.66rem;color:#999}.btn-pidelo{background:var(--brand-primary);color:#fff;border:0;border-radius:999px;padding:.72rem .9rem;font-weight:800;width:100%;display:flex;align-items:center;justify-content:center;gap:.45rem;font-size:.9rem;min-height:46px;margin-top:auto}.btn-pidelo:hover{background:var(--brand-secondary);transform:scale(1.02)}
.mcd-modal{align-items:center;padding:14px}.mcd-modal-content{border-radius:18px;max-height:calc(100vh - 28px)}.product-modal-body{padding:0}.product-modal-image-frame{height:220px;overflow:hidden;background:#f7f7f7;border-bottom:1px solid #ececec;display:flex;align-items:center;justify-content:center}.product-modal-image-frame img{width:100%;height:100%;object-fit:contain;display:block;background:#f7f7f7}.product-modal-image-frame .fallback{margin:auto}.product-modal-details{padding:1rem}.product-modal-heading{text-align:center;margin-bottom:.5rem}.product-modal-heading h3{font-size:1.4rem;font-weight:800;margin:0 0 .5rem}.product-modal-heading p{color:#6b7280;font-size:.86rem;margin:0}.modal-base-price{margin:.7rem 0}.quantity-selector{display:flex;justify-content:center;margin:.5rem 0}.quantity-input-group{display:grid;grid-template-columns:48px 84px 48px;max-width:180px}.quantity-input-group button,.quantity-input-group input{height:42px;border:1px solid #ced4da;background:#fff;text-align:center;font-weight:800}.quantity-input-group .btn-minus{border-radius:8px 0 0 8px}.quantity-input-group .btn-plus{border-radius:0 8px 8px 0}.quantity-input-group input{border-left:0;border-right:0;width:84px}.personalization-header{text-align:center}.personalize-controls{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-top:10px}.btn-personalize{background:#fff;border:2px solid var(--brand-primary);color:var(--brand-primary);border-radius:999px;padding:8px 14px}.btn-personalize:hover:not(:disabled){background:var(--brand-primary);color:#fff}.btn-personalize:disabled{opacity:.45}.personalize-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:color-mix(in srgb,var(--brand-primary),transparent 92%);border:1px solid color-mix(in srgb,var(--brand-primary),transparent 75%);color:var(--brand-secondary);font-weight:800;border-radius:999px;padding:6px 12px;font-size:.9rem;margin-top:10px}.personalize-help{font-size:.78rem;color:#6b7280;margin-top:.5rem}.product-options{margin-top:1rem}.product-modal-footer{display:block}.btn-modal-add{width:100%;padding:12px;font-size:1.05rem;display:flex;flex-direction:column;gap:1px}.btn-cart-price{font-size:1.2rem;font-weight:800;line-height:1.1}.btn-cart-label{font-weight:800}.btn-cart-bs{font-size:.85rem;font-weight:400;opacity:.95}.borderless{border:0}.added-product-body{text-align:center;padding:26px}.added-product-body .svg-check{display:block;margin:0 auto 14px}.added-product-body h3{margin:0 0 6px;font-size:1.15rem}.added-product-body p{margin:0;color:#6b7280;font-size:.84rem}
.cart-content{padding:16px 20px}.cart-item{margin-bottom:12px;padding:14px;border:1px solid #ddd;border-radius:10px}.cart-item-card{display:flex;align-items:flex-start;gap:12px}.cart-item-thumb{width:74px;height:74px;object-fit:contain;border-radius:10px;background:#f8f8f8;flex:0 0 74px;display:block}.cart-item-body{min-width:0;flex:1 1 auto}.cart-item-title{font-size:1rem;line-height:1.2;margin:0 0 8px;color:#27251f;word-break:break-word}.cart-item-meta{font-size:.86rem;color:#6b7280;line-height:1.35}.cart-item-options{margin-top:8px;font-size:.82rem;color:#6b7280;line-height:1.35}.cart-item-options-title{font-weight:700;color:#27251f;margin-bottom:4px}.cart-item-options span{color:#6b7280}.cart-item-bottom{margin-top:10px;padding-top:8px;border-top:1px solid #ececec;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.remove-item{padding:0;min-width:34px;min-height:34px;border:0;background:transparent;color:#d32f2f;display:inline-flex;align-items:center;justify-content:center}.cart-item-price-wrap{min-width:0;margin-left:auto;text-align:right;max-width:150px}.cart-item-usd{display:block;font-weight:800;font-size:1rem;line-height:1.1;color:var(--brand-primary);white-space:nowrap}.cart-item-bs{display:block;margin-top:3px;font-size:.78rem;color:#6b7280;line-height:1.2;word-break:break-word}.cart-summary-footer{position:sticky;bottom:0;z-index:2;background:#fff}
@media(max-width:768px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}.product-card{min-height:340px;border-radius:16px}.product-image{height:125px;min-height:125px;flex-basis:125px}.product-info{padding:.85rem}.product-title{font-size:.92rem}.product-description{font-size:.74rem}.price-usd{font-size:1.05rem}.price-bs{font-size:.72rem}.price-rate{font-size:.62rem}.btn-pidelo{font-size:.84rem;padding:.62rem .7rem}.category-header h3{font-size:1.05rem}.product-modal-image-frame{height:185px}.mcd-modal{align-items:center;padding:8px}.mcd-modal-content{border-radius:18px;max-height:calc(100vh - 16px)}}
@media(max-width:420px){.cart-item-thumb{width:66px;height:66px;flex-basis:66px}.cart-item-title{font-size:.95rem}.cart-item-meta,.cart-item-options{font-size:.78rem}.cart-item-price-wrap{max-width:120px}.cart-item-usd{font-size:.96rem}.cart-item-bs{font-size:.72rem}}

/* Telexpress 2.9.0: opciones, ubicación, sedes, pagos, comprobantes y calificación */
.mcd-modal{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;align-items:flex-start;padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(14px,env(safe-area-inset-bottom))}
.mcd-modal-dialog{margin:auto;min-height:min-content}
.mcd-modal-content{display:flex;flex-direction:column;max-height:none;min-height:0;overflow:visible}
.mcd-modal-header{position:sticky;top:0;z-index:30;flex:0 0 auto}
.mcd-modal-footer{position:sticky;bottom:0;z-index:30;flex:0 0 auto}
.mcd-modal-body{overflow:visible;min-height:0}
#checkoutModal .mcd-modal-dialog,#productModal .mcd-modal-dialog,#trackingModal .mcd-modal-dialog{margin-top:auto;margin-bottom:auto}
#checkoutModal .mcd-modal-content,#productModal .mcd-modal-content,#trackingModal .mcd-modal-content{max-height:calc(100dvh - 28px);overflow:hidden}
#checkoutModal .mcd-modal-body,#productModal .mcd-modal-body,#trackingModal .mcd-modal-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#checkoutModal form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#checkoutModal form>.mcd-modal-body{flex:1 1 auto}

.option-group{border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;margin-bottom:14px;background:#fff}
.option-group-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px;background:#f8fafc;border-bottom:1px solid #e5e7eb}
.option-group-heading h3{margin:0;color:#27251f;font-size:1rem}.option-group-heading h3 small{color:var(--brand-primary);font-size:.72rem}.option-group-heading p{margin:4px 0 0;color:#6b7280;font-size:.78rem}.selection-mode{white-space:nowrap;background:color-mix(in srgb,var(--brand-primary),transparent 90%);color:var(--brand-primary);border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:800}
.option-switch-list{display:grid}.option-switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border-bottom:1px solid #eef0f2;cursor:pointer;transition:.2s}.option-switch-row:last-child{border-bottom:0}.option-switch-row:hover{background:#fffaf2}.option-switch-row.disabled{opacity:.48;cursor:not-allowed}.option-copy{display:flex;flex-direction:column;min-width:0;flex:1}.option-copy>strong{font-size:.92rem;color:#27251f}.option-copy>small{font-size:.72rem;color:#6b7280;margin-top:2px}.option-price-usd{font-size:.8rem;font-weight:800;color:var(--brand-primary);margin-top:4px}.option-price-ves{font-size:.68rem;color:#7b7b7b;margin-top:1px}
.switch-control{position:relative;display:inline-flex;width:52px;height:29px;flex:0 0 52px}.switch-control input{position:absolute;opacity:0;width:1px;height:1px}.switch-slider{position:absolute;inset:0;background:#cbd5e1;border-radius:999px;transition:.22s;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}.switch-slider:before{content:"";position:absolute;width:23px;height:23px;left:3px;top:3px;background:#fff;border-radius:50%;box-shadow:0 2px 5px rgba(0,0,0,.25);transition:.22s}.switch-control input:checked+.switch-slider{background:var(--brand-primary)}.switch-control input:checked+.switch-slider:before{transform:translateX(23px)}.switch-control input:focus-visible+.switch-slider{outline:3px solid color-mix(in srgb,var(--brand-primary),transparent 70%)}

.checkout-store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkout-store-grid.single-store{grid-template-columns:minmax(180px,320px);justify-content:center}.checkout-store-card{position:relative;aspect-ratio:1.35/1;min-height:135px;border:2px solid #e5e7eb;border-radius:16px;background:#fff;padding:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;color:#27251f;cursor:pointer;transition:.2s}.checkout-store-card>i{font-size:1.7rem;color:var(--brand-primary)}.checkout-store-card strong{font-size:.95rem}.checkout-store-card small{font-size:.72rem;color:#6b7280;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.checkout-store-card:hover{border-color:var(--brand-primary);transform:translateY(-2px)}.checkout-store-card.selected{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary),#fff 96%);box-shadow:0 8px 18px color-mix(in srgb,var(--brand-primary),transparent 85%)}.checkout-store-card.readonly{cursor:default;pointer-events:none}.store-card-check,.payment-card-check{position:absolute;right:9px;top:9px;width:23px;height:23px;border-radius:50%;background:#d1d5db;color:#fff;display:grid;place-items:center;font-size:.7rem}.checkout-store-card.selected .store-card-check,.payment-method-card.selected .payment-card-check{background:var(--brand-primary)}

.location-autocomplete{position:relative}.location-search{display:grid;grid-template-columns:1fr auto;gap:8px}.place-results{position:absolute;top:100%;left:0;right:0;z-index:1200;background:#fff;border:1px solid #d7dbe0;border-radius:12px;box-shadow:0 14px 32px rgba(0,0,0,.18);max-height:260px;overflow-y:auto}.place-result{width:100%;border:0;border-bottom:1px solid #eef0f2;background:#fff;padding:11px 12px;display:flex;align-items:flex-start;gap:9px;text-align:left;color:#27251f}.place-result:last-child{border-bottom:0}.place-result:hover{background:#fff8ea}.place-result i{color:var(--brand-primary);margin-top:3px}.place-result span{font-size:.82rem;line-height:1.35}.empty.compact{padding:13px}.selected-coordinate-note{display:flex;align-items:center;gap:8px;color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:10px 12px;font-size:.78rem;margin:10px 0}.delivery-map{height:330px;border-radius:14px;overflow:hidden;border:1px solid #d9dde2;z-index:1}

.payments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payment-method-card{position:relative;min-height:145px;border:2px solid #e5e7eb;border-radius:16px;background:#fff;padding:15px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;cursor:pointer;transition:.2s}.payment-method-card:hover{border-color:var(--brand-primary);transform:translateY(-2px)}.payment-method-card.selected{border-color:var(--brand-primary);background:color-mix(in srgb,var(--brand-primary),#fff 96%);box-shadow:0 8px 18px color-mix(in srgb,var(--brand-primary),transparent 85%)}.payment-method-check{position:absolute;opacity:0}.payment-method-icon{width:48px;height:48px;border-radius:12px;background:#f8fafc;display:grid;place-items:center;color:var(--brand-primary);font-size:1.35rem;overflow:hidden}.payment-method-icon img{width:100%;height:100%;object-fit:contain}.payment-method-card strong{font-size:.9rem}.payment-method-card small{font-size:.68rem;color:#6b7280;line-height:1.25}
.payment-allocation{margin-top:14px;border:1px solid #dfe3e8;border-radius:14px;overflow:hidden}.allocation-title{padding:13px 14px;background:#f8fafc;display:flex;flex-direction:column}.allocation-title small{color:#6b7280;margin-top:3px;font-size:.73rem}.allocation-list{display:grid}.allocation-row{display:grid;grid-template-columns:minmax(130px,1fr) minmax(130px,.75fr) minmax(120px,.7fr);gap:10px;align-items:end;padding:13px 14px;border-top:1px solid #eef0f2}.allocation-row>div:first-child,.allocation-row label,.allocation-result{display:flex;flex-direction:column}.allocation-row small,.allocation-row label span,.allocation-result span{font-size:.68rem;color:#6b7280}.allocation-row input{height:42px;border:1px solid #ccd2d8;border-radius:9px;padding:0 10px;font-weight:800}.allocation-result{text-align:right}.allocation-result strong{color:var(--brand-primary)}.allocation-balance{display:flex;justify-content:space-between;gap:12px;padding:11px 14px;background:#fff7ed;color:#9a3412;font-size:.8rem}.allocation-balance.ok{background:#f0fdf4;color:#166534}.allocation-balance.error{background:#fef2f2;color:#991b1b}
.checkout-summary>div{align-items:flex-start}.checkout-summary>div>small{display:block;color:#6b7280;font-size:.68rem;margin-top:2px}.checkout-summary .invoice-total{background:color-mix(in srgb,var(--brand-primary),#fff 94%);margin:4px -7px;padding:10px 7px;border-radius:8px}.quote-money{display:flex;flex-direction:column;text-align:right}.quote-money small{color:#6b7280}.error-text{color:#b91c1c}

.orders-tabs-layout{display:grid;gap:22px}.orders-section-heading{display:flex;align-items:center;gap:9px;border-bottom:2px solid #ececec;padding-bottom:9px;margin-bottom:12px}.orders-section-heading h2{margin:0;font-size:1.08rem}.orders-section-heading span{background:var(--brand-primary);color:#fff;border-radius:999px;padding:3px 8px;font-size:.7rem}.customer-orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-order-card{border:1px solid #e1e4e8;border-radius:15px;background:#fff;padding:14px;text-align:left;cursor:pointer;box-shadow:0 5px 16px rgba(0,0,0,.05);transition:.2s}.customer-order-card:hover{border-color:var(--brand-primary);transform:translateY(-2px)}.customer-order-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.customer-order-card-head span,.customer-order-card-grid span{display:block;font-size:.68rem;color:#6b7280}.customer-order-card-head h3{margin:2px 0;font-size:.92rem;word-break:break-all}.customer-order-card-head small{font-size:.68rem;color:#777}.order-status{border-radius:999px;padding:5px 8px;font-size:.65rem!important;font-weight:800;color:#fff!important;background:#64748b;white-space:nowrap}.status-pending{background:#f59e0b}.status-payment_review{background:#7c3aed}.status-payment_verified,.status-preparing{background:#2563eb}.status-assigned,.status-ready{background:#ea580c}.status-delivering{background:#16a34a}.status-completed{background:#15803d}.status-cancelled,.status-undelivered,.status-lost{background:#b91c1c}.customer-order-card-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px;margin-top:13px}.customer-order-card-grid strong{display:block;font-size:.76rem;color:#27251f}.customer-order-card-grid small{font-size:.65rem;color:#777}.rating-pending{display:inline-flex;align-items:center;gap:6px;color:#b45309;background:#fffbeb;border-radius:999px;padding:6px 9px;font-size:.7rem;font-weight:800;margin-top:10px}
.tracking-package-icon{font-size:3rem}.order-total-display{display:flex;flex-direction:column;margin:10px auto}.order-total-display strong{font-size:1.5rem;color:var(--brand-primary)}.order-total-display small{color:#6b7280}.driver-summary{display:inline-flex;align-items:center;gap:10px;background:#f8fafc;border-radius:12px;padding:10px 14px}.driver-summary>i{font-size:1.5rem;color:var(--brand-primary)}.driver-summary div{display:flex;flex-direction:column;text-align:left}.driver-summary span,.driver-summary small{font-size:.68rem;color:#6b7280}.order-detail-section{border:1px solid #e5e7eb;border-radius:14px;padding:14px;margin:14px 0;background:#fff}.order-detail-section>h3{margin:0 0 11px;font-size:1rem}.order-product-line{display:flex;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #eef0f2}.order-product-line:last-child{border-bottom:0}.order-product-line>div{display:flex;flex-direction:column}.order-product-line>div:last-child{text-align:right}.order-product-line small{font-size:.68rem;color:#6b7280}.order-payment-list{display:grid;gap:7px}.order-payment-list>div{display:grid;grid-template-columns:1fr auto;gap:3px 12px;border-bottom:1px solid #eef0f2;padding:8px 0}.order-payment-list>div:last-child{border-bottom:0}.order-payment-list small{grid-column:2;font-size:.66rem;color:#6b7280;text-align:right}.order-section-title{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.order-section-title h3{margin:0}.order-section-title p{font-size:.73rem;color:#6b7280;margin:4px 0}.status-chip{background:var(--brand-primary);color:#fff;border-radius:999px;padding:5px 9px;font-size:.68rem;font-weight:800}.payment-proof-block{border-top:1px solid #eef0f2;padding-top:12px;margin-top:12px}.payment-proof-head{display:flex;justify-content:space-between;gap:12px}.payment-proof-head>div{display:flex;flex-direction:column}.payment-proof-head small{font-size:.7rem;color:#6b7280}.payment-proof-head>span{font-size:.7rem;font-weight:800;color:#b45309}.voucher-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.voucher-upload-card{position:relative;border:2px dashed #cbd5e1;border-radius:12px;padding:14px;display:flex;align-items:center;gap:10px;cursor:pointer;background:#f8fafc;margin-top:10px}.voucher-upload-card.uploaded{border-style:solid;border-color:#22c55e;background:#f0fdf4}.voucher-upload-card input{position:absolute;inset:0;opacity:0;cursor:pointer}.voucher-upload-card>i{font-size:1.35rem;color:var(--brand-primary)}.voucher-upload-card span{display:flex;flex-direction:column;flex:1}.voucher-upload-card small{font-size:.68rem;color:#6b7280}.voucher-upload-card a{position:relative;z-index:2;color:var(--brand-primary);font-size:.72rem;font-weight:800}.voucher-complete-banner,.rating-complete{display:flex;align-items:center;gap:8px;background:#f0fdf4;color:#166534;border:1px solid #bbf7d0;padding:12px;border-radius:12px;font-weight:800;font-size:.82rem}.rating-form section{text-align:center;margin-bottom:16px}.rating-stars{display:inline-flex;flex-direction:row-reverse;justify-content:center}.rating-stars input{position:absolute;opacity:0}.rating-stars label{font-size:2.3rem;color:#d1d5db;cursor:pointer;line-height:1}.rating-stars input:checked~label,.rating-stars label:hover,.rating-stars label:hover~label{color:#fbbf24}.rating-upload{border:2px dashed #cbd5e1;border-radius:12px;padding:14px;display:flex;align-items:center;justify-content:center;gap:8px;cursor:pointer}.rating-upload input{display:none}.rating-preview img{max-width:100%;max-height:220px;border-radius:12px;margin-top:10px}

@media(max-width:760px){.mcd-modal{align-items:flex-start;padding:7px}.mcd-modal-dialog{margin:auto}.mcd-modal-content{border-radius:17px}.checkout-store-grid,.payments,.customer-orders-grid,.voucher-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.checkout-store-card{min-height:120px;padding:11px}.allocation-row{grid-template-columns:1fr}.allocation-result{text-align:left}.delivery-map{height:280px}.option-group-heading{flex-direction:column}.selection-mode{align-self:flex-start}.order-section-title,.payment-proof-head{flex-direction:column}.customer-order-card-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:430px){.checkout-store-card{aspect-ratio:1/1;min-height:118px}.payment-method-card{min-height:135px;padding:11px}.payment-method-card strong{font-size:.82rem}.place-results{max-height:220px}.voucher-upload-card{padding:10px;align-items:flex-start}.customer-order-card-head{flex-direction:column}.order-status{align-self:flex-start}}

/* Telexpress 2.9.0 — selección de montos como McDonald's */
.amount-modal-body{display:grid;gap:9px}.amount-modal-body>small{color:#6b7280}.amount-igtf-info{color:#b91c1c;font-size:.8rem;font-weight:700;margin:0}.amount-pending-info{color:#6b7280;font-size:.78rem;margin:0}.amount-choice-grid{display:grid;gap:9px;margin:8px 0}.amount-modal-body .field{display:grid;gap:8px}.amount-modal-body .field input{height:46px;border:1px solid #cbd5e1;border-radius:10px;padding:0 12px;font-weight:800}.amount-modal-body .field small{color:#6b7280;line-height:1.35}.selected-payments-table{display:grid}.selected-payment-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 14px;border-top:1px solid #eef0f2}.selected-payment-trash{width:34px;height:34px;border:0;border-radius:9px;background:#fee2e2;color:#b91c1c;display:grid;place-items:center}.selected-payment-name{display:flex;flex-direction:column;min-width:0}.selected-payment-name small,.selected-payment-amount small{font-size:.68rem;color:#6b7280}.selected-payment-amount{display:flex;flex-direction:column;text-align:right;white-space:nowrap}.selected-payment-amount strong{color:var(--brand-primary)}.zelle-sender{display:grid;gap:4px;margin-top:8px;color:#374151;font-size:.7rem;font-weight:800}.zelle-sender input{height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:0 9px;text-transform:capitalize}.payment-method-card{border:2px solid #e5e7eb}.payment-method-card.selected{pointer-events:none}
@media(max-width:520px){.selected-payment-row{grid-template-columns:34px minmax(0,1fr)}.selected-payment-amount{grid-column:2;text-align:left}.amount-choice-grid{grid-template-columns:1fr}}


/* Telexpress 2.9.0 — resumen de factura alineado como McDonald's */
.checkout-summary{display:grid;gap:0;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}
.checkout-summary .checkout-summary-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(145px,auto);gap:18px;align-items:start;padding:12px 14px;border-bottom:1px solid #eef0f2}
.checkout-summary .checkout-summary-row:last-child{border-bottom:0}
.checkout-summary .checkout-summary-label{font-weight:800;color:#374151;line-height:1.35;padding-top:2px}
.checkout-summary .checkout-summary-value{display:flex;flex-direction:column;align-items:flex-end;text-align:right;min-width:0}
.checkout-summary .checkout-summary-value strong{display:block;color:#111827;font-size:.96rem;white-space:nowrap}
.checkout-summary .checkout-summary-value small{display:block;max-width:290px;color:#6b7280;font-size:.68rem;line-height:1.35;margin-top:3px}
.checkout-summary .checkout-summary-row.invoice-total{margin:0;padding:14px;background:color-mix(in srgb,var(--brand-primary),#fff 94%);border-radius:0}
.checkout-summary .checkout-summary-row.invoice-total .checkout-summary-label,.checkout-summary .checkout-summary-row.invoice-total strong{color:var(--brand-primary);font-weight:900}
@media(max-width:430px){.checkout-summary .checkout-summary-row{grid-template-columns:minmax(95px,.8fr) minmax(125px,1.2fr);gap:10px;padding:11px 12px}.checkout-summary .checkout-summary-value small{max-width:205px}}

/* Telexpress 2.9.0 — formulario checkout desplazable y resumen siempre visible */
#checkoutModal .mcd-modal-content{max-height:calc(100dvh - 24px);overflow:hidden}
#checkoutModal #checkoutForm{display:flex;flex:1 1 auto;flex-direction:column;min-height:0;overflow:hidden}
#checkoutModal #checkoutForm>.mcd-modal-body{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-bottom:24px}
#checkoutModal #checkoutForm>.mcd-modal-footer{flex:0 0 auto;position:relative;z-index:3}
#checkoutModal #checkoutSummary{display:grid!important;visibility:visible!important;opacity:1!important;min-height:1px;margin-top:2px;margin-bottom:2px}
#checkoutModal .checkout-summary-title{display:flex;align-items:center;gap:8px;padding:12px 14px;background:#f8fafc;border:1px solid #e5e7eb;border-bottom:0;border-radius:14px 14px 0 0;font-weight:900;color:var(--brand-primary)}
#checkoutModal .checkout-summary-title+#checkoutSummary{border-radius:0 0 14px 14px}
@media(max-width:760px){#checkoutModal{align-items:flex-start;padding:6px}#checkoutModal .mcd-modal-dialog{margin:0 auto}#checkoutModal .mcd-modal-content{max-height:calc(100dvh - 12px)}#checkoutModal #checkoutForm>.mcd-modal-body{padding-bottom:28px}}

/* Telexpress 2.9.0 — identidad sin parpadeo, resumen y chat completo */
body.brand-pending .customer-header,body.brand-pending .bottom-ribbon,body.brand-pending main{visibility:hidden}
.checkout-summary-error{display:grid;gap:8px;padding:16px;text-align:center;color:#991b1b;background:#fff7f7}.checkout-summary-error small{color:#6b7280}.checkout-summary-error .btn{justify-self:center}
.order-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.customer-chat-shell{min-height:420px}.customer-chat-layout{display:grid;grid-template-columns:minmax(220px,32%) minmax(0,1fr);min-height:520px;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;background:#fff}.customer-chat-rooms{border-right:1px solid #e5e7eb;background:#f8fafc;overflow:auto}.customer-chat-room{width:100%;border:0;border-bottom:1px solid #e5e7eb;background:transparent;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;color:#111827}.customer-chat-room:hover,.customer-chat-room.active{background:color-mix(in srgb,var(--brand-primary),#fff 92%)}.customer-chat-room span{display:flex;flex-direction:column;min-width:0}.customer-chat-room strong{font-size:.83rem}.customer-chat-room small{margin-top:4px;color:#6b7280;font-size:.67rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-chat-panel{display:grid;grid-template-rows:auto minmax(260px,1fr) auto auto;min-width:0}.customer-chat-panel>header{padding:13px 15px;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:12px}.customer-chat-panel>header h2{margin:0;font-size:1rem}.customer-chat-panel>header small{color:#6b7280}.customer-chat-messages{padding:16px;display:flex;flex-direction:column;gap:9px;overflow:auto;background:#f5f7fa}.customer-chat-message{align-self:flex-start;max-width:min(78%,560px);padding:10px 12px;border-radius:15px 15px 15px 4px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 3px 12px rgba(15,23,42,.05)}.customer-chat-message.mine{align-self:flex-end;border-color:var(--brand-primary);background:var(--brand-primary);color:#fff;border-radius:15px 15px 4px 15px}.customer-chat-message p{margin:7px 0 0}.customer-chat-message img{display:block;max-width:100%;max-height:320px;border-radius:10px}.customer-chat-message audio{display:block;max-width:100%}.customer-chat-message a{color:inherit;font-weight:800}.customer-chat-message small{display:block;margin-top:6px;opacity:.7;font-size:.6rem}.customer-chat-compose{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:end;padding:11px;border-top:1px solid #e5e7eb;background:#fff}.customer-chat-compose textarea{width:100%;min-height:44px;max-height:120px;resize:vertical;border:1px solid #cbd5e1;border-radius:12px;padding:11px}.customer-chat-file{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;background:#f2f4f7;cursor:pointer}.customer-chat-file input{display:none}.customer-chat-file-name{padding:0 12px 10px;color:#6b7280;font-size:.69rem}.customer-chat-file-name.hidden{display:none}
@media(max-width:720px){.customer-chat-layout{grid-template-columns:1fr;min-height:600px}.customer-chat-rooms{display:flex;overflow-x:auto;border-right:0;border-bottom:1px solid #e5e7eb}.customer-chat-room{min-width:230px;border-right:1px solid #e5e7eb;border-bottom:0}.customer-chat-panel{min-height:500px}.order-detail-actions{grid-template-columns:1fr}}

/* Telexpress 2.9.0 — corrección real del resumen recortado.
   El overflow:hidden hacía que CSS Grid calculase la fila del resumen en 28px,
   mientras sus seis filas quedaban fuera del contenedor y eran recortadas. */
#checkoutModal #checkoutSummary {
  overflow: visible !important;
  height: auto !important;
  min-height: max-content !important;
  align-self: stretch !important;
  contain: none !important;
}
#checkoutModal #checkoutSummary > .checkout-summary-row {
  position: relative;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Telexpress 2.9.0 — resumen más compacto.
   Reduce el espacio vertical entre filas y resalta solo la cifra de Total Factura. */
#checkoutModal .checkout-summary .checkout-summary-row {
  gap: 12px !important;
  padding: 9px 12px !important;
  min-height: 0 !important;
  align-items: center !important;
}
#checkoutModal .checkout-summary .checkout-summary-label {
  padding-top: 0 !important;
  font-size: .79rem !important;
  line-height: 1.16 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value {
  gap: 0 !important;
  line-height: 1.14 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value strong {
  font-size: .91rem !important;
  line-height: 1.14 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value small {
  margin-top: 3px !important;
  font-size: .62rem !important;
  line-height: 1.24 !important;
}
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total {
  padding: 8px 12px !important;
}
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total .checkout-summary-label {
  font-size: .79rem !important;
  font-weight: 800 !important;
}
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total .checkout-summary-value strong {
  font-size: 1.15rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
}
#checkoutModal .checkout-summary-title {
  padding: 8px 12px !important;
  font-size: .86rem !important;
}
@media (max-width: 430px) {
  #checkoutModal .checkout-summary .checkout-summary-row {
    gap: 8px !important;
    padding: 8px 10px !important;
  }
  #checkoutModal .checkout-summary .checkout-summary-row.invoice-total {
    padding: 7px 10px !important;
  }
  #checkoutModal .checkout-summary .checkout-summary-row.invoice-total .checkout-summary-value strong {
    font-size: 1.1rem !important;
  }
}

/* Telexpress 2.9.0 */
.driver-summary img{width:58px;height:58px;border-radius:50%;object-fit:cover;margin-right:10px}.undelivered-reason{padding:12px;border-radius:12px;background:#fff1f2;border:1px solid #fecdd3;margin-top:12px}.chat-tool{width:42px;height:42px;border:0;border-radius:50%;background:#f3f4f6;color:#374151;display:grid;place-items:center;flex:0 0 auto}.chat-tool.recording{background:#dc2626;color:#fff;animation:voicePulse 1s infinite}.customer-chat-compose .hidden{display:none!important}@keyframes voicePulse{50%{transform:scale(1.08);box-shadow:0 0 0 7px rgba(220,38,38,.12)}}
/* Telexpress 2.9.0: estados finales del ciclo operativo */
.status-delivered{background:#15803d!important;color:#fff!important}
.status-undelivered{background:#b91c1c!important;color:#fff!important}
/* Telexpress 2.9.0 · Chat privado estilo WhatsApp */
.wa-layout{display:grid;grid-template-columns:330px minmax(0,1fr);height:min(720px,calc(100dvh - 210px));min-height:520px;border:1px solid #d9dee3;border-radius:16px;overflow:hidden;background:#fff}.wa-room-list{display:flex;flex-direction:column;min-width:0;border-right:1px solid #d9dee3;background:#fff}.wa-room-list>header{padding:16px 18px;background:#f0f2f5;display:grid;gap:2px}.wa-room-list>header strong{font-size:1.1rem}.wa-room-list>header small{font-size:.7rem;color:#667781}.wa-room-scroll{overflow:auto}.wa-room{width:100%;border:0;border-bottom:1px solid #eef0f2;background:#fff;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px;text-align:left}.wa-room:hover,.wa-room.active{background:#f0f2f5}.wa-avatar{width:46px;height:46px;border-radius:50%;overflow:hidden;background:#dfe5e7;display:grid;place-items:center;color:#607d8b}.wa-avatar img{width:100%;height:100%;object-fit:cover}.wa-room-copy{display:grid;min-width:0;gap:4px}.wa-room-copy strong{font-size:.83rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-room-copy small{font-size:.68rem;color:#667781;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-room-meta{display:grid;justify-items:end;gap:5px}.wa-room-meta time{font-size:.58rem;color:#667781;white-space:nowrap}.wa-room-meta b{min-width:20px;height:20px;border-radius:10px;padding:0 5px;background:#25d366;color:#fff;font-size:.62rem;display:grid;place-items:center}.wa-chat{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-width:0;background:#efeae2}.wa-chat-header{display:flex;align-items:center;gap:11px;padding:9px 13px;background:#f0f2f5;border-bottom:1px solid #d9dee3}.wa-chat-header>div{flex:1;min-width:0}.wa-chat-header h2{margin:0;font-size:.94rem}.wa-chat-header small{display:block;color:#667781;font-size:.66rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wa-order-link{border:0;border-radius:9px;padding:8px 10px;background:#fff;color:var(--brand-primary);font-weight:800}.wa-messages{padding:18px 6%;overflow:auto;display:flex;flex-direction:column;gap:5px;background-color:#efeae2;background-image:radial-gradient(rgba(71,82,87,.055) 1px,transparent 1px);background-size:20px 20px}.wa-empty-chat{margin:auto;padding:9px 13px;border-radius:10px;background:#fff7c7;color:#54656f;font-size:.7rem;text-align:center}.wa-message{position:relative;max-width:min(78%,590px);padding:7px 8px 4px;border-radius:8px;box-shadow:0 1px 1px rgba(11,20,26,.12);font-size:.82rem;line-height:1.35}.wa-message.mine{align-self:flex-end;background:#d9fdd3;border-top-right-radius:2px}.wa-message.theirs{align-self:flex-start;background:#fff;border-top-left-radius:2px}.wa-message p{margin:5px 2px 2px;white-space:pre-wrap}.wa-message footer{display:flex;justify-content:flex-end;align-items:center;gap:4px;min-height:14px;margin-top:2px}.wa-message footer time{font-size:.54rem;color:#667781}.wa-checks{display:inline-flex;align-items:center;position:relative;width:18px;height:11px;font-size:.58rem}.wa-checks i:nth-child(2){position:absolute;left:5px}.wa-checks.sent,.wa-checks.delivered{color:#667781}.wa-checks.read{color:#53bdeb}.wa-image-button{border:0;padding:0;background:transparent;display:block}.wa-image-button img{display:block;max-width:100%;max-height:340px;border-radius:6px}.wa-audio{max-width:280px;height:40px}.wa-file{display:flex;align-items:center;gap:9px;padding:10px;border-radius:7px;background:rgba(0,0,0,.05);color:inherit;font-weight:700}.wa-composer{display:grid;grid-template-columns:43px minmax(0,1fr) 43px;align-items:end;gap:8px;padding:8px 10px;background:#f0f2f5}.wa-composer textarea{width:100%;min-height:42px;max-height:120px;border:0;border-radius:21px;padding:11px 15px;resize:none;outline:none;font-family:inherit;font-size:.82rem;background:#fff}.wa-circle-button{width:43px;height:43px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#54656f;font-size:1.05rem;touch-action:none}.wa-circle-button.wa-action{background:var(--brand-primary);color:#fff}.wa-recording-bar{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:8px;padding:7px 12px;background:#fff;color:#54656f}.wa-recording-bar.hidden{display:none}.wa-recording-dot{width:10px;height:10px;border-radius:50%;background:#e11d48;animation:waPulse 1s infinite}.wa-recording-bar time{font-variant-numeric:tabular-nums}.wa-recording-bar small{font-size:.62rem}.wa-overlay{position:fixed;inset:0;z-index:100000;background:rgba(11,20,26,.72);display:flex;align-items:center;justify-content:center;padding:16px}.wa-overlay.hidden{display:none}.wa-sheet{align-self:flex-end;width:min(100%,430px);display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#fff;border-radius:18px 18px 0 0;padding:22px 18px calc(18px + env(safe-area-inset-bottom))}.wa-sheet button{border:0;background:transparent;display:grid;place-items:center;gap:8px}.wa-sheet button span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:1.2rem}.wa-sheet .camera{background:#e11d48}.wa-sheet .gallery{background:#7c3aed}.wa-sheet .document{background:#2563eb}.wa-sheet button[data-wa-close]{grid-column:1/-1;padding:10px;border-top:1px solid #eee}.wa-preview-card{width:min(100%,560px);max-height:calc(100dvh - 30px);display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;background:#111b21;color:#fff;border-radius:14px;overflow:hidden}.wa-preview-card header,.wa-preview-card footer{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:#202c33}.wa-preview-card button{border:0;border-radius:8px;padding:9px 13px}.wa-preview-card header button{background:transparent;color:#fff;font-size:1.4rem}.wa-preview-card footer button:last-child{background:#00a884;color:#fff;font-weight:800}.wa-preview-card #waPreviewBody{display:grid;place-items:center;min-height:250px;overflow:auto;padding:12px}.wa-preview-card img{max-width:100%;max-height:62dvh;object-fit:contain}.wa-preview-card textarea{margin:9px 12px;border:0;border-radius:20px;padding:11px 14px;resize:none}.wa-document-preview{display:grid;place-items:center;gap:10px}.wa-document-preview i{font-size:70px}.wa-image-viewer{position:relative}.wa-overlay#waImageViewer img{max-width:96vw;max-height:92dvh;object-fit:contain}.wa-viewer-close{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;background:#202c33;color:#fff;font-size:1.4rem}@keyframes waPulse{50%{opacity:.35;transform:scale(.85)}}
@media(max-width:760px){.content-card:has(.wa-shell){padding:0;border-radius:0}.wa-layout{grid-template-columns:1fr;height:calc(100dvh - 190px);min-height:520px;border-radius:0}.wa-room-list{display:none}.wa-chat-header{padding-left:10px}.wa-messages{padding:14px 3%}.wa-message{max-width:88%}.wa-order-link{font-size:.66rem;padding:7px}.wa-sheet{border-radius:18px 18px 0 0}}

.wa-back-button{display:none;border:0;background:transparent;color:#54656f;width:36px;height:36px;border-radius:50%}
@media(max-width:760px){.wa-layout:not(.mobile-chat-open) .wa-room-list{display:flex}.wa-layout:not(.mobile-chat-open) .wa-chat{display:none}.wa-layout.mobile-chat-open .wa-room-list{display:none}.wa-layout.mobile-chat-open .wa-chat{display:grid}.wa-back-button{display:grid;place-items:center}}


/* Telexpress 2.9.5 · modal universal de imágenes */
.telexpress-media-modal{position:fixed;inset:0;z-index:12000;background:rgba(2,6,23,.92);display:flex;align-items:center;justify-content:center;padding:22px;backdrop-filter:blur(4px)}
.telexpress-media-modal.hidden{display:none!important}
.telexpress-media-stage{max-width:min(1120px,96vw);max-height:92vh;display:flex;flex-direction:column;align-items:center;gap:10px}
.telexpress-media-stage img{display:block;max-width:100%;max-height:84vh;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 18px 60px rgba(0,0,0,.5);background:#fff}
.telexpress-media-stage p{margin:0;color:#fff;font-weight:800;text-align:center}
.telexpress-media-close{position:fixed;top:16px;right:18px;width:46px;height:46px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:2rem;line-height:1;cursor:pointer;z-index:1}

.voucher-upload-card{position:relative}.voucher-upload-card>label{position:relative;display:flex;align-items:center;gap:10px;min-width:0;flex:1;cursor:pointer}.voucher-view-button{border:0;border-radius:10px;padding:8px 11px;background:var(--primary,#b91c1c);color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.customer-voucher-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.customer-voucher-gallery button{border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:8px;cursor:pointer;text-align:left}.customer-voucher-gallery img{display:block;width:100%;height:150px;object-fit:cover;border-radius:10px}.customer-voucher-gallery span{display:block;padding:8px 4px 2px;font-weight:800}.wa-shell,.wa-layout,.wa-chat,.wa-messages{backface-visibility:hidden}.wa-layout{contain:layout paint}
@media(max-width:640px){.customer-voucher-gallery{grid-template-columns:1fr}.customer-voucher-gallery img{height:190px}}

.voucher-upload-card>label>i{font-size:1.35rem;color:var(--brand-primary)}

/* Telexpress 2.9.6 · scroll interno del chat siempre disponible */
.wa-layout,.wa-chat,.wa-messages,.customer-chat-layout,.customer-chat-panel,.customer-chat-messages{min-height:0!important}
.wa-messages,.customer-chat-messages{
  height:100%;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;
  scrollbar-width:thin;
  scrollbar-color:rgba(84,101,111,.55) transparent;
  touch-action:pan-y;
}
.wa-messages::-webkit-scrollbar,.customer-chat-messages::-webkit-scrollbar{width:9px}
.wa-messages::-webkit-scrollbar-track,.customer-chat-messages::-webkit-scrollbar-track{background:transparent}
.wa-messages::-webkit-scrollbar-thumb,.customer-chat-messages::-webkit-scrollbar-thumb{background:rgba(84,101,111,.48);border-radius:999px;border:2px solid transparent;background-clip:padding-box}

/* Telexpress 2.9.10 · sello tecnológico en portales personalizados */
.telexpress-floating-widget{position:fixed;right:16px;bottom:calc(88px + env(safe-area-inset-bottom));z-index:9990;display:flex;align-items:center;gap:8px;padding:7px 10px 7px 7px;border:1px solid rgba(144,224,239,.7);border-radius:999px;background:#03045e;color:#fff!important;text-decoration:none!important;box-shadow:0 10px 28px rgba(3,4,94,.35);transition:transform .18s ease,box-shadow .18s ease}.telexpress-floating-widget:hover,.telexpress-floating-widget:focus-visible{transform:translateY(-2px);box-shadow:0 14px 34px rgba(3,4,94,.45)}.telexpress-floating-widget img{width:40px;height:40px;border-radius:50%;object-fit:contain;background:#fff}.telexpress-floating-widget span{font-size:.7rem;font-weight:900;letter-spacing:.02em}@media(max-width:560px){.telexpress-floating-widget{right:11px;padding:6px}.telexpress-floating-widget img{width:38px;height:38px}.telexpress-floating-widget span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}


/* TELEXPRESS 2.10.13 DELIVERY TYPE */
.delivery-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.delivery-type-card{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;min-height:76px;padding:12px;border:1px solid #d9dee7;border-radius:13px;background:#fff;cursor:pointer;transition:.18s ease}
.delivery-type-card input{position:absolute;opacity:0;pointer-events:none}
.delivery-type-card.selected{border:2px solid var(--brand-primary);background:color-mix(in srgb,var(--brand-primary),#fff 95%);box-shadow:0 5px 16px rgba(15,23,42,.07)}
.delivery-type-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--brand-primary);font-size:1rem}
.delivery-type-card>span:nth-of-type(2){display:flex;flex-direction:column;gap:4px;min-width:0}
.delivery-type-card strong{color:#1f2937;font-size:.84rem}.delivery-type-card small{color:#6b7280;font-size:.68rem;line-height:1.3}
.delivery-type-check{color:var(--brand-primary);opacity:0}.delivery-type-card.selected .delivery-type-check{opacity:1}
#deliveryQuote.pickup-mode{border-color:color-mix(in srgb,var(--brand-primary),#fff 65%);background:color-mix(in srgb,var(--brand-primary),#fff 96%)}
@media(max-width:560px){.delivery-type-grid{grid-template-columns:1fr}.delivery-type-card{min-height:70px}}

/* TELEXPRESS 2.10.20 CHECKOUT SUMMARY SPACING */
#checkoutModal .checkout-summary .checkout-summary-row {
  padding: 13px 12px !important;
  min-height: 62px !important;
  align-items: center !important;
}
#checkoutModal .checkout-summary .checkout-summary-label { line-height: 1.34 !important; }
#checkoutModal .checkout-summary .checkout-summary-value { gap: 3px !important; line-height: 1.30 !important; }
#checkoutModal .checkout-summary .checkout-summary-value strong { line-height: 1.28 !important; }
#checkoutModal .checkout-summary .checkout-summary-value small { margin-top: 5px !important; line-height: 1.36 !important; }
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total { padding: 12px !important; min-height: 64px !important; }
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total .checkout-summary-value strong { line-height: 1.18 !important; }
#checkoutModal .checkout-summary-title { padding: 11px 12px !important; }
@media (max-width: 430px) {
  #checkoutModal .checkout-summary .checkout-summary-row { padding: 11px 10px !important; min-height: 58px !important; }
  #checkoutModal .checkout-summary .checkout-summary-row.invoice-total { padding: 11px 10px !important; min-height: 60px !important; }
}


/* TELEXPRESS 2.10.21 CHECKOUT SUMMARY COMPACT AND TOTAL LAST */
#checkoutModal .checkout-summary {
  display: flex !important;
  flex-direction: column !important;
}
#checkoutModal .checkout-summary .checkout-summary-row {
  padding: 11px 12px !important;
  min-height: 58px !important;
  align-items: center !important;
}
#checkoutModal .checkout-summary .checkout-summary-label {
  line-height: 1.29 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value {
  gap: 2px !important;
  line-height: 1.25 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value strong {
  line-height: 1.24 !important;
}
#checkoutModal .checkout-summary .checkout-summary-value small {
  margin-top: 3px !important;
  line-height: 1.29 !important;
}
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total {
  order: 999 !important;
  padding: 11px 12px !important;
  min-height: 60px !important;
}
#checkoutModal .checkout-summary .checkout-summary-row.invoice-total .checkout-summary-value strong {
  line-height: 1.20 !important;
}
#checkoutModal .checkout-summary-title {
  padding: 10px 12px !important;
}
@media (max-width: 430px) {
  #checkoutModal .checkout-summary .checkout-summary-row {
    padding: 10px 10px !important;
    min-height: 55px !important;
  }
  #checkoutModal .checkout-summary .checkout-summary-row.invoice-total {
    padding: 10px 10px !important;
    min-height: 57px !important;
  }
}


/* TELEXPRESS 2.11.0 MARKETPLACE */
.checkout-store-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:9px!important}
.checkout-store-grid.single-store{grid-template-columns:minmax(220px,420px)!important}
.checkout-store-card{aspect-ratio:auto!important;min-height:88px!important;padding:10px 12px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;row-gap:2px!important;align-items:center!important;justify-items:start!important;text-align:left!important}
.checkout-store-card>i{grid-row:1/3;font-size:1.35rem!important}
.checkout-store-card strong{font-size:.88rem!important;line-height:1.2!important}
.checkout-store-card small{font-size:.68rem!important;line-height:1.22!important;-webkit-line-clamp:1!important}
.checkout-store-card .store-card-check{right:7px!important;top:7px!important}
body.marketplace-home .telexpress-floating-widget{display:none!important}
body.marketplace-home{background:#f4f8fb;color:#10233d}
.marketplace-shell{max-width:1280px;margin:0 auto;padding:18px 16px 100px;display:grid;gap:22px}
.marketplace-hero{padding:24px;border-radius:24px;background:linear-gradient(135deg,#03045e,#0077b6);color:#fff;box-shadow:0 16px 38px rgba(3,4,94,.22)}
.marketplace-hero h1{margin:0 0 7px;font-size:clamp(1.7rem,4vw,2.8rem)}
.marketplace-hero p{margin:0 0 18px;color:#d9f5fb}
.marketplace-search{display:grid;grid-template-columns:1fr auto;gap:8px;background:#fff;border-radius:15px;padding:7px}
.marketplace-search input{min-width:0;border:0;outline:0;padding:9px 11px;font:inherit}
.marketplace-search button{border:0;border-radius:11px;padding:10px 16px;background:#00b4d8;color:#03045e;font-weight:900}
.marketplace-section{display:grid;gap:12px}
.marketplace-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px}
.marketplace-section-head h2{margin:0;color:#03045e}
.marketplace-category-list{display:flex;gap:9px;overflow-x:auto;padding:2px 1px 8px;scrollbar-width:thin}
.marketplace-category-chip{flex:0 0 auto;border:1px solid #cce5ef;border-radius:999px;background:#fff;padding:9px 14px;color:#315269;font-weight:850;white-space:nowrap}
.marketplace-category-chip.active{background:#03045e;color:#fff;border-color:#03045e}
.marketplace-store-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(230px,300px);gap:12px;overflow-x:auto;padding:2px 2px 11px;scroll-snap-type:x proximity}
.marketplace-store-card{scroll-snap-align:start;display:grid;grid-template-columns:54px 1fr;gap:11px;align-items:center;min-height:82px;padding:12px;border:1px solid #dbe7ed;border-radius:18px;background:#fff;text-decoration:none;color:#10233d;box-shadow:0 8px 20px rgba(3,4,94,.06)}
.marketplace-store-logo{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;overflow:hidden;background:#eaf8fc;color:#0077b6;font-size:1.3rem}.marketplace-store-logo img{width:100%;height:100%;object-fit:cover}
.marketplace-store-card strong{display:block;color:#03045e}.marketplace-store-card small{display:block;color:#688092;margin-top:3px}
.marketplace-product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px}
.marketplace-product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dbe7ed;border-radius:20px;background:#fff;box-shadow:0 9px 24px rgba(3,4,94,.07)}
.marketplace-product-image{height:170px;background:#eef8fb;display:grid;place-items:center;overflow:hidden}.marketplace-product-image img{width:100%;height:100%;object-fit:cover}.marketplace-product-image i{font-size:2.2rem;color:#90dcec}
.marketplace-product-body{display:grid;gap:8px;padding:13px;flex:1}.marketplace-product-body h3{margin:0;color:#03045e;font-size:1rem}.marketplace-product-body p{margin:0;color:#667d8c;font-size:.78rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.marketplace-product-meta{display:flex;justify-content:space-between;gap:8px;align-items:center}.marketplace-product-meta strong{color:#0077b6}.marketplace-product-meta small{color:#6b7280;text-align:right}
.marketplace-product-store{width:100%;border:1px solid #d6e4eb;border-radius:10px;padding:8px;background:#fff;color:#334155}
.marketplace-product-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto}.marketplace-product-actions a,.marketplace-product-actions button{display:flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:10px;text-decoration:none;font-weight:900;font-size:.78rem}.marketplace-product-actions a{background:#e8f6fa;color:#0077b6}.marketplace-product-actions button{background:#0077b6;color:#fff}
.marketplace-empty{padding:35px;text-align:center;border:1px dashed #bdd5df;border-radius:18px;background:#fff;color:#6b7280}
.txm-cart-line{display:grid;grid-template-columns:54px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f3}.txm-cart-line img{width:54px;height:54px;object-fit:cover;border-radius:11px;background:#eef8fb}.txm-cart-line h4,.txm-cart-line p{margin:0}.txm-cart-line p{font-size:.72rem;color:#6b7280}.txm-cart-remove{border:0;background:#fee2e2;color:#991b1b;border-radius:9px;padding:8px}
.txm-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:12px;background:rgba(3,4,94,.65)}.txm-modal.hidden{display:none!important}.txm-modal-card{width:min(780px,100%);max-height:calc(100vh - 24px);overflow:auto;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.3)}.txm-modal-head{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;padding:14px 17px;background:#03045e;color:#fff}.txm-modal-head h2{margin:0;font-size:1.1rem}.txm-modal-head button{border:0;background:transparent;color:#fff;font-size:1.6rem}.txm-modal-body{display:grid;gap:14px;padding:16px}.txm-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.txm-field{display:grid;gap:5px}.txm-field.full{grid-column:1/-1}.txm-field input,.txm-field textarea,.txm-field select{width:100%;box-sizing:border-box;border:1px solid #cfdde4;border-radius:11px;padding:10px;font:inherit}.txm-map{height:280px;border:1px solid #d6e4eb;border-radius:14px;overflow:hidden}.txm-place-results{display:grid;max-height:200px;overflow:auto;border:1px solid #d8e5eb;border-radius:11px}.txm-place-result{border:0;border-bottom:1px solid #edf1f3;background:#fff;padding:9px;text-align:left}.txm-quote{display:grid;gap:7px;padding:12px;border-radius:14px;background:#f3f9fb}.txm-quote-row{display:flex;justify-content:space-between;gap:12px}.txm-quote-row.total{padding-top:8px;border-top:1px solid #cfe2e9;color:#03045e;font-size:1.08rem;font-weight:950}.txm-route-list{display:grid;gap:6px}.txm-route-leg{padding:8px 10px;border-radius:10px;background:#fff;font-size:.75rem;color:#526b7a}.txm-payment-card{display:grid;gap:4px;padding:10px;border:1px solid #d6e4eb;border-radius:12px}.txm-payment-card strong{color:#03045e}.txm-primary{border:0;border-radius:12px;padding:12px 16px;background:#0077b6;color:#fff;font-weight:950}.txm-primary:disabled{opacity:.55}.txm-secondary{border:0;border-radius:12px;padding:11px 15px;background:#e8f6fa;color:#0077b6;font-weight:900}
@media(max-width:650px){.marketplace-shell{padding:12px 10px 90px}.marketplace-hero{padding:18px;border-radius:19px}.marketplace-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.marketplace-product-image{height:125px}.marketplace-product-body{padding:10px}.marketplace-product-actions{grid-template-columns:1fr}.txm-form-grid{grid-template-columns:1fr}.txm-field.full{grid-column:auto}.checkout-store-card{min-height:78px!important}}


/* TELEXPRESS 2.11.3 GENERAL PORTAL DRIVER STYLE */
body.marketplace-home{
  --tx-deep:#071d35;
  --tx-primary:#03045e;
  --tx-secondary:#0077b6;
  --tx-accent:#00b4d8;
  --tx-cyan:#90e0ef;
  --tx-surface:#ffffff;
  --tx-page:#f3f7fa;
  font-family:'Telexpress Text','Geomini','Montserrat',Arial,sans-serif!important;
  background:var(--tx-page)!important;
  color:#10233d!important;
}
body.marketplace-home h1,
body.marketplace-home h2,
body.marketplace-home h3,
body.marketplace-home strong,
body.marketplace-home button,
body.marketplace-home .marketplace-category-chip{
  font-family:'Telexpress Display','Montserrat',Arial,sans-serif!important;
}
body.marketplace-home .bottom-ribbon,
body.marketplace-home .mobile-bottom-ribbon{
  display:none!important;
}
body.marketplace-home .marketplace-shell{
  padding-bottom:118px!important;
}
body.marketplace-home .marketplace-hero{
  background:linear-gradient(145deg,var(--tx-deep),var(--tx-primary) 58%,var(--tx-secondary))!important;
  border:1px solid rgba(144,224,239,.22)!important;
  box-shadow:0 18px 42px rgba(7,29,53,.22)!important;
}
body.marketplace-home .marketplace-search button,
body.marketplace-home .marketplace-product-actions button,
body.marketplace-home .txm-primary{
  background:var(--tx-secondary)!important;
  color:#fff!important;
}
body.marketplace-home .marketplace-category-chip.active{
  background:var(--tx-primary)!important;
  border-color:var(--tx-primary)!important;
  color:#fff!important;
}
body.marketplace-home .marketplace-store-card,
body.marketplace-home .marketplace-product-card{
  border-color:#d7e3ea!important;
  box-shadow:0 8px 22px rgba(7,29,53,.075)!important;
}
body.marketplace-home .marketplace-store-card strong,
body.marketplace-home .marketplace-product-body h3{
  color:var(--tx-primary)!important;
}
.marketplace-bottom-nav{
  position:fixed;
  z-index:10020;
  left:50%;
  bottom:max(10px,env(safe-area-inset-bottom));
  transform:translateX(-50%);
  width:min(620px,calc(100% - 20px));
  min-height:70px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
  padding:7px;
  border:1px solid rgba(144,224,239,.18);
  border-radius:22px;
  background:rgba(7,29,53,.97);
  box-shadow:0 18px 48px rgba(3,4,94,.32);
  backdrop-filter:blur(15px);
}
.marketplace-bottom-nav button{
  position:relative;
  min-width:0;
  min-height:56px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  border:0;
  border-radius:16px;
  background:transparent;
  color:rgba(255,255,255,.74);
  font-family:'Telexpress Display','Montserrat',Arial,sans-serif;
  font-size:.67rem;
  font-weight:900;
  letter-spacing:.02em;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.marketplace-bottom-nav button svg{
  width:22px;
  height:22px;
  fill:currentColor;
}
.marketplace-bottom-nav button.active{
  background:linear-gradient(145deg,#0077b6,#00b4d8);
  color:#fff;
  transform:translateY(-1px);
}
.marketplace-bottom-nav button .txm-nav-count{
  position:absolute;
  top:3px;
  right:calc(50% - 24px);
  min-width:18px;
  height:18px;
  display:grid;
  place-items:center;
  padding:0 5px;
  border:2px solid #071d35;
  border-radius:99px;
  background:#ef4444;
  color:#fff;
  font:800 .61rem/1 Arial,sans-serif;
}
.marketplace-bottom-nav button .txm-nav-count.hidden{display:none!important}
@media(max-width:520px){
  .marketplace-bottom-nav{width:calc(100% - 14px);bottom:max(7px,env(safe-area-inset-bottom));border-radius:19px}
  .marketplace-bottom-nav button{min-height:54px;font-size:.62rem}
  .marketplace-bottom-nav button svg{width:21px;height:21px}
}
