:root{--tx-blue-dark:#003B7A;--tx-blue:#0069C0;--tx-electric:#2196F3;--tx-sky:#97E9FF;--tx-purple:#7F00B2;--tx-purple-light:#AB3ED8;--tx-ivory:#F8E8B8;--tx-white:#FFF;--tx-gray:#9AA4B2;--tx-black:#101218;--tx-bg:#e7e7e7;--safe-bottom:env(safe-area-inset-bottom,0px);--tx-nav-icon-size:28px}
*{box-sizing:border-box}html{min-height:100%;touch-action:manipulation}body{margin:0;background:var(--tx-bg);color:var(--tx-black);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;padding-top:92px;padding-bottom:calc(66px + var(--safe-bottom));overflow-x:hidden}.tx-header{height:92px;background:var(--tx-electric);border-radius:0 0 18px 18px;border-bottom:6px solid var(--tx-purple);display:flex;align-items:center;justify-content:space-between;padding:8px 20px;position:fixed;top:0;left:0;right:0;z-index:1020}.tx-logo{height:58px;max-width:100px;object-fit:contain}.tx-icon-button{position:relative;width:48px;height:48px;display:grid;place-items:center;border:0;background:transparent;color:#fff;padding:0;line-height:1}.tx-icon-button>i{width:var(--tx-nav-icon-size);height:var(--tx-nav-icon-size);display:inline-flex;align-items:center;justify-content:center;font-size:var(--tx-nav-icon-size);line-height:1}.tx-badge{position:absolute;right:1px;top:4px;border-radius:20px;background:var(--tx-purple);font:700 11px/1 system-ui;padding:5px;color:#fff}.tx-main{max-width:1440px;margin:auto}.tx-view{display:none;padding:14px 13px}.tx-view.active{display:block}.tx-search{display:flex;align-items:center;background:var(--tx-electric);border-radius:18px;padding:20px 28px 20px 16px;margin-bottom:10px}.tx-search input{height:50px;flex:1;border:0;border-radius:9px;background:#fff;padding:0 13px;font-size:18px;outline:none;min-width:0}.tx-search input::placeholder{color:#999}.tx-search button{width:62px;border:0;color:#fff;background:transparent;font-size:34px}.tx-banner{height:88px;border-radius:16px;background:#c4c4c4;color:#fff;display:flex;align-items:center;justify-content:center;font-size:21px;letter-spacing:.3px;overflow:hidden;margin-bottom:22px}.tx-banner img{width:100%;height:100%;object-fit:cover}.tx-category{margin:0 0 22px}.tx-category h2{font-size:25px;color:var(--tx-purple);font-weight:500;text-transform:uppercase;margin:0 5px 16px}.tx-products{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(258px,31%);overflow-x:auto;gap:15px;scroll-snap-type:x mandatory;padding:2px 1px 8px;scrollbar-width:thin}.tx-product{scroll-snap-align:start;background:#fff;border:1.5px solid var(--tx-purple);border-radius:16px;overflow:hidden;display:flex;flex-direction:column;min-height:376px;cursor:pointer}.tx-product-image{height:180px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.tx-product-image img{width:100%;height:100%;object-fit:contain}.tx-product-image .placeholder{font-size:90px;color:var(--tx-sky)}.tx-product-title{background:var(--tx-purple);color:#fff;font-weight:700;text-align:center;padding:13px;font-size:19px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-product-description{text-align:center;padding:10px 12px;min-height:60px}.tx-product-price{margin:auto 14px 14px;background:var(--tx-electric);color:#fff;border-radius:11px;padding:10px 13px;font-size:25px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:9px}.tx-footer{position:fixed;z-index:1030;left:0;right:0;bottom:0;height:66px;padding-bottom:var(--safe-bottom);border-top:5px solid var(--tx-purple);border-radius:18px 18px 0 0;background:#fff;display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -4px 18px #10121818}.tx-footer button{position:relative;display:grid;place-items:center;border:0;background:transparent;color:var(--tx-purple);padding:4px 2px}.tx-footer i{width:var(--tx-nav-icon-size);height:var(--tx-nav-icon-size);display:inline-flex;align-items:center;justify-content:center;font-size:var(--tx-nav-icon-size);line-height:1;margin:0}.tx-footer button.active{color:var(--tx-electric)}.tx-footer b{position:absolute;top:2px;left:55%;background:var(--tx-purple);color:#fff;border-radius:50px;padding:3px 6px;font-size:10px}.tx-loader{position:fixed;inset:0;background:#10121866;z-index:3000;display:flex;align-items:center;justify-content:center}.tx-loader-card{min-width:145px;border-radius:18px;background:#fff;color:var(--tx-purple);display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px;box-shadow:0 20px 70px #0004}.tx-loader .spinner-border{width:42px;height:42px}.tx-modal{border:2px solid var(--tx-purple);border-radius:21px;overflow:hidden}.tx-modal-close{position:absolute;right:15px;top:15px;z-index:5;background-color:#fff;padding:9px;border-radius:50%}.tx-product-detail-image{width:100%;height:min(42vh,430px);object-fit:contain;background:#fff}.tx-commerce-strip{display:flex;align-items:center;gap:12px;padding:14px;background:var(--tx-ivory);cursor:pointer}.tx-commerce-strip img,.tx-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff}.tx-product-detail-copy{padding:20px}.tx-product-detail-copy h2{color:var(--tx-purple);font-weight:800}.tx-primary{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}.tx-secondary{background:var(--tx-electric)!important;border-color:var(--tx-electric)!important;color:#fff!important}.tx-page-title{display:flex;align-items:center;justify-content:space-between;padding:5px 3px 14px}.tx-page-title h1{margin:0;color:var(--tx-purple);font-size:26px}.tx-list{display:grid;gap:10px}.tx-list-item{display:flex;align-items:center;gap:12px;background:#fff;border-radius:14px;padding:13px;box-shadow:0 4px 16px #10121810}.tx-list-item .grow{flex:1;min-width:0}.tx-list-item h3{font-size:17px;margin:0 0 4px}.tx-list-item p{margin:0;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-empty{padding:40px 18px;text-align:center;color:#667085;background:#fff;border-radius:16px}.tx-app-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:15px}.tx-app-card{border:0;border-radius:20px;background:#fff;padding:22px;text-align:center;color:var(--tx-purple);box-shadow:0 8px 30px #10121812}.tx-app-card i{display:block;font-size:48px;margin-bottom:12px}.tx-app-card h3{font-size:19px}.tx-app-card p{font-size:13px;color:#667085}.tx-commerce-cover{height:220px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric));border-radius:18px;position:relative;margin-bottom:56px;background-size:cover;background-position:center}.tx-commerce-profile-logo{position:absolute;left:24px;bottom:-46px;width:105px;height:105px;border:5px solid #fff;border-radius:50%;object-fit:cover;background:#fff}.tx-commerce-head{padding:0 18px 18px}.tx-commerce-tabs{display:flex;gap:8px;overflow-x:auto;margin:10px 0}.tx-commerce-tabs button{border:1px solid var(--tx-purple);background:#fff;color:var(--tx-purple);border-radius:50px;padding:8px 15px;white-space:nowrap}.tx-media-card{background:#101218;color:#fff;border-radius:18px;overflow:hidden;margin-bottom:16px}.tx-media-card video{display:block;width:100%;max-height:70vh;background:#000}.tx-media-copy{padding:15px}.viewme-feed{height:calc(100vh - 190px);overflow-y:auto;scroll-snap-type:y mandatory}.viewme-feed .tx-media-card{height:100%;scroll-snap-align:start;position:relative}.viewme-feed video{height:100%;max-height:none;object-fit:cover}.tx-chat-messages{height:min(62vh,590px);overflow-y:auto;padding:17px;background:#eef4f8;display:flex;flex-direction:column;gap:9px}.tx-bubble{max-width:75%;padding:9px 12px;border-radius:15px;background:#fff;align-self:flex-start}.tx-bubble.mine{align-self:flex-end;background:var(--tx-sky)}.tx-bubble small{display:block;text-align:right;color:#667085}.tx-message-form{padding:12px;display:flex;gap:8px}.tx-round{border-radius:50%;color:var(--tx-purple)}.menu-logo{width:110px}.tx-account{background:var(--tx-ivory);border-radius:15px;padding:15px;margin-bottom:15px}.tx-menu-item{width:100%;border:0;border-bottom:1px solid #eee;background:#fff;text-align:left;padding:15px;color:var(--tx-black)}.tx-menu-item i{width:32px;color:var(--tx-purple)}.nav-pills .nav-link.active{background:var(--tx-purple)}
@media(max-width:768px){body{padding-top:86px}.tx-header{height:86px;padding:7px 15px}.tx-logo{height:54px}.tx-products{grid-auto-columns:minmax(258px,80%)}.tx-product-image{height:180px}.tx-search{padding:20px 14px}.tx-search button{width:50px}.tx-category h2{font-size:22px}.tx-commerce-cover{height:170px}}
@media(min-width:1100px){.tx-header{left:50%;max-width:1440px;transform:translateX(-50%)}.tx-view{padding-left:32px;padding-right:32px}.tx-products{grid-auto-columns:minmax(258px,24%)}.tx-footer{left:50%;max-width:1440px;transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.offcanvas-header{background:var(--tx-electric)}.menu-logo{height:70px;object-fit:contain}
.tx-call-modal{position:relative;min-height:min(78vh,700px);background:#101218;color:#fff;border-radius:22px;overflow:hidden}.tx-call-head{text-align:center;padding:22px;position:relative;z-index:2}.tx-call-head h2{font-size:21px}.tx-call-head span{color:var(--tx-sky)}.tx-call-media{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(145deg,#003B7A,#101218)}.tx-call-media video{width:100%;height:100%;object-fit:cover}.tx-call-avatar{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:var(--tx-purple);font-size:60px}.tx-local-media{position:absolute;right:18px;bottom:105px;width:150px;height:200px;border:2px solid #fff;border-radius:16px;overflow:hidden;background:#222}.tx-local-media:empty{display:none}.tx-local-media video{width:100%;height:100%;object-fit:cover}.tx-call-actions{position:absolute;z-index:3;bottom:25px;left:0;right:0;display:flex;justify-content:center;gap:18px}.tx-call-actions .btn{width:57px;height:57px;border-radius:50%;background:#fff;color:#101218;font-size:20px}.tx-call-actions .end{background:#dc3545;color:#fff}
.tx-credit-card{background:#fff;border-radius:18px;padding:22px}.tx-credit-arc{height:18px;border-radius:30px;background:linear-gradient(90deg,#dc3545,#f97316,#f5a500,#7cb342,#16a36a);position:relative;margin:28px 0}.tx-credit-marker{position:absolute;top:-8px;width:4px;height:34px;background:#101218;border-radius:5px}

/* Mensajería Telexpress 1.0.14: interfaz de conversación familiar y limpia */
.tx-conversation-list{gap:1px;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #1012180d}.tx-conversation-item{border-radius:0!important;box-shadow:none!important;border-bottom:1px solid #edf0f2!important;padding:11px 13px!important}.tx-conversation-item:last-child{border-bottom:0!important}.tx-conversation-item .tx-avatar{overflow:hidden;flex:0 0 52px}.tx-conversation-item .tx-avatar img{width:100%;height:100%;object-fit:cover}.tx-conversation-item h3{font-weight:700}.tx-conversation-item small{font-size:11px;color:#7a858e;white-space:nowrap}.tx-peer-user{font-weight:600;color:var(--tx-purple)}
.tx-chat-shell{background:#f0f2f5}.tx-chat-header{background:#f0f2f5;border-bottom:1px solid #dde2e5;padding:10px 13px}.tx-chat-person{display:flex;align-items:center;gap:10px;min-width:0}.tx-chat-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#d9e3ea;color:var(--tx-purple);flex:0 0 40px}.tx-chat-person h2{font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:310px}.tx-chat-messages{background-color:#efeae2;background-image:radial-gradient(#d7d1c8 1px,transparent 1px);background-size:18px 18px;padding:20px 5%;gap:5px}.tx-bubble{position:relative;max-width:78%;padding:7px 9px 5px;border-radius:8px;background:#fff;box-shadow:0 1px 1px #00000018;word-break:break-word}.tx-bubble.mine{background:#dff3ff}.tx-bubble small{font-size:10px;margin-left:30px;color:#667781}.tx-bubble.mine small .fa-check-double{color:#53bdeb}.tx-chat-empty{margin:auto;background:#fff8dc;color:#667781;border-radius:8px;padding:6px 12px;font-size:12px}.tx-message-form{background:#f0f2f5;padding:10px 12px}.tx-message-form .form-control{border:0;border-radius:24px;padding:10px 16px}.tx-message-form .btn{width:45px;height:45px;border-radius:50%;padding:0;display:grid;place-items:center}.tx-round{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:50%!important}.tx-round:hover{background:#dfe3e5}.tx-qr-video{width:100%;max-height:360px;object-fit:cover;border-radius:16px;background:#101218}.tx-qr-status{text-align:center;padding:12px;background:#f6f8fa;border-radius:12px;color:#667085}.tx-register-form label{font-size:13px;font-weight:700;color:#344054;margin-bottom:4px}.tx-register-form input:read-only{background:#f2f4f7}.tx-register-form input:disabled{background:#f2f4f7}
@media(max-width:600px){.tx-chat-messages{height:64vh;padding-left:3%;padding-right:3%}.tx-bubble{max-width:88%}.tx-chat-person h2{max-width:155px}.tx-chat-header .tx-round{width:36px;height:36px}.tx-chat-header{padding-left:8px;padding-right:8px}}

/* R6 · Chat Telexpress en página completa, estilo WhatsApp */
body.tx-chat-open{padding-top:0;padding-bottom:calc(66px + var(--safe-bottom))}.tx-chat-open>.tx-header{display:none!important}.tx-chat-open>.tx-footer{display:grid!important}.tx-chat-open .tx-main{max-width:none;height:calc(100dvh - 66px - var(--safe-bottom));overflow:hidden}.tx-chat-open .tx-view{padding:0}.tx-chat-page.active{display:grid!important;grid-template-rows:auto auto 1fr auto;height:calc(100dvh - 66px - var(--safe-bottom));min-height:0;overflow:hidden;background:#efeae2}.tx-chat-page-head{min-height:72px;background:var(--tx-electric);border-bottom:5px solid var(--tx-purple);display:flex;align-items:center;gap:9px;padding:8px 10px;color:#fff;position:sticky;top:0;z-index:20}.tx-chat-back,.tx-round,.tx-compose-icon,.tx-send-button,.tx-voice-cancel,.tx-voice-send,.tx-reply-button{border:0}.tx-chat-back{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:transparent;color:#fff;font-size:19px}.tx-chat-back:hover,.tx-chat-page-head .tx-round:hover{background:#ffffff20}.tx-chat-page-head .tx-chat-avatar{background:#fff;color:var(--tx-purple);overflow:hidden;border:2px solid #ffffffcc}.tx-chat-page-head .tx-chat-avatar img{width:100%;height:100%;object-fit:cover}.tx-chat-person-copy{min-width:0;flex:1;display:grid}.tx-chat-person-copy strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-chat-person-copy small,.tx-chat-person-copy span{font-size:11px;color:#eaf8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-chat-head-actions{display:flex;align-items:center;gap:2px}.tx-chat-page-head .tx-round{background:transparent;color:#fff;width:40px;height:40px}.tx-chat-messages-page{height:auto!important;min-height:0;overflow-y:auto;padding:18px max(3%,16px) 24px;background-color:#efeae2;background-image:radial-gradient(#d7d1c8 1px,transparent 1px);background-size:18px 18px;gap:5px}.tx-bubble{padding:7px 8px 5px;min-width:80px}.tx-bubble.mine{background:#dff3ff}.tx-message-text{display:block;white-space:normal}.tx-message-meta{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:3px;min-height:15px}.tx-message-meta time{font-size:10px;color:#667781}.tx-receipt{font-size:12px;line-height:1;color:#7a858e}.tx-receipt.read{color:#53bdeb}.tx-reply-button{background:transparent;color:#8b96a0;padding:1px 3px;font-size:10px;opacity:.3}.tx-bubble:hover .tx-reply-button{opacity:1}.tx-quoted{border-left:4px solid var(--tx-purple);background:#0000000d;border-radius:5px;padding:5px 7px;margin-bottom:5px;display:grid;max-width:100%}.tx-quoted strong{font-size:11px;color:var(--tx-purple)}.tx-quoted span{font-size:11px;color:#667781;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-media-image{display:block;margin:-2px -2px 5px}.tx-media-image img{display:block;max-width:min(360px,70vw);max-height:420px;border-radius:7px;object-fit:cover}.tx-media-video{display:block;max-width:min(420px,72vw);max-height:420px;border-radius:7px;margin-bottom:5px;background:#000}.tx-audio-message{display:flex;align-items:center;gap:9px;min-width:min(330px,70vw);padding:6px 3px}.tx-audio-message>i{color:var(--tx-purple);font-size:20px}.tx-audio-message audio{width:100%;height:36px}.tx-document-message{display:flex;align-items:center;gap:10px;background:#0000000c;border-radius:8px;padding:9px 10px;margin-bottom:5px;text-decoration:none;color:#344054;min-width:min(300px,65vw)}.tx-document-message>i{font-size:28px;color:var(--tx-purple)}.tx-document-message span{display:grid;min-width:0}.tx-document-message strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-document-message small{font-size:10px;color:#667085}.tx-message-form-page{min-height:62px;background:#f0f2f5;display:flex;align-items:flex-end;gap:7px;padding:9px 10px calc(9px + env(safe-area-inset-bottom,0px));border-top:1px solid #dde2e5}.tx-message-form-page textarea{flex:1;max-height:120px;resize:none;border:0;outline:0;border-radius:22px;background:#fff;padding:11px 15px;line-height:20px}.tx-compose-icon,.tx-send-button{width:44px;height:44px;flex:0 0 44px;border-radius:50%;display:grid;place-items:center;font-size:19px}.tx-compose-icon{background:transparent;color:#667781}.tx-compose-icon:hover{background:#e3e7e9}.tx-send-button{background:var(--tx-purple);color:#fff}.tx-mic{color:var(--tx-purple)}.tx-chat-reply{background:#f0f2f5;border-top:1px solid #dde2e5;padding:7px 12px;display:flex;align-items:center;gap:10px}.tx-chat-reply>div{flex:1;border-left:4px solid var(--tx-purple);padding-left:9px;min-width:0;display:grid}.tx-chat-reply small{color:var(--tx-purple)}.tx-chat-reply span{font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-chat-reply button{border:0;background:transparent;color:#667085;font-size:18px}.tx-voice-recorder{min-height:62px;background:#f0f2f5;display:flex;align-items:center;gap:10px;padding:9px 12px calc(9px + env(safe-area-inset-bottom,0px))}.tx-voice-live{flex:1;display:flex;align-items:center;gap:8px;color:#667085}.tx-record-dot{width:9px;height:9px;border-radius:50%;background:#dc3545;animation:txpulse 1s infinite}.tx-voice-cancel,.tx-voice-send{width:44px;height:44px;border-radius:50%;display:grid;place-items:center}.tx-voice-cancel{background:#fff;color:#dc3545}.tx-voice-send{background:var(--tx-purple);color:#fff}@keyframes txpulse{50%{opacity:.25}}.tx-profile-photo-wrap{text-align:center}.tx-profile-photo{width:112px;height:112px;margin:auto;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef4f8;color:var(--tx-purple);font-size:42px;border:4px solid #fff;box-shadow:0 6px 22px #10121818}.tx-profile-photo img{width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.tx-chat-page-head{min-height:66px}.tx-chat-head-actions .tx-round{width:35px;height:35px}.tx-chat-messages-page{padding-left:8px;padding-right:8px}.tx-bubble{max-width:88%}.tx-media-image img,.tx-media-video{max-width:76vw}.tx-audio-message{min-width:68vw}.tx-document-message{min-width:64vw}}

/* R6.2 · No leídos y dispositivos vinculados */
.tx-conversation-item{position:relative}.tx-conversation-unread{min-width:22px;height:22px;border-radius:50px;background:var(--tx-purple);color:#fff;display:inline-grid;place-items:center;padding:0 6px;font-size:11px;font-weight:800;margin-left:7px;flex:0 0 auto}.tx-conversation-item.has-unread h3{font-weight:900;color:var(--tx-black)}.tx-conversation-item.has-unread p{font-weight:700;color:#344054}.tx-device-help{display:flex;gap:12px;align-items:flex-start;background:#eef7ff;border:1px solid #cfe8ff;border-radius:16px;padding:14px 16px;margin-bottom:14px;color:var(--tx-blue-dark)}.tx-device-help>i{font-size:24px;color:var(--tx-purple);margin-top:2px}.tx-device-help p{margin:2px 0 0;color:#667085;font-size:13px}.tx-device-card{display:flex;align-items:center;gap:13px;background:#fff;border-radius:15px;padding:14px;box-shadow:0 4px 16px #10121810}.tx-device-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:var(--tx-purple);font-size:20px}.tx-device-copy{min-width:0;flex:1}.tx-device-copy strong{display:block}.tx-device-copy small{display:block;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-device-current{font-size:10px;font-weight:900;border-radius:20px;padding:4px 8px;background:#e7f8ee;color:#087a42}.tx-device-revoke{border:0;border-radius:50%;width:40px;height:40px;display:grid;place-items:center;background:#fff0f0;color:#b42318}.tx-device-revoke:hover{background:#ffe0e0}
/* TELEXPRESS 1.0.14 R7 - Chat encajado permanentemente entre header y footer */
body.tx-chat-open{
    height:100dvh;
    min-height:100dvh;
    padding-bottom:calc(66px + var(--safe-bottom));
    overflow:hidden;
}
body.tx-chat-open>.tx-header{
    display:flex!important;
    position:fixed!important;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:1050;
}
body.tx-chat-open>.tx-footer{
    display:grid!important;
    position:fixed!important;
    left:0;
    right:0;
    bottom:0;
    z-index:1050;
}
.tx-chat-open .tx-main{
    position:fixed;
    top:92px;
    right:0;
    bottom:calc(66px + var(--safe-bottom));
    left:0;
    width:100%;
    max-width:none;
    height:auto;
    margin:0;
    overflow:hidden;
}
.tx-chat-open .tx-view{padding:0}
.tx-chat-page.active{
    display:flex!important;
    flex-direction:column;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    background-color:#efeae2;
    background-image:radial-gradient(#d7d1c8 1px,transparent 1px);
    background-size:18px 18px;
}
.tx-chat-page.active .tx-chat-page-head{
    position:relative;
    top:auto;
    flex:0 0 auto;
    width:100%;
    z-index:20;
}
.tx-chat-page.active .tx-chat-reply,
.tx-chat-page.active .tx-voice-recorder,
.tx-chat-page.active .tx-message-form-page{
    flex:0 0 auto;
    width:100%;
    position:relative;
    z-index:15;
}
.tx-chat-page.active .tx-chat-messages-page{
    flex:1 1 auto;
    width:100%;
    height:auto!important;
    min-height:0;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    background-color:transparent;
    background-image:none;
}
@media(max-width:600px){
    body.tx-chat-open>.tx-header{height:92px}
    .tx-chat-open .tx-main{top:92px;bottom:calc(66px + var(--safe-bottom))}
}

/* Telexpress 1.0.14 R7.1 - mensajería multimedia y tiempo real */
.tx-message-row{width:100%;display:flex;margin:2px 0;align-items:flex-end}
.tx-message-row.incoming{justify-content:flex-start;padding-right:14%}
.tx-message-row.outgoing{justify-content:flex-end;padding-left:14%}
.tx-message-row .tx-bubble{position:relative;max-width:min(76%,620px);width:max-content;min-width:72px;margin:0!important;box-shadow:0 1px 1px #00000018}
.tx-message-row .tx-bubble.received{background:#fff;border-radius:8px 8px 8px 2px}
.tx-message-row .tx-bubble.mine{background:#dff3ff;border-radius:8px 8px 2px 8px}
.tx-message-row.incoming .tx-bubble.received:before{content:"";position:absolute;left:-7px;bottom:0;border-style:solid;border-width:0 8px 8px 0;border-color:transparent #fff transparent transparent}
.tx-message-row.outgoing .tx-bubble.mine:after{content:"";position:absolute;right:-7px;bottom:0;border-style:solid;border-width:8px 8px 0 0;border-color:#dff3ff transparent transparent transparent}
.tx-message-row .tx-message-meta{width:100%;justify-content:flex-end}
.tx-location-message{display:block;min-width:min(330px,70vw);overflow:hidden;border-radius:9px;background:#f4f7f8;text-decoration:none;color:#1f2937;margin-bottom:4px}
.tx-location-map{height:116px;background:linear-gradient(135deg,#e8edf0,#d7e5de);display:grid;place-items:center;align-content:center;gap:7px;color:var(--tx-purple)}
.tx-location-map i{font-size:32px}.tx-location-map span{font-size:11px;color:#56636c;font-weight:700}
.tx-location-copy{display:grid;padding:9px 11px}.tx-location-copy strong{font-size:13px}.tx-location-copy small{font-size:10px;color:#667781}
.tx-attachment-wrap{position:relative;flex:0 0 auto}
.tx-attachment-menu{position:absolute;left:0;bottom:52px;width:190px;background:#fff;border-radius:16px;box-shadow:0 12px 36px #0003;padding:8px;z-index:80;border:1px solid #e6e9ec}
.tx-attachment-menu button{width:100%;display:flex;align-items:center;gap:12px;padding:10px 11px;border:0;background:transparent;border-radius:10px;text-align:left;color:#344054}
.tx-attachment-menu button:hover{background:#f2f4f7}.tx-attachment-menu button i{width:25px;font-size:18px;text-align:center;color:var(--tx-purple)}
.tx-attachment-preview{min-height:180px;border-radius:13px;background:#eef1f3;display:grid;place-items:center;overflow:hidden;padding:14px}
.tx-attachment-preview-image,.tx-attachment-preview-video{display:block;max-width:100%;max-height:55vh;border-radius:10px;object-fit:contain}
.tx-attachment-preview-file{display:flex;align-items:center;gap:14px;max-width:100%;background:#fff;padding:15px 18px;border-radius:12px;box-shadow:0 3px 15px #00000010}
.tx-attachment-preview-file>i{font-size:34px;color:var(--tx-purple)}.tx-attachment-preview-file>div{display:grid;min-width:0}.tx-attachment-preview-file strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-attachment-preview-file small{color:#667085}
.tx-attachment-preview-location{display:grid;gap:7px;justify-items:center;text-align:center}.tx-attachment-preview-map{width:94px;height:94px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--tx-purple);font-size:38px;box-shadow:0 4px 20px #0001}.tx-attachment-preview-location span,.tx-attachment-preview-location small{color:#667085}
.tx-pending-row .tx-bubble{opacity:.93}.tx-upload-media{position:relative;margin:-2px -2px 5px}.tx-upload-media img,.tx-upload-media video{display:block;max-width:min(360px,70vw);max-height:420px;border-radius:7px;object-fit:cover;filter:brightness(.78)}
.tx-upload-progress{--progress:0deg;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:48px;height:48px;border-radius:50%;background:conic-gradient(#fff var(--progress),#ffffff45 0);display:grid;place-items:center;box-shadow:0 1px 8px #0006}
.tx-upload-progress:before{content:"";position:absolute;inset:4px;border-radius:50%;background:#0009}.tx-upload-progress button{position:relative;z-index:1;width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:#fff;font-size:18px}
.tx-upload-progress.compact{position:relative;inset:auto;transform:none;width:42px;height:42px;margin-left:auto;flex:0 0 42px;background:conic-gradient(var(--tx-purple) var(--progress),#d4dae0 0);box-shadow:none}.tx-upload-progress.compact:before{background:#fff}.tx-upload-progress.compact button{color:var(--tx-purple)}
.tx-upload-audio,.tx-upload-document{display:flex;align-items:center;gap:10px;min-width:min(310px,68vw);padding:8px 5px}.tx-upload-audio>i,.tx-upload-document>i{font-size:26px;color:var(--tx-purple)}.tx-upload-audio>div:not(.tx-upload-progress),.tx-upload-document>div:not(.tx-upload-progress){display:grid;min-width:0;flex:1}.tx-upload-audio strong,.tx-upload-document strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-upload-audio small,.tx-upload-document small{font-size:10px;color:#667085}
@media(max-width:700px){.tx-message-row.incoming{padding-right:8%}.tx-message-row.outgoing{padding-left:8%}.tx-message-row .tx-bubble{max-width:86%}.tx-attachment-menu{position:fixed;left:10px;bottom:calc(130px + env(safe-area-inset-bottom,0px));width:205px}}

/* TELEXPRESS 1.0.14 R8 - Marketplace: conversación sin header global, footer siempre visible */
body.tx-chat-open>.tx-header{display:none!important}
body.tx-chat-open>.tx-footer{display:grid!important;position:fixed!important;left:0;right:0;bottom:0;z-index:1050}
.tx-chat-open .tx-main{top:0!important;bottom:calc(66px + var(--safe-bottom))!important}
@media(max-width:600px){.tx-chat-open .tx-main{top:0!important;bottom:calc(66px + var(--safe-bottom))!important}}

/* TELEXPRESS 1.0.14 R8 - llamada entrante superior */
.tx-incoming-call{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:5000;width:min(720px,calc(100vw - 20px));min-height:76px;background:#101218;color:#fff;border-radius:18px;box-shadow:0 16px 50px #0008;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:10px 13px;border:1px solid #ffffff18}.tx-incoming-call.d-none{display:none!important}.tx-incoming-call-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#2a2d34;color:#fff;font-size:22px}.tx-incoming-call-avatar img{width:100%;height:100%;object-fit:cover}.tx-incoming-call-copy{display:grid;min-width:0}.tx-incoming-call-copy strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-incoming-call-copy span{font-size:12px;color:#c7cbd1}.tx-incoming-call button{border:0;color:#fff;border-radius:13px;min-height:48px;padding:8px 14px;display:flex;align-items:center;gap:7px;font-weight:800}.tx-incoming-call .reject{background:#d92d20}.tx-incoming-call .accept{background:#16a34a}.tx-incoming-call button i{font-size:18px}@media(max-width:620px){.tx-incoming-call{top:8px;grid-template-columns:auto 1fr auto auto;gap:7px;padding:8px}.tx-incoming-call-avatar{width:46px;height:46px}.tx-incoming-call button{width:46px;height:46px;min-height:46px;padding:0;justify-content:center;border-radius:50%}.tx-incoming-call button span{display:none}}

/* TELEXPRESS 1.0.14 R8-R3 - Footer Marketplace centrado dentro del chat */
body.tx-chat-open>.tx-footer{
    display:grid!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    width:auto!important;
    max-width:none!important;
    transform:none!important;
    margin:0!important;
    z-index:1050!important;
}
@media(min-width:1100px){
    body.tx-chat-open>.tx-footer{
        left:50%!important;
        right:auto!important;
        width:min(100%,1440px)!important;
        max-width:1440px!important;
        transform:translateX(-50%)!important;
    }
}


/* TELEXPRESS 1.0.14 R8-R4 · Adaptación estricta al ancho de pantalla */
html,body{width:100%;max-width:100%;overflow-x:hidden!important;touch-action:pan-x pan-y}
img,video,canvas{max-width:100%;}
.modal-dialog,.modal-content,.modal-body{min-width:0;max-width:100%;}


/* R8-R4 · Dispositivos vinculados siempre dentro del viewport */
#devicesView,#linkedDevicesList,.tx-device-help,.tx-device-card{width:100%;max-width:100%;min-width:0}
#devicesView{overflow-x:hidden}
#linkedDevicesList{overflow-x:hidden}
.tx-device-help{overflow:hidden}
.tx-device-help>div{min-width:0;max-width:100%}
.tx-device-help p,.tx-device-help strong{overflow-wrap:anywhere;word-break:break-word}
.tx-device-card{overflow:hidden;flex-wrap:nowrap}
.tx-device-copy{min-width:0;max-width:100%;overflow:hidden}
.tx-device-copy strong,.tx-device-copy small{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.tx-device-copy small{white-space:normal!important;overflow:visible;text-overflow:clip}
.tx-device-icon,.tx-device-current,.tx-device-revoke{flex-shrink:0}
@media(max-width:480px){
  .tx-device-help{padding:12px;gap:9px}
  .tx-device-card{padding:11px 10px;gap:9px}
  .tx-device-icon{width:40px;height:40px;flex-basis:40px;font-size:17px}
  .tx-device-revoke{width:36px;height:36px}
  .tx-device-current{font-size:9px;padding:3px 6px}
  .tx-device-copy strong{font-size:13px}
  .tx-device-copy small{font-size:11px;line-height:1.35}
}

/* R8-R8: identidad visible y estable durante llamadas */
.tx-call-identity{display:grid;justify-items:center;gap:1px;margin:4px 0 2px}.tx-call-identity strong{font-size:17px;line-height:1.2;color:#fff;max-width:min(80vw,520px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-call-identity small{font-size:12px;color:#c7cbd1}.tx-incoming-call-copy small{font-size:11px;color:#8ed8ff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ========================================================================
   TELEXPRESS 1.0.14 R8-R10 · Marketplace UX tipo portal cliente moderno
   Mantiene identidad Telexpress, header/buscador/banners y footer original.
   ======================================================================== */
body{background:#f4f5f7}.tx-header-actions{display:flex;align-items:center;gap:2px}.tx-install-header{background:#ffffff1e!important;border-radius:50%}.tx-install-header i{font-size:23px!important}.tx-market-catalog{padding-bottom:18px}.tx-search{background:transparent;padding:4px 0 12px;margin:0}.tx-search input{border-radius:16px;height:52px;box-shadow:0 5px 18px #10121810;border:1px solid #e8eaf0;padding-left:18px}.tx-search button{width:54px;height:52px;margin-left:8px;border-radius:16px;background:var(--tx-electric);font-size:22px;box-shadow:0 6px 18px #2196f333}.tx-market-banner{height:auto;min-height:120px;background:transparent;border-radius:22px;margin:0 0 12px;display:block}.tx-banner-track{display:grid;grid-auto-flow:column;grid-auto-columns:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:22px;box-shadow:0 9px 28px #10121812}.tx-banner-track::-webkit-scrollbar{display:none}.tx-banner-slide{scroll-snap-align:start;height:clamp(145px,24vw,260px);border:0;padding:0;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-purple));color:#fff;overflow:hidden}.tx-banner-slide img{width:100%;height:100%;object-fit:cover}.tx-banner-slide span{display:grid;place-items:center;height:100%;padding:20px;font-weight:900;font-size:clamp(1.2rem,3vw,2.2rem)}.tx-banner-dots{display:flex;justify-content:center;gap:6px;padding:9px 0 0}.tx-banner-dots button{width:7px;height:7px;border:0;border-radius:99px;padding:0;background:#cfd4dc;transition:.2s}.tx-banner-dots button.active{width:24px;background:var(--tx-purple)}.tx-banner-placeholder{height:150px;border-radius:22px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric),var(--tx-purple));display:flex;align-items:center;justify-content:center;gap:13px;color:#fff;font-size:1.15rem;font-weight:800}.tx-market-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 13px;overflow:hidden}.tx-market-rate,.tx-market-location{height:38px;min-width:0;border:0;border-radius:999px;background:#fff;box-shadow:0 3px 12px #1012180e;padding:0 12px;display:flex;align-items:center;gap:7px;font-size:.78rem}.tx-market-rate{color:var(--tx-blue-dark)}.tx-market-rate span{font-weight:900;color:var(--tx-purple)}.tx-market-rate strong{white-space:nowrap}.tx-market-location{color:#485467;max-width:52%;overflow:hidden}.tx-market-location span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-market-location i{color:var(--tx-purple);flex-shrink:0}.tx-category-rail{display:flex;gap:13px;overflow-x:auto;scrollbar-width:none;margin:0 -13px 19px;padding:4px 13px 8px}.tx-category-rail::-webkit-scrollbar{display:none}.tx-category-chip{border:0;background:transparent;display:grid;justify-items:center;gap:7px;min-width:72px;max-width:88px;color:#5f6877;padding:0}.tx-category-chip-icon{--chip:#2196F3;width:62px;height:62px;border-radius:50%;background:#fff;box-shadow:0 4px 18px #10121812;display:grid;place-items:center;overflow:hidden;border:2px solid transparent;color:var(--chip);font-size:25px;transition:.2s}.tx-category-chip-icon img{width:100%;height:100%;object-fit:cover}.tx-category-chip b{font-size:.74rem;line-height:1.1;text-align:center;white-space:normal}.tx-category-chip.active .tx-category-chip-icon{border-color:var(--tx-purple);box-shadow:0 5px 20px #7f00b228}.tx-category-chip.active b{color:var(--tx-purple)}.tx-market-category{margin:0 0 28px;scroll-margin-top:105px}.tx-market-section-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:0 2px 11px}.tx-market-section-head small{text-transform:uppercase;letter-spacing:.08em;color:#8b95a5;font-size:.64rem;font-weight:800}.tx-market-section-head h2{margin:1px 0 0;color:#222b39;font-size:1.35rem;font-weight:900;text-transform:none}.tx-see-all{border:0;background:transparent;color:var(--tx-purple);font-size:.8rem;font-weight:800;white-space:nowrap}.tx-market-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tx-market-product{min-width:0;min-height:0;border:0;border-radius:19px;box-shadow:0 5px 22px #1012180d;background:#fff;overflow:hidden;cursor:pointer;display:block}.tx-market-product .tx-product-image{height:auto;aspect-ratio:1.2/1;background:#fafafa;position:relative}.tx-market-product .tx-product-image img{width:100%;height:100%;object-fit:cover}.tx-quick-add{position:absolute;right:9px;bottom:9px;width:38px;height:38px;border-radius:50%;border:3px solid #fff;background:var(--tx-purple);color:#fff;display:grid;place-items:center;box-shadow:0 5px 15px #7f00b244;font-size:14px}.tx-market-product-copy{padding:11px 12px 13px}.tx-product-commerce{display:block;color:#8993a2;font-size:.68rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-market-product h3{font-size:.96rem;font-weight:900;color:#1d2531;margin:3px 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-market-product p{font-size:.73rem;color:#6f7886;line-height:1.3;height:1.9em;margin:0 0 9px;overflow:hidden}.tx-market-price{display:grid;gap:0}.tx-market-price strong{font-size:1rem;color:var(--tx-purple);font-weight:900}.tx-market-price small{font-size:.65rem;color:#7b8492}.tx-product-detail-mcd{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.95fr);background:#fff}.tx-product-detail-visual{min-height:420px;display:grid;place-items:center;background:#f6f7f8;padding:24px}.tx-product-detail-mcd .tx-product-detail-image{width:100%;height:100%;max-height:520px;object-fit:contain;background:transparent}.tx-product-detail-copy{padding:26px}.tx-commerce-mini{width:100%;border:0;background:#f7f8fa;border-radius:14px;padding:9px 11px;display:flex;align-items:center;gap:10px;text-align:left;margin-bottom:18px}.tx-commerce-mini img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#fff}.tx-commerce-mini span{display:grid;min-width:0;flex:1}.tx-commerce-mini b{font-size:.85rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-commerce-mini small{font-size:.68rem;color:#7a8492}.tx-commerce-mini>i{color:var(--tx-purple)}.tx-product-detail-copy h2{color:#1d2531;font-size:1.65rem}.tx-product-detail-price{display:grid;margin:18px 0}.tx-product-detail-price strong{font-size:1.8rem;color:var(--tx-purple)}.tx-product-detail-price small{font-size:.78rem;color:#697385}.tx-product-add-row{display:flex;gap:10px;align-items:center}.tx-qty{display:flex;align-items:center;border:1px solid #e1e5eb;border-radius:13px;background:#fff;overflow:hidden;height:45px}.tx-qty button{width:38px;height:100%;border:0;background:#f4f6f8;color:var(--tx-purple);font-size:20px;font-weight:900}.tx-qty input,.tx-qty span{width:42px;border:0;text-align:center;font-weight:900;background:#fff}.tx-shopping-view{padding-bottom:92px}.tx-cart-layout,.tx-checkout-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(285px,.65fr);gap:18px;align-items:start}.tx-cart-list{display:grid;gap:11px}.tx-cart-item{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;background:#fff;border-radius:18px;padding:10px;box-shadow:0 4px 18px #1012180c}.tx-cart-item>img{width:112px;height:112px;border-radius:14px;object-fit:cover;background:#f4f5f7}.tx-cart-item-copy{min-width:0;display:flex;flex-direction:column}.tx-cart-item-copy>small{font-size:.68rem;color:#818b99}.tx-cart-item-copy h3{font-size:1rem;margin:3px 0 4px;font-weight:900}.tx-cart-controls{display:flex;align-items:center;justify-content:space-between;margin-top:auto}.tx-cart-remove{width:40px;height:40px;border:0;border-radius:50%;background:#fff0f0;color:#d92d20}.tx-cart-summary{position:sticky;top:110px;background:#fff;border-radius:20px;padding:19px;box-shadow:0 6px 24px #1012180e}.tx-cart-summary h2{font-size:1.15rem;font-weight:900;margin:0 0 15px}.tx-summary-line{display:flex;justify-content:space-between;align-items:center;margin:9px 0}.tx-summary-line.secondary{color:#667085;font-size:.85rem}.tx-summary-line.total{font-size:1.15rem;color:var(--tx-purple)}.tx-summary-rate{font-size:.7rem;color:#8a94a3;padding-top:9px;border-top:1px dashed #dfe3e9}.tx-cart-sticky{display:flex;justify-content:center;margin:16px 0}.tx-checkout-button{min-height:52px;border-radius:16px!important;display:flex;justify-content:center;align-items:center;gap:14px;font-weight:900;padding:0 24px;min-width:min(100%,420px)}.tx-checkout-main{display:grid;gap:13px}.tx-checkout-card{background:#fff;border-radius:20px;padding:17px;box-shadow:0 4px 20px #1012180c}.tx-checkout-card-head>div{display:flex;align-items:center;gap:10px;margin-bottom:14px}.tx-checkout-card-head span{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--tx-purple);color:#fff;font-weight:900}.tx-checkout-card h2{margin:0;font-size:1.05rem;font-weight:900}.tx-order-type{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.tx-order-type input,.tx-address-option input,.tx-payment-option input{position:absolute;opacity:0;pointer-events:none}.tx-order-type label>span,.tx-address-option>span,.tx-payment-option>span{display:flex;align-items:center;gap:10px;border:1.5px solid #e4e7ec;border-radius:14px;padding:12px;cursor:pointer}.tx-order-type label>span{display:grid;grid-template-columns:auto 1fr}.tx-order-type label>span>i{grid-row:1/3;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eff8ff;color:var(--tx-electric)}.tx-order-type b,.tx-order-type small{grid-column:2}.tx-order-type small{font-size:.68rem;color:#7b8593}.tx-order-type input:checked+span,.tx-address-option input:checked+span,.tx-payment-option input:checked+span{border-color:var(--tx-purple);background:#fbf5ff}.tx-address-list,.tx-payment-groups{display:grid;gap:9px}.tx-address-option>span>i,.tx-payment-option>span>i{width:35px;height:35px;border-radius:10px;background:#edf6ff;color:var(--tx-electric);display:grid;place-items:center;flex:0 0 auto}.tx-address-option>span>span,.tx-payment-option>span>span{display:grid;min-width:0}.tx-address-option b,.tx-payment-option b{font-size:.84rem}.tx-address-option small,.tx-payment-option small{font-size:.68rem;color:#7b8492;white-space:normal}.tx-add-address{margin-top:10px;border-radius:13px!important}.tx-payment-group{display:grid;gap:8px}.tx-payment-group h3{font-size:.78rem;color:#667085;margin:8px 0 0}.tx-checkout-empty{padding:13px;border-radius:12px;background:#f7f8fa;color:#737d8b;font-size:.78rem}.tx-checkout-mini-items{display:grid;gap:8px}.tx-checkout-mini-items>div{display:flex;justify-content:space-between;gap:12px;font-size:.76rem}.tx-checkout-mini-items span{color:#626d7c}.tx-rate-snapshot{font-size:.68rem;color:#69507b;background:#f8f1fc;border-radius:11px;padding:9px;margin:10px 0 0}.tx-rate-snapshot i{margin-right:5px}.tx-checkout-summary{top:110px}.tx-page-title .tx-back{font-size:.78rem}.tx-modal #addressForm .form-control,.tx-modal #addressForm .form-select{border-radius:12px;min-height:44px}
@media(max-width:900px){.tx-product-detail-mcd{grid-template-columns:1fr}.tx-product-detail-visual{min-height:270px}.tx-cart-layout,.tx-checkout-layout{grid-template-columns:1fr}.tx-cart-summary{position:static}.tx-checkout-summary{order:-1}.tx-shopping-view{padding-bottom:120px}.tx-cart-sticky{position:sticky;bottom:calc(72px + var(--safe-bottom));z-index:20;background:linear-gradient(180deg,transparent,#f4f5f7 22%);padding:17px 0 3px;margin-bottom:0}}
@media(max-width:520px){.tx-view{padding-left:11px;padding-right:11px}.tx-market-products{gap:9px}.tx-market-product{border-radius:16px}.tx-market-product-copy{padding:9px 10px 11px}.tx-market-product h3{font-size:.9rem}.tx-market-product p{font-size:.68rem}.tx-category-rail{margin-left:-11px;margin-right:-11px;padding-left:11px;padding-right:11px}.tx-cart-item{grid-template-columns:92px minmax(0,1fr)}.tx-cart-item>img{width:92px;height:92px}.tx-cart-item-copy h3{font-size:.9rem}.tx-product-detail-copy{padding:18px}.tx-product-detail-visual{min-height:235px;padding:14px}.tx-order-type{grid-template-columns:1fr}.tx-market-meta{font-size:.72rem}.tx-market-location{max-width:48%}}
@media(min-width:700px){.tx-market-products{grid-template-columns:repeat(3,minmax(0,1fr))}.tx-category-chip{min-width:82px}}
@media(min-width:1100px){.tx-market-products{grid-template-columns:repeat(4,minmax(0,1fr))}.tx-market-catalog{padding-bottom:26px}}
@media(min-width:1380px){.tx-market-products{grid-template-columns:repeat(5,minmax(0,1fr))}}
.tx-order-rate{display:block;color:#7f00b2;margin-top:3px;font-size:.68rem}

/* =====================================================================
   Telexpress 1.0.14 R8-R10-R3
   Marketplace McDonald's-style adaptado a la paleta Telexpress
   ===================================================================== */
.tx-mcd-category{margin:0 0 32px;scroll-margin-top:110px}.tx-mcd-category-head{display:flex;align-items:center;justify-content:space-between;margin:0 4px 13px}.tx-mcd-category-head h2{margin:0;color:var(--tx-purple);font-size:clamp(22px,2.2vw,30px);font-weight:850;text-transform:none;letter-spacing:-.3px}.tx-mcd-product-rail{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(240px,285px)!important;grid-template-columns:none!important;gap:16px!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;padding:4px 4px 14px!important;scrollbar-width:thin;scrollbar-color:#c8ccd3 transparent}.tx-mcd-product-card{scroll-snap-align:start!important;min-height:360px!important;height:360px;border:1px solid #f0f0f0!important;border-radius:18px!important;background:#fff!important;box-shadow:0 5px 18px #10121814!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;transition:transform .15s ease,box-shadow .15s ease}.tx-mcd-product-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px #1012181c!important}.tx-mcd-product-image{height:145px!important;min-height:145px!important;flex:0 0 145px!important;background:#fff!important;padding:8px 12px 0}.tx-mcd-product-image img{width:100%;height:100%;object-fit:contain}.tx-mcd-product-info{padding:.95rem 1rem 1rem!important;display:flex!important;flex:1!important;min-height:0;flex-direction:column!important;align-items:center!important;text-align:center!important}.tx-mcd-product-info h3{font-size:.98rem!important;line-height:1.25!important;font-weight:800!important;color:#202124!important;margin:0 0 .45rem!important;min-height:2.5em!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tx-mcd-product-info p{font-size:.78rem!important;line-height:1.42!important;color:#6b7280!important;margin:0 0 .6rem!important;min-height:3.6em!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tx-mcd-product-price{margin-top:auto!important;min-height:58px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;color:var(--tx-purple)!important}.tx-mcd-product-price strong{font-size:1.18rem!important;font-weight:900!important;color:var(--tx-purple)!important}.tx-mcd-product-price small{display:block;font-size:.69rem!important;color:#667085!important;margin-top:1px}.tx-mcd-order-button{width:100%;min-height:46px;border:0;border-radius:999px;background:linear-gradient(90deg,var(--tx-purple),var(--tx-purple-light));color:#fff;font-size:.93rem;font-weight:850;padding:10px 18px;box-shadow:0 6px 15px #7f00b229;transition:transform .12s ease}.tx-mcd-order-button:active{transform:scale(.985)}

#productModal .modal-dialog{max-width:720px}.tx-mcd-product-modal{background:#fff}.tx-mcd-modal-image-wrap{height:220px;padding:14px 26px 0;display:grid;place-items:center;background:#fff}.tx-mcd-modal-image{width:100%;height:100%;object-fit:contain}.tx-mcd-modal-body{padding:18px 24px 24px}.tx-mcd-modal-body>h2{font-size:1.65rem;font-weight:900;color:#202124;text-align:center;margin:0 0 8px}.tx-mcd-modal-description{text-align:center;color:#667085;line-height:1.5;margin:0 auto 10px;max-width:590px}.tx-mcd-modal-price{display:flex;flex-direction:column;align-items:center;justify-content:center;margin:8px 0 18px}.tx-mcd-modal-price strong{font-size:1.6rem;color:var(--tx-purple);font-weight:900}.tx-mcd-modal-price small{color:#667085}.tx-product-section-title{text-align:center;font-size:.78rem;font-weight:950;letter-spacing:1.25px;color:var(--tx-purple);margin:5px 0 14px}.tx-product-options{border-top:1px solid #eceff3;padding-top:18px}.tx-option-group{padding:0 0 17px;margin:0 0 17px;border-bottom:1px solid #eceff3}.tx-option-group-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px}.tx-option-group-head h3{font-size:1rem;font-weight:850;margin:0;color:#202124}.tx-option-group-head p{font-size:.76rem;color:#667085;margin:3px 0 0}.tx-option-group-head>small{height:max-content;background:#eef4ff;color:var(--tx-blue-dark);border-radius:999px;padding:4px 9px;font-size:.65rem;font-weight:800}.tx-option-items{display:grid;gap:5px}.tx-option-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 8px;border-radius:10px;cursor:pointer}.tx-option-row:hover{background:#f8f9fb}.tx-option-row>span:first-child{display:grid;min-width:0}.tx-option-row b{font-size:.9rem;color:#344054}.tx-option-row small{font-size:.72rem;color:#667085}.tx-option-row-end{display:flex;align-items:center;gap:10px;white-space:nowrap}.tx-option-row-end em{font-size:.76rem;font-style:normal;font-weight:750;color:var(--tx-purple)}.tx-product-option{position:absolute;opacity:0;pointer-events:none}.tx-option-control{width:42px;height:24px;border-radius:999px;background:#cfd4dc;display:inline-block;position:relative;transition:.18s;flex:0 0 42px}.tx-option-control:after{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 1px 4px #0004;transition:.18s}.tx-product-option:checked+.tx-option-control{background:var(--tx-purple)}.tx-product-option:checked+.tx-option-control:after{transform:translateX(18px)}.tx-option-group[data-option-type="single"] .tx-option-control{width:22px;height:22px;border-radius:50%;background:#fff;border:2px solid #aab0b9;flex-basis:22px}.tx-option-group[data-option-type="single"] .tx-option-control:after{width:12px;height:12px;top:3px;left:3px;background:transparent;box-shadow:none}.tx-option-group[data-option-type="single"] .tx-product-option:checked+.tx-option-control{border-color:var(--tx-purple);background:#fff}.tx-option-group[data-option-type="single"] .tx-product-option:checked+.tx-option-control:after{background:var(--tx-purple);transform:none}.tx-commerce-about{border:1px solid #e9e6f0;border-radius:18px;padding:18px;text-align:center;background:linear-gradient(180deg,#fff,#fbf8ff);margin:0 0 18px}.tx-commerce-about-logo{width:76px;height:76px;object-fit:cover;border-radius:50%;background:#fff;border:3px solid #fff;box-shadow:0 4px 16px #10121820}.tx-commerce-about h3{margin:9px 0 3px;font-size:1.08rem;font-weight:900;color:#202124}.tx-commerce-about-rating{display:flex;align-items:center;justify-content:center;gap:6px}.tx-commerce-about p{margin:3px 0 12px!important;color:#667085;font-size:.8rem}.tx-stars{display:inline-flex;gap:2px;color:#f5a500}.tx-stars+b{font-size:.77rem;color:#344054}.tx-commerce-go{border-radius:999px!important;background:#fff!important;border:1.5px solid var(--tx-purple)!important;color:var(--tx-purple)!important;font-weight:850!important;padding:9px 18px!important}.tx-mcd-add-row{position:sticky;bottom:-1px;background:#fff;padding-top:12px;z-index:2}.tx-mcd-add-row #addCartButton{border-radius:999px!important;min-height:50px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 18px!important}.tx-mcd-add-row #addCartButton strong{font-size:.94rem}.tx-qty{border:1px solid #dadde3;border-radius:999px!important;overflow:hidden;background:#fff}.tx-qty button{border:0;background:#fff;color:var(--tx-purple);font-size:1.2rem;font-weight:900;min-width:38px}.tx-qty input,.tx-qty span{border:0;background:#fff;text-align:center;font-weight:850;min-width:32px;display:inline-grid;place-items:center}.tx-qty input{width:42px;outline:0}

.tx-added-modal{padding:28px;text-align:center}.tx-added-check{width:66px;height:66px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--tx-purple),var(--tx-purple-light));color:#fff;font-size:30px;margin:5px auto 10px;box-shadow:0 9px 24px #7f00b233}.tx-added-image{width:145px;height:105px;object-fit:contain;margin:0 auto}.tx-added-modal h2{font-weight:900;color:var(--tx-purple);margin:5px 0}.tx-added-modal p{color:#667085}.tx-added-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.tx-added-actions .btn{border-radius:999px;min-height:46px;font-weight:800}

.tx-mcd-cart-item{display:grid!important;grid-template-columns:minmax(190px,250px) 1fr;gap:18px;background:#fff;border:1px solid #eceff3;border-radius:18px;padding:16px;box-shadow:0 5px 18px #1012180d}.tx-cart-product-side{display:grid;gap:10px}.tx-cart-product-img{width:100%!important;height:150px!important;object-fit:contain!important;border-radius:14px;background:#fff}.tx-cart-commerce-card{display:grid;grid-template-columns:42px 1fr;gap:8px;align-items:center;background:#f8f9fb;border-radius:13px;padding:8px}.tx-cart-commerce-card>img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#fff}.tx-cart-commerce-card>div{min-width:0;display:grid}.tx-cart-commerce-card b{font-size:.77rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-cart-commerce-card span{display:flex;align-items:center;gap:4px;transform:scale(.85);transform-origin:left center;height:15px}.tx-cart-commerce-card small{font-size:.66rem;color:#667085}.tx-cart-commerce-card>button{grid-column:1/-1;border:0;border-radius:999px;background:#fff;color:var(--tx-purple);font-size:.7rem;font-weight:850;padding:7px;border:1px solid #e7d9ed}.tx-cart-item-copy{display:flex;flex-direction:column;min-width:0}.tx-cart-item-copy h3{font-size:1.08rem;font-weight:900;margin:2px 0 7px}.tx-item-option{display:grid;margin:2px 0;color:#667085}.tx-item-option b{font-size:.72rem;color:#344054}.tx-item-option span{font-size:.71rem}.tx-cart-item-copy .tx-market-price{margin:10px 0 0;display:flex;flex-direction:column}.tx-cart-controls{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px}.tx-cart-remove{width:42px;height:42px;border-radius:50%;border:0;background:#fff0f0;color:#b42318}

.tx-fulfillment-groups{display:grid;gap:12px;margin-top:12px}.tx-fulfillment-commerce{border:1px solid #e5e7eb;border-radius:16px;padding:13px;background:#fff}.tx-fulfillment-commerce-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}.tx-fulfillment-commerce-head>img{width:45px;height:45px;border-radius:50%;object-fit:cover}.tx-fulfillment-commerce-head>div{display:grid;min-width:0}.tx-fulfillment-commerce-head b{font-size:.9rem}.tx-fulfillment-commerce-head small{font-size:.7rem;color:#667085}.tx-delivery-quote{display:flex;align-items:center;gap:10px;border:1px dashed #cfd4dc;border-radius:12px;padding:11px;color:#667085}.tx-delivery-quote>i{font-size:21px;color:#98a2b3}.tx-delivery-quote>div{display:grid}.tx-delivery-quote b{font-size:.82rem}.tx-delivery-quote small{font-size:.7rem}.tx-delivery-quote.ready{border-style:solid;border-color:#c5ecd5;background:#effaf4;color:#17663a}.tx-delivery-quote.ready>i{color:#16a36a}.tx-location-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.tx-location-actions .btn{border-radius:12px;font-size:.78rem;font-weight:800}.tx-checkout-location-status{margin-top:9px;padding:9px 11px;border-radius:10px;background:#f7f7f8;color:#667085;font-size:.75rem}.tx-checkout-location-status .fa-circle-check{color:#16a36a}.tx-payment-group{border-bottom:1px solid #eceff3;padding-bottom:14px;margin-bottom:14px}.tx-payment-group h3{font-size:.95rem;font-weight:900;color:#344054;margin:0 0 8px}.tx-payment-option>span{border-radius:14px!important}.tx-summary-line.total{font-size:1.08rem;border-top:1px solid #e8eaee;padding-top:12px;margin-top:6px}.tx-rate-snapshot{font-size:.7rem;color:#667085;background:#f7f7f8;border-radius:10px;padding:9px;margin:10px 0 0}

.tx-order-status-bar{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(100px,1fr);gap:8px;overflow-x:auto;margin:0 0 14px;padding:2px 1px 8px}.tx-order-status-bar button{border:1px solid #e3e6eb;background:#fff;border-radius:14px;padding:10px 12px;display:grid;text-align:center;white-space:nowrap;color:#667085}.tx-order-status-bar button b{font-size:1.15rem;color:var(--tx-purple)}.tx-order-status-bar button span{font-size:.68rem;font-weight:750}.tx-order-status-bar button.active{border-color:var(--tx-purple);background:#faf5ff;box-shadow:0 4px 12px #7f00b217}.tx-orders-mcd{gap:12px}.tx-order-card-mcd{border:1px solid #eceff3;background:#fff;border-radius:18px;padding:14px;text-align:left;box-shadow:0 5px 18px #1012180c}.tx-order-card-top{display:grid;grid-template-columns:52px 1fr 20px;gap:11px;align-items:center}.tx-order-card-top>img{width:52px;height:52px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid #eee}.tx-order-card-top>div{display:grid;gap:2px}.tx-order-card-top small{font-size:.7rem;color:#667085}.tx-order-card-top h3{font-size:.93rem;font-weight:900;margin:0;color:#202124}.tx-order-card-top>i{color:#98a2b3}.tx-order-card-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f3;margin-top:11px;padding-top:10px}.tx-order-card-bottom span{font-size:.7rem;color:#667085}.tx-order-card-bottom strong{font-size:.88rem;color:var(--tx-purple)}.tx-order-status{display:inline-flex;align-items:center;gap:5px;width:max-content;border-radius:999px;padding:4px 8px;font-size:.66rem;font-weight:850;background:#eef2f6;color:#475467}.tx-order-status.status-pending{background:#fff5d9;color:#8a5a00}.tx-order-status.status-processing{background:#e9f3ff;color:#095ba7}.tx-order-status.status-delivering{background:#efe8ff;color:#6b21a8}.tx-order-status.status-completed{background:#e7f8ef;color:#087a42}.tx-order-status.status-undelivered{background:#fff0e8;color:#b54708}.tx-order-status.status-cancelled{background:#ffeded;color:#b42318}

.tx-order-detail-modal{padding:22px}.tx-order-detail{display:grid;gap:14px}.tx-order-detail-commerce{display:flex;align-items:center;gap:12px;padding-right:34px}.tx-order-detail-commerce>img{width:58px;height:58px;border-radius:50%;object-fit:cover}.tx-order-detail-commerce>div{display:grid}.tx-order-detail-commerce small{color:#667085;font-size:.68rem}.tx-order-detail-commerce h2{font-size:1.1rem;font-weight:900;margin:0}.tx-order-detail-commerce>div>div{display:flex;align-items:center;gap:5px}.tx-order-hero{display:flex;align-items:center;justify-content:space-between;border-radius:16px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-purple));color:#fff;padding:16px}.tx-order-hero small{font-size:.7rem;opacity:.8}.tx-order-hero h3{font-size:1.2rem;margin:1px 0 0;font-weight:900}.tx-order-hero .tx-order-status{background:#fff;color:var(--tx-purple)}.tx-order-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.tx-order-info-grid>div{background:#f7f8fa;border-radius:12px;padding:10px;display:grid}.tx-order-info-grid small{font-size:.65rem;color:#667085}.tx-order-info-grid b{font-size:.78rem}.tx-order-block{border:1px solid #e8eaee;border-radius:16px;padding:14px}.tx-order-block>h3{font-size:.9rem;font-weight:900;margin:0 0 10px;color:#344054}.tx-order-block>p{margin:0;font-size:.8rem}.tx-order-block>small{color:#667085}.tx-order-lines{display:grid;gap:10px}.tx-order-lines article{display:grid;grid-template-columns:60px 1fr auto;gap:9px;align-items:start;border-bottom:1px solid #eef0f3;padding-bottom:9px}.tx-order-lines article:last-child{border-bottom:0;padding-bottom:0}.tx-order-lines img{width:60px;height:58px;object-fit:contain}.tx-order-lines h4{font-size:.8rem;font-weight:850;margin:2px 0 4px}.tx-order-lines>article>strong{font-size:.77rem;color:var(--tx-purple);padding-top:3px}.tx-order-payment{background:#f9fafb;border-radius:13px;padding:12px;margin-bottom:9px}.tx-order-payment>div:first-child{display:flex;justify-content:space-between;gap:10px}.tx-order-payment>div:first-child>small{color:#667085}.tx-order-payment>p{font-size:.72rem;margin:8px 0;color:#475467}.tx-order-payment-config{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:8px}.tx-order-payment-config>div{display:grid;background:#fff;border-radius:9px;padding:7px}.tx-order-payment-config span{font-size:.6rem;text-transform:capitalize;color:#667085}.tx-order-payment-config b{font-size:.7rem;word-break:break-word}.tx-voucher-gallery{display:flex;gap:7px;overflow:auto;margin:10px 0}.tx-voucher-gallery img{width:88px;height:88px;object-fit:cover;border-radius:10px;border:1px solid #ddd}.tx-voucher-upload{margin-top:9px;border-radius:999px!important;font-size:.75rem!important}.tx-order-timeline{display:grid;gap:8px}.tx-order-timeline>div{display:flex;gap:9px}.tx-order-timeline i{width:10px;height:10px;margin-top:4px;border-radius:50%;background:var(--tx-purple);box-shadow:0 0 0 4px #7f00b214}.tx-order-timeline span{display:grid}.tx-order-timeline b{font-size:.75rem}.tx-order-timeline small{font-size:.63rem;color:#667085}.tx-order-chat{border-radius:999px!important;min-height:48px;font-weight:850!important}

@media(max-width:768px){.tx-mcd-product-rail{grid-auto-columns:minmax(230px,78vw)!important}.tx-mcd-product-card{height:355px!important;min-height:355px!important}.tx-mcd-modal-body{padding:16px 15px 20px}.tx-mcd-modal-image-wrap{height:205px}.tx-mcd-modal-body>h2{font-size:1.35rem}.tx-mcd-add-row{gap:8px}.tx-mcd-add-row .tx-qty{flex:0 0 120px}.tx-mcd-cart-item{grid-template-columns:1fr;gap:10px}.tx-cart-product-img{height:135px!important}.tx-cart-commerce-card{grid-template-columns:40px 1fr}.tx-location-actions{grid-template-columns:1fr}.tx-order-info-grid{grid-template-columns:1fr 1fr}.tx-order-detail-modal{padding:17px 12px}.tx-order-payment-config{grid-template-columns:1fr}.tx-added-actions{grid-template-columns:1fr}}
@media(max-width:420px){.tx-mcd-product-rail{grid-auto-columns:minmax(220px,82vw)!important}.tx-order-status-bar{grid-auto-columns:92px}.tx-order-lines article{grid-template-columns:52px 1fr}.tx-order-lines img{width:52px;height:52px}.tx-order-lines>article>strong{grid-column:2;text-align:right}.tx-order-detail-commerce>img{width:50px;height:50px}.tx-order-hero{align-items:flex-start;gap:8px;flex-direction:column}}

/* =====================================================================
   Telexpress 1.0.14 R8-R10-R4
   Corrección Marketplace: estructura McDonald's + identidad Telexpress
   ===================================================================== */
/* Se restablece expresamente la búsqueda y el espacio de banners originales. */
.tx-search{display:flex!important;align-items:center!important;background:var(--tx-electric)!important;border-radius:18px!important;padding:20px 28px 20px 16px!important;margin:0 0 10px!important}
.tx-search input{height:50px!important;flex:1!important;border:0!important;border-radius:9px!important;background:#fff!important;padding:0 13px!important;font-size:18px!important;outline:none!important;min-width:0!important;box-shadow:none!important}
.tx-search button{width:62px!important;height:auto!important;border:0!important;color:#fff!important;background:transparent!important;font-size:34px!important;margin-left:0!important;border-radius:0!important;box-shadow:none!important}
.tx-market-banner{height:88px!important;min-height:88px!important;border-radius:16px!important;background:#c4c4c4!important;margin:0 0 22px!important;display:block!important;overflow:hidden!important}
.tx-market-banner .tx-banner-track{height:88px!important;border-radius:16px!important;box-shadow:none!important}
.tx-market-banner .tx-banner-slide{height:88px!important;background:#c4c4c4!important}
.tx-market-banner .tx-banner-placeholder{height:88px!important;border-radius:16px!important;background:#c4c4c4!important;color:#fff!important;font-size:21px!important;font-weight:500!important}
.tx-market-banner .tx-banner-dots{position:absolute;left:0;right:0;margin-top:-16px;padding:0;z-index:2}.tx-market-banner .tx-banner-dots button{background:#ffffff9c}.tx-market-banner .tx-banner-dots button.active{background:#fff}
.tx-category-rail{display:none!important}

/* Título de categoría: no es botón ni filtro. */
.tx-mcd-category{margin:0 0 30px!important}.tx-mcd-category-head{margin:0 0 .9rem!important;text-align:center!important;display:block!important}.tx-mcd-category-title{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#fff 0%,#fbf7ff 100%);border:1px solid #7f00b224;border-radius:999px;padding:10px 22px;box-shadow:0 6px 18px #0000000d}.tx-mcd-category-title>span{width:12px;height:12px;border-radius:50%;background:linear-gradient(180deg,var(--tx-electric),var(--tx-purple));flex:0 0 12px}.tx-mcd-category-title h2{font-weight:800!important;color:var(--tx-purple)!important;font-size:1.15rem!important;margin:0!important;line-height:1!important;letter-spacing:.01em!important;text-align:center!important}

/* El grid original de McDonald's se convierte exclusivamente en carrusel horizontal. */
.tx-mcd-product-rail{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:258px!important;gap:.9rem!important;align-items:stretch!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;overscroll-behavior-inline:contain;padding:2px 2px 12px!important;scrollbar-width:thin!important}
.tx-mcd-product-card{scroll-snap-align:start!important;background:#fff!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 8px 20px rgba(0,0,0,.08)!important;transition:all .25s ease!important;display:flex!important;flex-direction:column!important;height:360px!important;min-height:360px!important;border:1px solid #f0f0f0!important;min-width:0!important}
.tx-mcd-product-card:hover{transform:translateY(-4px)!important;box-shadow:0 14px 28px #7f00b224!important;border-color:#7f00b240!important}
.tx-mcd-product-image{height:145px!important;min-height:145px!important;flex:0 0 145px!important;overflow:hidden!important;position:relative!important;background:#f8f8f8!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.tx-mcd-product-image img{width:100%!important;height:100%!important;object-fit:contain!important;transition:transform .4s!important;display:block!important;background:#f8f8f8!important}.tx-mcd-product-card:hover .tx-mcd-product-image img{transform:scale(1.03)}
.tx-mcd-product-info{padding:.95rem!important;flex-grow:1!important;display:flex!important;flex-direction:column!important;text-align:center!important;align-items:stretch!important}
.tx-mcd-product-info h3{font-weight:800!important;font-size:.98rem!important;margin:0 0 .35rem!important;color:#27251f!important;text-align:center!important;line-height:1.2!important;min-height:2.5em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;white-space:normal!important}
.tx-mcd-product-info p{color:#666!important;font-size:.78rem!important;margin:0 0 .8rem!important;flex-grow:1!important;line-height:1.35!important;text-align:center!important;min-height:3.6em!important;height:auto!important;display:-webkit-box!important;-webkit-line-clamp:3!important;line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
.tx-mcd-product-price{margin:0 0 .85rem!important;text-align:center!important;min-height:58px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important}.tx-mcd-product-price strong{font-size:1.2rem!important;font-weight:800!important;color:var(--tx-purple)!important;line-height:1.15!important}.tx-mcd-product-price small{font-size:.78rem!important;color:#666!important;text-align:center!important}
.tx-mcd-order-button{background:var(--tx-purple)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:.72rem .9rem!important;font-weight:800!important;width:100%!important;transition:all .25s!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:.45rem!important;font-size:.9rem!important;min-height:46px!important;margin-top:auto!important;box-shadow:none!important}.tx-mcd-order-button:hover{background:var(--tx-purple-light)!important;color:#fff!important;transform:scale(1.02)!important}

/* Modal del producto siguiendo el orden visual del modal McDonald's. */
#productModal .modal-content{background:#fff!important}#productModal .modal-dialog{max-width:720px!important}.tx-mcd-modal-image-wrap{height:220px!important;background:#f8f8f8!important;padding:12px!important}.tx-mcd-modal-image{background:#f8f8f8!important}.tx-mcd-modal-body{padding:18px 24px 24px!important}.tx-mcd-modal-body>h2{color:#27251f!important;font-size:1.55rem!important}.tx-mcd-modal-description{color:#666!important}.tx-mcd-modal-price{margin-bottom:18px!important}.tx-mcd-modal-price strong{font-size:1.35rem!important}.tx-product-section-title{color:var(--tx-purple)!important}.tx-commerce-about{background:#faf7fc!important;border-color:#7f00b224!important}.tx-mcd-add-row{background:#fff!important}

/* Carrito: tarjeta compacta del cart_modal.php de McDonald's, con ficha Telexpress del comercio debajo. */
.tx-cart-layout{grid-template-columns:minmax(0,1fr) minmax(285px,.52fr)!important}.tx-cart-list{gap:12px!important}.tx-mcd-cart-item{display:block!important;background:#fff!important;border:1px solid #e7e7e7!important;border-radius:16px!important;padding:14px!important;box-shadow:0 4px 14px #0000000d!important}.tx-mcd-cart-main{display:grid;grid-template-columns:74px minmax(0,1fr) minmax(92px,140px);align-items:flex-start;gap:12px}.tx-cart-product-img{width:74px!important;height:74px!important;object-fit:contain!important;border-radius:10px!important;background:#f8f8f8!important;display:block!important}.tx-cart-item-copy{min-width:0!important;display:block!important}.tx-cart-item-copy h3{font-size:1rem!important;line-height:1.2!important;margin:0 0 8px!important;color:#27251f!important;word-break:break-word!important}.tx-item-option{margin-top:4px!important;font-size:.82rem!important;color:#6b7280!important;line-height:1.35!important}.tx-item-option b{color:#27251f!important}.tx-cart-controls{margin-top:10px!important;padding-top:8px!important;border-top:1px solid #ececec!important;display:flex!important;align-items:center!important;justify-content:space-between!important}.tx-mcd-cart-price{text-align:right;min-width:0;max-width:140px}.tx-mcd-cart-price strong{display:block;font-weight:800;font-size:1rem;line-height:1.1;color:var(--tx-purple);white-space:nowrap}.tx-mcd-cart-price small{display:block;margin-top:3px;font-size:.78rem;color:#6b7280;line-height:1.2;word-break:break-word}.tx-cart-commerce-card{margin:12px 0 0 86px!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;background:#f8f9fa!important;border:1px solid #ececec!important;border-radius:12px!important;padding:9px 10px!important}.tx-cart-commerce-card>button{grid-column:auto!important;border:1px solid #7f00b233!important;white-space:nowrap!important;padding:7px 11px!important}.tx-cart-commerce-card span{transform:none!important;height:auto!important}.tx-cart-commerce-card .tx-stars{font-size:.67rem}.tx-cart-commerce-card .tx-stars+b{font-size:.67rem}
.tx-cart-sticky{position:sticky!important;bottom:calc(66px + var(--safe-bottom))!important;z-index:30!important;background:linear-gradient(to top,#fff 72%,#fffffff0 100%)!important;padding:10px 0 4px!important;margin-top:4px!important}.tx-checkout-button{border-radius:999px!important;min-height:50px!important}

/* Checkout: selección en cuadrícula como McDonald's. */
.tx-order-type{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.tx-order-type label>span{border:1px solid #e7e7e7!important;border-radius:12px!important;padding:14px 10px!important;background:#f3f4f6!important;text-align:center!important;cursor:pointer!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:5px!important;min-height:100px!important}.tx-order-type label>span>i{background:transparent!important;color:#666!important;width:auto!important;height:auto!important;font-size:24px!important}.tx-order-type label>span>b,.tx-order-type label>span>small{grid-column:auto!important}.tx-order-type input:checked+span{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}.tx-order-type input:checked+span i,.tx-order-type input:checked+span small{color:#fff!important}
.tx-payment-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.tx-payment-cell{position:relative}.tx-payment-cell>input{position:absolute;opacity:0;pointer-events:none}.tx-payment-cell>span{border:1px solid #e7e7e7;border-radius:12px;padding:14px 10px;background:#f3f4f6;text-align:center;cursor:pointer;user-select:none;transition:all .15s ease-in-out;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tx-payment-cell i{display:block;font-size:24px;margin-bottom:6px;color:#666}.tx-payment-cell b{font-weight:800;color:#666}.tx-payment-cell small{display:block;font-size:.72rem;color:#666;margin-top:4px}.tx-payment-cell>input:checked+span{background:var(--tx-purple);border-color:var(--tx-purple)}.tx-payment-cell>input:checked+span i,.tx-payment-cell>input:checked+span b,.tx-payment-cell>input:checked+span small{color:#fff!important}.tx-payment-method-detail{display:none;border:1px solid #e7e7e7;border-radius:14px;padding:14px;margin-top:10px;background:#fff}.tx-payment-method-detail.active{display:block}.tx-payment-recipient{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;background:#f8f9fa;border-radius:12px;padding:12px;margin-bottom:12px}.tx-payment-recipient>p{grid-column:1/-1;margin:0 0 4px;font-size:.78rem;color:#667085}.tx-payment-recipient>div{display:grid;background:#fff;border-radius:9px;padding:8px}.tx-payment-recipient span{font-size:.66rem;color:#667085}.tx-payment-recipient b{font-size:.78rem;word-break:break-word}.tx-payment-qr{grid-column:1/-1!important}.tx-payment-qr img{width:150px;height:150px;object-fit:contain;margin:6px auto 0}.tx-customer-payment-fields{margin-top:2px}.tx-saved-payment-picker{display:grid;gap:5px;margin-bottom:12px}.tx-saved-payment-picker label{font-size:.75rem;font-weight:800;color:#344054}.tx-save-payment{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-size:.78rem;color:#475467}.tx-save-payment input{margin-top:3px}.tx-pci-note{display:flex;align-items:flex-start;gap:8px;margin-top:10px;border-radius:10px;background:#eef7ff;padding:9px;color:#344054;font-size:.72rem}.tx-pci-note i{color:var(--tx-electric);margin-top:2px}.tx-telecard-balance{display:flex;align-items:center;gap:9px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-purple));color:#fff;border-radius:12px;padding:12px;margin-bottom:12px}.tx-telecard-balance span{flex:1;font-size:.78rem}.tx-telecard-balance strong{font-size:1rem}

/* Cartera USD del cliente. */
.tx-wallet-view{padding-bottom:96px}.tx-wallet-balance{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(130px,1fr));gap:12px;margin-bottom:16px}.tx-wallet-hero{min-height:150px;border-radius:22px;padding:22px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric),var(--tx-purple));color:#fff;display:flex;justify-content:space-between;align-items:center;box-shadow:0 10px 30px #10121820}.tx-wallet-hero>div{display:grid}.tx-wallet-hero small{font-size:.78rem;opacity:.82}.tx-wallet-hero strong{font-size:2rem;line-height:1.1;margin:3px 0}.tx-wallet-hero span{font-size:.72rem;opacity:.8}.tx-wallet-hero>i{font-size:3rem;opacity:.8}.tx-wallet-stat{background:#fff;border-radius:18px;padding:18px;box-shadow:0 5px 18px #1012180d;display:flex;flex-direction:column;justify-content:center}.tx-wallet-stat small{color:#667085}.tx-wallet-stat b{font-size:1.25rem;color:var(--tx-purple)}.tx-wallet-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.tx-wallet-panel{background:#fff;border:1px solid #eceff3;border-radius:18px;padding:15px;box-shadow:0 4px 18px #1012180a}.tx-wallet-panel-head{margin-bottom:11px}.tx-wallet-panel-head h2{margin:0;font-size:1rem;font-weight:900;color:#27251f}.tx-wallet-panel-head small{color:#667085;font-size:.7rem}.tx-wallet-list{display:grid;gap:8px}.tx-wallet-row{display:flex;align-items:center;gap:9px;border:1px solid #eef0f3;border-radius:12px;padding:10px}.tx-wallet-row>i{width:38px;height:38px;flex:0 0 38px;border-radius:50%;display:grid;place-items:center;background:#eef7ff;color:var(--tx-purple)}.tx-wallet-row>div{min-width:0;flex:1;display:grid}.tx-wallet-row b{font-size:.78rem}.tx-wallet-row small{font-size:.66rem;color:#667085;white-space:normal}.tx-wallet-row>strong{font-size:.78rem;text-align:right}.tx-wallet-row>strong small{display:block}.tx-wallet-row>strong.credit{color:#087a42}.tx-wallet-row>strong.debit{color:#b42318}.tx-wallet-row>button{border:0;background:#eef7ff;color:var(--tx-purple);width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.tx-wallet-row>button.danger{background:#fff0f0;color:#b42318}.tx-wallet-default{font-size:.62rem;background:#e7f8ef;color:#087a42;border-radius:999px;padding:4px 7px;font-weight:800}.tx-wallet-withdraw-note{display:flex;gap:10px;align-items:flex-start;background:#eef7ff;color:#344054;border-radius:12px;padding:12px;font-size:.78rem}.tx-wallet-withdraw-note i{color:var(--tx-electric);margin-top:2px}.tx-wallet-conversion{display:grid;gap:3px;border-radius:12px;background:#faf5ff;border:1px solid #7f00b224;padding:11px;margin-top:12px}.tx-wallet-conversion span,.tx-wallet-conversion small{font-size:.7rem;color:#667085}.tx-wallet-conversion strong{color:var(--tx-purple)}

@media(max-width:768px){
 .tx-search{padding:20px 14px!important}.tx-search button{width:50px!important}.tx-mcd-product-rail{grid-auto-columns:258px!important}.tx-mcd-product-card{min-height:340px!important;height:340px!important;border-radius:16px!important}.tx-mcd-product-image{height:125px!important;min-height:125px!important;flex-basis:125px!important}.tx-mcd-product-info{padding:.85rem!important}.tx-mcd-product-info h3{font-size:.92rem!important}.tx-mcd-product-info p{font-size:.74rem!important}.tx-mcd-product-price strong{font-size:1.05rem!important}.tx-mcd-product-price small{font-size:.72rem!important}.tx-mcd-order-button{font-size:.84rem!important;padding:.62rem .7rem!important}
 .tx-cart-layout,.tx-checkout-layout{grid-template-columns:1fr!important}.tx-mcd-cart-main{grid-template-columns:66px minmax(0,1fr) minmax(82px,120px)!important;gap:10px!important}.tx-cart-product-img{width:66px!important;height:66px!important}.tx-cart-commerce-card{margin-left:0!important;grid-template-columns:40px minmax(0,1fr)!important}.tx-cart-commerce-card>button{grid-column:1/-1!important}.tx-cart-summary{position:static!important}.tx-checkout-summary{order:-1}.tx-wallet-balance{grid-template-columns:1fr 1fr}.tx-wallet-hero{grid-column:1/-1}.tx-wallet-grid{grid-template-columns:1fr}
}
@media(max-width:420px){.tx-mcd-product-rail{grid-auto-columns:78vw!important}.tx-payment-grid{grid-template-columns:1fr 1fr}.tx-payment-recipient{grid-template-columns:1fr}.tx-mcd-cart-main{grid-template-columns:66px minmax(0,1fr)!important}.tx-mcd-cart-price{grid-column:2;text-align:right;max-width:none}.tx-wallet-balance{grid-template-columns:1fr}.tx-wallet-hero{grid-column:auto}.tx-wallet-stat{min-height:88px}}

/* =====================================================================
   R5 EXACT MCDONALD'S CUSTOMER FLOW — estructura visual original adaptada
   únicamente a la paleta Telexpress. No reinterpretar estas reglas.
   ===================================================================== */
.category-block{margin:0 0 28px}.category-header{display:flex;align-items:center;justify-content:center;margin:0 0 .9rem}.category-title-wrap{display:flex;align-items:center;justify-content:center;gap:10px}.category-title-dot{width:12px;height:12px;border-radius:50%;background:var(--tx-electric);flex:0 0 12px}.category-header h3{font-weight:800;color:var(--tx-purple);font-size:1.15rem;font-family:"Roboto Condensed",Inter,sans-serif;margin:0;line-height:1;letter-spacing:.01em;text-align:center}.tx-horizontal-product-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:258px;gap:.9rem;align-items:stretch;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;padding:2px 2px 12px;scrollbar-width:thin}.product-card{scroll-snap-align:start;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 8px 20px rgba(0,0,0,.08);transition:all .25s ease;display:flex;flex-direction:column;height:360px;min-height:360px;border:1px solid #f0f0f0;cursor:pointer}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(127,0,178,.14);border-color:rgba(127,0,178,.25)}.product-image{height:145px;overflow:hidden;position:relative;background:#f8f8f8;flex:0 0 145px;display:flex;align-items:center;justify-content:center}.product-image img{width:100%;height:100%;object-fit:contain;transition:transform .4s;display:block;background:#f8f8f8}.product-card:hover .product-image img{transform:scale(1.03)}.product-info{padding:.95rem;flex-grow:1;display:flex;flex-direction:column;text-align:center}.product-title{font-weight:800;font-size:.98rem;margin-bottom:.35rem;color:#27251f;text-align:center;line-height:1.2;min-height:2.5em;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-description{color:#666;font-size:.78rem;margin-bottom:.8rem;flex-grow:1;line-height:1.35;text-align:center;min-height:3.6em;display:-webkit-box;-webkit-line-clamp:3;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(--tx-purple);line-height:1.15;text-align:center}.price-bs{font-size:.78rem;color:#666;text-align:center}.price-rate{font-size:.66rem;color:#999;text-align:center}.btn-pidelo{background:var(--tx-purple);color:#fff;border:0;border-radius:999px;padding:.72rem .9rem;font-weight:800;width:100%;transition:all .25s;display:flex;align-items:center;justify-content:center;gap:.45rem;font-size:.9rem;min-height:46px;margin-top:auto}.btn-pidelo:hover:not(:disabled){background:var(--tx-purple-light);color:#fff;transform:scale(1.02)}
.tx-exact-product-modal{border:0!important;border-radius:16px!important;overflow:hidden!important}.tx-mcd-modal-header{background:var(--tx-purple)!important;color:#fff!important;border-bottom:0!important}.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}.quantity-selector .btn-minus,.quantity-selector .btn-plus{background:#fff;border:1px solid var(--tx-purple);color:var(--tx-purple);font-weight:900}.quantity-selector input{border-color:#ddd;font-weight:800}.tx-commerce-about-exact{margin:18px 0 4px;padding:18px;text-align:center;background:#faf7fc;border:1px solid rgba(127,0,178,.15);border-radius:16px}.tx-commerce-about-title{font-size:.78rem;font-weight:900;color:var(--tx-purple);letter-spacing:.08em;margin-bottom:12px}.tx-commerce-about-exact .tx-commerce-about-logo{width:72px;height:72px;border-radius:50%;object-fit:cover;background:#fff;border:3px solid #fff;box-shadow:0 5px 16px #0002}.tx-commerce-about-exact h3{font-size:1rem;font-weight:900;margin:8px 0 4px;color:#27251f}.tx-commerce-about-exact p{font-size:.8rem;color:#666;margin:4px 0 10px}.tx-commerce-go{border:1px solid var(--tx-purple)!important;color:var(--tx-purple)!important;border-radius:999px!important;font-weight:800!important}.tx-mcd-danger{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}.tx-mcd-danger:hover{background:var(--tx-purple-light)!important;color:#fff!important}.btn-modal-add{width:100%;padding:12px;font-size:1.05rem}.btn-modal-add .btn-cart-price{font-size:1.2rem;font-weight:800;line-height:1.1}.btn-modal-add .btn-cart-label{font-weight:800;margin:.1rem 0}.btn-modal-add .btn-cart-bs{font-size:.85rem;font-weight:400;opacity:.95}
.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-bottom: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-bottom{margin-top:10px;padding-top:8px;border-top:1px solid #ececec;display:flex;align-items:center;justify-content:space-between;gap:12px}.cart-item-remove-wrap{flex:0 0 auto}.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(--tx-purple);white-space:nowrap}.cart-item-bs{display:block;margin-top:3px;font-size:.78rem;color:#6b7280;line-height:1.2}.checkout-floating-bar{position:sticky;bottom:calc(66px + var(--safe-bottom));z-index:30;background:linear-gradient(to top,#fff 72%,rgba(255,255,255,.92) 100%);padding-top:10px;padding-bottom:4px;margin-top:4px}.tx-total-accent{color:var(--tx-purple)}.tx-cart-commerce-card{margin:12px 0 0 86px!important}
.tx-mcd-checkout-shell{background:#fff;border-radius:16px;padding:16px;box-shadow:0 8px 24px #0000000d;max-width:920px;margin:0 auto}.delivery-grid,.payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.grid-cell,.payment-cell{border:2px solid #e5e7eb;border-radius:14px;background:#fff;min-height:92px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;cursor:pointer;transition:.2s}.grid-cell i,.payment-cell i{font-size:1.55rem;color:var(--tx-purple);margin-bottom:7px}.grid-cell span,.payment-cell b{font-weight:800}.grid-cell.selected,.payment-cell:has(input:checked){border-color:var(--tx-purple);background:rgba(127,0,178,.055);box-shadow:0 0 0 2px rgba(127,0,178,.08)}.small-sub{font-size:.75rem;color:#777}.payment-summary-box{background:#f8f9fa;border:1px solid #ececec;border-radius:14px;padding:15px}.tx-payment-group{grid-column:1/-1}.tx-payment-group>h3{font-size:1rem;margin:10px 0}.tx-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tx-payment-cell input{position:absolute;opacity:0;pointer-events:none}.nearest-store-card{display:flex;align-items:center;gap:10px;border:1px solid #ececec;background:#fafafa;border-radius:12px;padding:12px;margin-top:8px}.nearest-store-card.ready{border-color:rgba(127,0,178,.3);background:rgba(127,0,178,.04)}.nearest-store-card>i{font-size:1.35rem;color:var(--tx-purple)}.nearest-store-card small{display:block;color:#666}.pickup-commerce-block{margin:10px 0}.pickup-commerce-block>b{display:block;margin-bottom:6px}
#mapSelectionModal{z-index:2600!important}#mapSelectionModal .modal-dialog{max-width:920px}#mapSelectionModal .modal-content,#mapSelectionModal .modal-body,#mapSelectionModal .modal-dialog{pointer-events:auto!important}#mapSelectionModal .modal-header .btn-close{display:none!important}.map-search-wrap{position:relative;z-index:5000;margin-bottom:14px;isolation:isolate}#mapSearchResults{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5003;display:none;max-height:280px;overflow-y:auto;background:#fff;border:1px solid #d9d9d9;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.12)}#mapSearchResults.show{display:block}.map-search-result-item{display:block;width:100%;border:0;background:#fff;text-align:left;padding:12px 14px;cursor:pointer;border-bottom:1px solid #f0f0f0}.map-search-result-item:hover{background:rgba(127,0,178,.05)}.map-search-result-title{display:block;font-weight:700;color:#27251f;line-height:1.2;margin-bottom:3px}.map-search-result-address{display:block;font-size:.84rem;color:#666;line-height:1.25}.map-search-result-source{display:inline-block;margin-top:6px;font-size:.72rem;font-weight:800;color:var(--tx-purple);background:rgba(127,0,178,.08);border-radius:999px;padding:3px 8px}.map-search-result-empty{padding:12px 14px;font-size:.9rem;color:#666}#mapboxModalMap{position:relative!important;z-index:1!important;height:240px!important;width:100%;border-radius:10px;border:1px solid #ccc;overflow:hidden;margin-top:8px}#mapSelectionModal .modal-body{position:relative!important}#mapDetectingOverlay{position:absolute;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(255,255,255,.86);border-radius:12px;backdrop-filter:blur(1px);pointer-events:all}#mapDetectingOverlay.show{display:flex!important}.map-detecting-card{width:calc(100% - 32px);max-width:360px;background:#fff;border:2px solid var(--tx-purple);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.18);padding:22px 18px;text-align:center}.tx-spinner{color:var(--tx-purple)!important}.map-modal-action-btn{min-width:0;min-height:74px;width:auto;max-width:100%;display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-weight:800;line-height:1.1;text-align:center;padding:10px 18px;white-space:nowrap;flex:1 1 0}#mapSelectionModal .modal-footer{display:flex!important;flex-wrap:nowrap!important;align-items:stretch;justify-content:space-between;gap:12px;padding-left:1rem;padding-right:1rem;overflow:hidden}#confirmMapSelection{background:var(--tx-purple)!important;border-color:var(--tx-purple)!important;color:#fff!important}#confirmMapSelection:disabled{background:#d7d7d7!important;border-color:#d7d7d7!important;color:#7a7a7a!important;opacity:1!important}.tx-text-danger{color:var(--tx-purple)!important}
@media(max-width:768px){.tx-horizontal-product-grid{grid-auto-columns:258px}.product-card{height:340px;min-height:340px}.product-image{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}.btn-pidelo{font-size:.84rem;padding:.62rem .7rem}.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}.tx-cart-commerce-card{margin-left:0!important}.tx-mcd-checkout-shell{padding:12px}.delivery-grid,.payment-grid,.tx-payment-grid{grid-template-columns:1fr 1fr}}@media(max-width:420px){.tx-horizontal-product-grid{grid-auto-columns:78vw}.delivery-grid,.payment-grid,.tx-payment-grid{grid-template-columns:1fr 1fr}}

.tx-market-loading{min-height:180px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--tx-purple);font-weight:800;background:#fff;border-radius:16px}.tx-market-loading .spinner-border{width:1.3rem;height:1.3rem}

/* R8 · resultado de sede/tarifa en el selector Delivery */
#mapNearestStoreInfo{margin-top:12px!important}.tx-map-quote-title{display:flex;align-items:center;gap:8px;color:var(--tx-blue-dark);margin-bottom:7px}.tx-map-quote-title i{color:var(--tx-purple)}.tx-map-quote-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e4e7ec;background:#f8fafc;border-radius:12px;padding:10px 12px;margin-top:6px}.tx-map-quote-row span{display:grid}.tx-map-quote-row small{color:#667085}.tx-map-quote-row>strong{color:var(--tx-purple);font-size:1rem}

/* Telexpress R9 · pago posterior a la creación de la orden */
.tx-payment-after-order-note{margin-top:12px;padding:11px 13px;border-radius:13px;background:#f5f7fb;color:#5f6877;display:flex;gap:9px;align-items:flex-start;font-size:.78rem;line-height:1.4}.tx-payment-after-order-note i{color:var(--tx-purple);margin-top:2px}.tx-order-generated-modal .modal-content{border-radius:22px;overflow:hidden;box-shadow:0 24px 80px #10121835}.tx-generated-check{width:76px;height:76px;margin:0 auto;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--tx-electric),var(--tx-purple));color:#fff;font-size:34px;box-shadow:0 12px 30px #7f00b22e}.tx-generated-orders{display:grid;gap:8px}.tx-generated-order-number{background:#f7f8fb;border:1px solid #e7e9ee;border-radius:14px;padding:11px 13px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;text-align:left}.tx-generated-order-number i{color:#28a745}.tx-generated-order-number span{color:#7b8492;font-size:.8rem}.tx-generated-order-number strong{color:var(--tx-purple);font-size:1rem}.tx-payment-process-modal .modal-content{border-radius:22px}.tx-payment-process-header{background:var(--tx-purple);color:#fff;border:0}.tx-postorder-pay-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 0 16px;border-bottom:1px solid #eceef2}.tx-postorder-pay-head small{display:block;color:#7c8592;font-size:.72rem}.tx-postorder-pay-head h3{margin:2px 0 0;font-size:1.15rem;font-weight:900}.tx-postorder-pay-head>strong{font-size:1.35rem;color:var(--tx-purple);white-space:nowrap}.tx-payment-instructions{margin:14px 0;padding:12px 14px;border-radius:14px;background:#eef7ff;display:flex;gap:10px;color:#475467}.tx-payment-instructions i{color:var(--tx-electric);margin-top:2px}.tx-payment-instructions p{margin:0;font-size:.84rem;line-height:1.45}.tx-postorder-recipient,.tx-postorder-customer-fields,.tx-proof-box{margin-top:16px;border:1px solid #e6e8ee;border-radius:16px;padding:14px;background:#fff}.tx-postorder-recipient h4,.tx-postorder-customer-fields h4,.tx-proof-box h4{font-size:.9rem;font-weight:900;margin:0 0 12px;color:#242b36}.tx-postorder-recipient .tx-payment-recipient{margin:0;background:#f8f9fb;border-radius:12px;padding:12px}.tx-proof-box p{font-size:.78rem;color:#737d8b;margin:-4px 0 12px}.tx-proof-picker{border:1.5px dashed var(--tx-purple);border-radius:14px;min-height:88px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;color:var(--tx-purple);font-weight:800;cursor:pointer;background:#fcf8ff}.tx-proof-picker i{font-size:26px}.tx-proof-preview{margin-top:12px}.tx-proof-preview-card{display:grid;grid-template-columns:92px 1fr auto;gap:11px;align-items:center;padding:9px;border-radius:14px;background:#f7f8fa}.tx-proof-preview-card>img{width:92px;height:92px;object-fit:cover;border-radius:11px;background:#fff}.tx-proof-preview-card>div{min-width:0}.tx-proof-preview-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.82rem}.tx-proof-preview-card small{color:#7c8592}.tx-proof-preview-card button{width:36px;height:36px;border:0;border-radius:50%;background:#fff0f0;color:#d92d20}.tx-order-pay-button{margin-top:12px;width:100%;min-height:44px;border-radius:13px!important}.tx-payment-process-modal .tx-save-payment{display:flex;align-items:flex-start;gap:9px;font-size:.8rem;color:#555f6d}.tx-payment-process-modal .tx-save-payment input{margin-top:3px}
@media(max-width:575.98px){.tx-payment-process-modal .modal-dialog{margin:.5rem}.tx-payment-process-modal .modal-content{max-height:calc(100vh - 1rem)}.tx-postorder-pay-head{align-items:flex-start}.tx-proof-preview-card{grid-template-columns:78px 1fr auto}.tx-proof-preview-card>img{width:78px;height:78px}}


/* R17: estados operativos y visor multimedia/voucher a pantalla completa */
.tx-order-status.status-validating{background:#fff4e5;color:#a15c00}.tx-order-status.status-withdrawing{background:#f2eaff;color:#6927a6}
.tx-voucher-gallery{display:flex;gap:10px;flex-wrap:wrap}.tx-voucher-thumb{width:82px;height:82px;padding:0;border:1px solid #e5e7eb;border-radius:12px;background:#fff;overflow:hidden;cursor:pointer}.tx-voucher-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#chatMediaViewerModal{overflow:hidden!important}#chatMediaViewerModal .modal-dialog{margin:0;max-width:none;width:100vw;height:100vh}#chatMediaViewerModal .modal-content.tx-media-viewer-modal{height:100vh;width:100vw;border:0;border-radius:0;background:#08090c;overflow:hidden;position:relative}.tx-media-viewer-close{position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:4;width:44px;height:44px;border:0;border-radius:50%;background:#ffffffeb;color:#111827;display:grid;place-items:center;font-size:1.2rem;box-shadow:0 8px 28px #0006}.tx-media-viewer-stage{width:100%;height:100%;min-height:0;padding:70px max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:center;overflow:hidden}.tx-media-viewer-stage img,.tx-media-viewer-stage video{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:0;background:#000}


/* R17-GO-FIX5: fondo neutro para imágenes cargadas por usuarios */
.tx-profile-photo,.tx-profile-photo-wrap,.tx-avatar,.tx-chat-avatar,.tx-call-avatar,.tx-incoming-call-avatar,.tx-commerce-profile-logo,.tx-commerce-about-logo,.tx-order-card-top>img,.tx-order-detail-commerce>img{background:#d1d5db!important}

/* R17-GO-FIX6: comprobante del cliente igual al visor vertical de Comercio */
#chatMediaViewerModal.tx-voucher-viewer-mode{z-index:5000!important;padding:0!important;overflow:hidden!important}
.modal-backdrop.tx-customer-voucher-backdrop{z-index:4990!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog.modal-fullscreen{width:min(94vw,520px)!important;max-width:520px!important;height:auto!important;min-height:0!important;margin:12px auto!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .modal-content.tx-media-viewer-modal{width:100%!important;height:auto!important;max-height:calc(100vh - 24px)!important;background:#fff!important;color:#1f2937!important;border:1px solid #e5e7eb!important;border-radius:20px!important;overflow:hidden!important;box-shadow:0 24px 80px #0005!important;position:relative!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-close{top:12px!important;right:12px!important;background:#d1d5db!important;color:#111827!important;box-shadow:0 5px 18px #0002!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage{width:100%!important;height:auto!important;max-height:calc(100vh - 24px)!important;min-height:0!important;padding:58px 14px 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#fff!important}
#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100vh - 96px)!important;object-fit:contain!important;border-radius:12px!important;background:#d1d5db!important}
@media(max-width:560px){#chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog.modal-fullscreen{width:calc(100vw - 20px)!important;margin:10px auto!important}#chatMediaViewerModal.tx-voucher-viewer-mode .modal-content.tx-media-viewer-modal{max-height:calc(100vh - 20px)!important}#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage{max-height:calc(100vh - 20px)!important}#chatMediaViewerModal.tx-voucher-viewer-mode .tx-media-viewer-stage img{max-height:calc(100vh - 92px)!important}}

/* R17-GO-FIX6: fondo gris claro real para logos, perfiles y avatares cargados */
.tx-profile-photo-wrap,.tx-profile-photo,.tx-avatar,.tx-chat-avatar,.tx-contact-card-avatar,.tx-contact-profile-avatar,.tx-call-avatar,.tx-incoming-call-avatar,.tx-commerce-profile-logo,.tx-commerce-about-logo,.tx-order-detail-commerce>img,.tx-voucher-thumb,.tx-proof-preview-card>img{background:#d1d5db!important}
.tx-profile-photo img,.tx-avatar img,.tx-chat-avatar img,.tx-contact-card-avatar img,.tx-contact-profile-avatar img,.tx-call-avatar img,.tx-incoming-call-avatar img,.tx-commerce-profile-logo,.tx-commerce-about-logo,.tx-order-detail-commerce>img{background:#d1d5db!important}

/* R18 · Marketplace McDonald's structure + social profile + Viomaster/ViewMe */
:root{--tx-image-neutral:#d1d5db;--tx-card-radius:20px}

/* Product rail: same visual proportions as the McDonald's customer cards. */
.tx-market-catalog .tx-horizontal-product-grid,.tx-fb-products.tx-horizontal-product-grid{display:grid!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:252px!important;gap:18px!important;align-items:stretch!important;overflow-x:auto!important;overflow-y:visible!important;scroll-snap-type:x mandatory!important;padding:4px 4px 18px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch}
.tx-market-catalog .tx-horizontal-product-grid::-webkit-scrollbar,.tx-fb-products.tx-horizontal-product-grid::-webkit-scrollbar{display:none}
.product-card{scroll-snap-align:start!important;width:100%!important;height:430px!important;min-height:430px!important;border:0!important;border-radius:var(--tx-card-radius)!important;background:#fff!important;box-shadow:0 8px 25px rgba(16,24,40,.11)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;transform:none!important}
.product-card:hover{transform:none!important;box-shadow:0 10px 30px rgba(16,24,40,.14)!important}
.product-image{height:168px!important;min-height:168px!important;flex:0 0 168px!important;padding:0!important;margin:0!important;background:#f6f7f8!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.product-image img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#f6f7f8!important;transform:none!important}
.product-card:hover .product-image img{transform:none!important}
.product-info{padding:18px 18px 16px!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;text-align:center!important;min-height:0!important}
.product-title{font-family:Inter,Arial,sans-serif!important;font-size:1.22rem!important;font-weight:900!important;line-height:1.08!important;letter-spacing:-.025em!important;color:#242424!important;margin:0 0 10px!important;min-height:2.16em!important;-webkit-line-clamp:2!important;line-clamp:2!important}
.product-description{font-size:.94rem!important;line-height:1.34!important;color:#696d75!important;margin:0 auto 10px!important;min-height:3.85em!important;max-height:3.85em!important;-webkit-line-clamp:3!important;line-clamp:3!important;overflow:hidden!important}
.product-price{margin:auto 0 12px!important;min-height:64px!important;display:flex!important;flex-direction:column!important;justify-content:flex-end!important;gap:1px!important}
.price-usd{font-size:1.34rem!important;line-height:1.1!important;font-weight:900!important;color:var(--tx-purple)!important}
.price-bs{font-size:.88rem!important;line-height:1.2!important;color:#62666e!important}
.price-rate{font-size:.72rem!important;line-height:1.2!important;color:#9a9da3!important;margin-top:2px!important}
.btn-pidelo{min-height:52px!important;padding:10px 16px!important;margin:0!important;border-radius:999px!important;background:var(--tx-purple)!important;color:#fff!important;font-size:1rem!important;font-weight:900!important;box-shadow:none!important;gap:8px!important}
.btn-pidelo:hover,.btn-pidelo:focus{background:var(--tx-purple-light)!important;color:#fff!important;transform:none!important}

/* Product modal: fixed image frame; image always fits, never changes the frame. */
#productModal{--bs-modal-zindex:2300}
#productModal .modal-dialog{width:min(94vw,700px)!important;max-width:700px!important;margin:12px auto!important}
#productModal .modal-content.tx-exact-product-modal{max-height:calc(100dvh - 24px)!important;border:0!important;border-radius:24px!important;background:#fff!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;box-shadow:0 24px 70px rgba(0,0,0,.33)!important}
#productModal .tx-mcd-modal-header{flex:0 0 auto!important;min-height:72px!important;padding:18px 26px!important;background:var(--tx-purple)!important;border:0!important;color:#fff!important}
#productModal .tx-mcd-modal-header .modal-title{font-size:1.55rem!important;line-height:1.05!important;font-weight:900!important;letter-spacing:-.025em!important}
#productModal .modal-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;background:#fff!important}
#productModal .product-modal-image-frame{width:100%!important;height:290px!important;min-height:290px!important;flex:0 0 290px!important;padding:0!important;background:#f6f7f8!important;border-bottom:1px solid #eceef1!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
#productModal .product-modal-image-frame img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;background:#f6f7f8!important}
#productModal .modal-body>.p-3{padding:28px 32px 24px!important}
#modalProductName{font-size:1.8rem!important;line-height:1.12!important;font-weight:900!important;color:#242424!important;margin-bottom:12px!important;letter-spacing:-.03em!important}
#modalProductDescription{max-width:570px!important;margin:0 auto 16px!important;font-size:1.03rem!important;line-height:1.52!important;color:#696d75!important}
#productModal .product-price{min-height:0!important;margin:0 0 16px!important}
#productModal #modalProductBasePrice{font-size:1.75rem!important;color:var(--tx-purple)!important}
#productModal #modalProductBasePriceBs{font-size:.98rem!important}
#productModal #modalProductRate{font-size:.8rem!important;color:#8d9299!important}
#productModal .quantity-selector{margin:18px auto 20px!important}
#productModal .quantity-selector .input-group{max-width:360px!important;width:min(100%,360px)!important;height:58px!important}
#productModal .quantity-selector .btn-minus,#productModal .quantity-selector .btn-plus{width:88px!important;border:0!important;background:var(--tx-purple)!important;color:#fff!important;font-size:1.45rem!important;font-weight:900!important}
#productModal .quantity-selector .btn-minus{border-radius:18px 0 0 18px!important}
#productModal .quantity-selector .btn-plus{border-radius:0 18px 18px 0!important}
#productModal .quantity-selector input{border:0!important;border-top:1px solid #e6e7e9!important;border-bottom:1px solid #e6e7e9!important;border-radius:0!important;background:#fff!important;color:#222!important;font-size:1.3rem!important;font-weight:900!important;box-shadow:none!important}
#productModal .tx-product-section-title{font-size:1.2rem!important;font-weight:900!important;color:var(--tx-purple)!important;margin:22px 0 15px!important;text-transform:uppercase!important}
#productModal .tx-option-group{border:1px solid #e2e4e8!important;border-radius:18px!important;overflow:hidden!important;background:#fff!important;margin-bottom:14px!important}
#productModal .tx-commerce-about-exact{margin:24px 0 0!important;background:#f7f8fa!important;border:1px solid #e1e4e8!important;border-radius:18px!important;padding:20px!important}
#productModal .tx-commerce-about-logo{width:78px!important;height:78px!important;object-fit:contain!important;object-position:center!important;background:var(--tx-image-neutral)!important;border-radius:50%!important;padding:4px!important}
#productModal .modal-footer{flex:0 0 auto!important;padding:16px 32px 24px!important;border-top:1px solid #e8eaed!important;background:#fff!important;z-index:3!important}
#productModal #addCartButton{min-height:94px!important;border-radius:14px!important;background:var(--tx-purple)!important;border-color:var(--tx-purple)!important}
#productModal #addCartButton .btn-cart-price{font-size:1.45rem!important}
#productModal #addCartButton .btn-cart-label{font-size:1.25rem!important}

/* Public commerce profile: Facebook-style profile page inside Telexpress. */
.tx-fb-commerce-profile{width:min(100%,980px);margin:0 auto 24px;background:#f0f2f5;border-radius:18px;overflow:hidden;color:#1c1e21;box-shadow:0 8px 28px rgba(16,24,40,.08)}
.tx-fb-cover{height:310px;background:linear-gradient(135deg,var(--tx-purple),var(--tx-electric));background-size:cover;background-position:center;position:relative}
.tx-fb-cover:after{content:"";position:absolute;inset:auto 0 0;height:45%;background:linear-gradient(transparent,rgba(0,0,0,.18))}
.tx-fb-profile-main{position:relative;display:flex;align-items:flex-end;gap:20px;padding:0 28px 18px;background:#fff;border-bottom:1px solid #d8dadf}
.tx-fb-avatar-wrap{width:176px;height:176px;flex:0 0 176px;margin-top:-88px;z-index:2;border-radius:50%;border:6px solid #fff;background:var(--tx-image-neutral);display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.16)}
.tx-fb-avatar{width:100%;height:100%;object-fit:contain;object-position:center;background:var(--tx-image-neutral)}
.tx-fb-identity{flex:1;min-width:0;padding-top:15px}.tx-fb-identity h1{margin:0;font-size:2rem;line-height:1.06;font-weight:900;letter-spacing:-.03em}.tx-fb-identity h1 i{font-size:1.1rem;color:var(--tx-electric)}.tx-fb-handle{margin:5px 0 2px;color:#65676b;font-weight:600}.tx-fb-followers-link{padding:0;border:0;background:none;color:#65676b;font-size:.93rem;text-align:left}.tx-fb-followers-link strong{color:#1c1e21}
.tx-fb-follow{align-self:center;min-width:142px;border:0!important;border-radius:8px!important;background:var(--tx-purple)!important;color:#fff!important;font-weight:800!important;padding:10px 18px!important}.tx-fb-follow.following{background:#e4e6eb!important;color:#1c1e21!important}
.tx-fb-bio{background:#fff;padding:8px 28px 16px;font-size:1rem;line-height:1.5}.tx-fb-profile-meta{display:flex;gap:18px;flex-wrap:wrap;padding:0 28px 18px;background:#fff;color:#65676b;font-size:.9rem}.tx-fb-profile-meta span,.tx-fb-profile-meta a{display:flex;align-items:center;gap:8px;color:inherit;text-decoration:none}.tx-fb-profile-meta i{color:#8a8d91}
.tx-fb-tabs{display:flex;gap:2px;overflow-x:auto;padding:4px 22px 0;background:#fff;border-top:1px solid #e4e6eb;scrollbar-width:none}.tx-fb-tabs::-webkit-scrollbar{display:none}.tx-fb-tabs button{position:relative;flex:0 0 auto;padding:16px 18px 14px;border:0;border-radius:8px 8px 0 0;background:transparent;color:#65676b;font-weight:800}.tx-fb-tabs button:hover{background:#f2f2f2}.tx-fb-tabs button.active{color:var(--tx-purple)}.tx-fb-tabs button.active:after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:3px;background:var(--tx-purple);border-radius:3px 3px 0 0}
.tx-fb-content{padding:18px;background:#f0f2f5}.tx-fb-content>.tx-horizontal-product-grid{background:transparent}.tx-fb-post{max-width:680px;margin:0 auto 18px;background:#fff;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.16);overflow:hidden}.tx-fb-post header{display:flex;align-items:center;gap:10px;padding:12px 16px}.tx-fb-post header img{width:42px;height:42px;border-radius:50%;object-fit:contain;background:var(--tx-image-neutral)}.tx-fb-post header div{display:grid;line-height:1.2;flex:1}.tx-fb-post header small{color:#65676b;font-size:.75rem;margin-top:3px}.tx-fb-post-text{padding:0 16px 12px;margin:0;white-space:pre-wrap;line-height:1.45}.tx-fb-post-media img{display:block;width:100%;max-height:620px;object-fit:contain;background:#e4e6eb}.tx-fb-post footer{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:5px 12px;border-top:1px solid #e4e6eb;color:#65676b}.tx-fb-post footer span{text-align:center;padding:8px 4px;border-radius:6px;font-weight:700;font-size:.85rem}.tx-fb-about{max-width:680px;margin:auto;background:#fff;border-radius:10px;padding:18px;box-shadow:0 1px 2px rgba(0,0,0,.16)}.tx-fb-about a{display:block;margin:8px 0;color:var(--tx-purple);text-decoration:none}.tx-fb-about i{width:24px}

/* Viomaster: YouTube-style long video feed. */
.tx-youtube-feed{width:min(100%,980px);margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr));gap:24px;align-items:start}.tx-youtube-card{min-width:0;background:#fff;color:#0f0f0f;border-radius:16px;overflow:hidden;box-shadow:0 5px 22px rgba(16,24,40,.10)}.tx-youtube-player{width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}.tx-youtube-player video{display:block;width:100%;height:100%;object-fit:contain;background:#000}.tx-youtube-info{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px 14px 10px}.tx-youtube-avatar{width:44px;height:44px;border-radius:50%;object-fit:contain;background:var(--tx-image-neutral)}.tx-youtube-copy{min-width:0}.tx-youtube-copy h3{font-size:1rem;line-height:1.25;font-weight:800;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tx-youtube-copy p{margin:0;color:#606060;font-size:.85rem}.tx-youtube-copy small{display:block;color:#606060;font-size:.78rem;margin-top:2px}.tx-youtube-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.tx-youtube-actions button{border:0;border-radius:999px;background:#f2f2f2;color:#0f0f0f;padding:7px 11px;font-size:.78rem;font-weight:700}.tx-youtube-actions button.active{background:#e9ddf2;color:var(--tx-purple)}.tx-youtube-description{margin:0 14px 14px;padding:10px 12px;background:#f2f2f2;border-radius:10px;font-size:.82rem;line-height:1.42;color:#333}

/* ViewMe: TikTok-style vertical reel. */
.tx-tiktok-feed,.tx-viewme-profile-feed{width:100%;display:grid;justify-items:center;gap:20px}.tx-tiktok-card{position:relative;width:min(100%,430px);aspect-ratio:9/16;max-height:calc(100dvh - 150px);min-height:520px;border-radius:18px;overflow:hidden;background:#000;color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.24)}.tx-tiktok-card>video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#000}.tx-tiktok-gradient{position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72));pointer-events:none}.tx-tiktok-copy{position:absolute;left:16px;right:82px;bottom:18px;z-index:3;text-shadow:0 1px 5px #000}.tx-tiktok-channel{display:flex;align-items:center;gap:9px;margin-bottom:9px}.tx-tiktok-channel img{width:38px;height:38px;border-radius:50%;object-fit:contain;background:var(--tx-image-neutral);border:2px solid #fff}.tx-tiktok-copy h3{font-size:1rem;font-weight:900;margin:0 0 6px}.tx-tiktok-copy p{margin:0 0 7px;font-size:.86rem;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tx-tiktok-copy small{font-size:.74rem}.tx-tiktok-actions{position:absolute;right:12px;bottom:28px;z-index:4;display:grid;gap:18px}.tx-tiktok-actions button{display:grid;justify-items:center;gap:3px;border:0;background:transparent;color:#fff;text-shadow:0 1px 4px #000;padding:0;font-size:.75rem;font-weight:800}.tx-tiktok-actions button span{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:rgba(25,25,25,.65);backdrop-filter:blur(6px);font-size:1.45rem}.tx-tiktok-actions button.active span{color:#ff2d55}.tx-tiktok-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);z-index:5;width:70px;height:70px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font-size:1.7rem}.tx-tiktok-play.d-none{display:none!important}

/* Media comments */
.tx-media-comments-modal{border:0;border-radius:18px;overflow:hidden}.tx-video-comments-list{min-height:220px;max-height:60vh}.tx-video-comment{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;padding:10px 0;border-bottom:1px solid #eceef1}.tx-video-comment>img{width:42px;height:42px;border-radius:50%;object-fit:contain;background:var(--tx-image-neutral)}.tx-video-comment>div{min-width:0}.tx-video-comment b{display:block;font-size:.88rem}.tx-video-comment small{display:block;color:#7a7f87;font-size:.72rem}.tx-video-comment p{margin:4px 0 0;white-space:pre-wrap;word-break:break-word;font-size:.87rem}.tx-video-comment-form{display:grid;grid-template-columns:1fr 48px;gap:9px;padding:12px;border-top:1px solid #e5e7eb;background:#fff}.tx-video-comment-form button{width:48px;height:44px;border-radius:50%}

/* Logos and avatars: keep the frame/circle unchanged; fit the complete image within it. */
img[class*="avatar"],img[class*="logo"],[class*="avatar"]>img,[class*="logo"]>img{object-fit:contain!important;object-position:center!important;max-width:100%;max-height:100%}

@media(max-width:575.98px){
 .category-block{margin-bottom:22px!important}.category-header{margin-bottom:12px!important}.category-header h3{font-size:1.12rem!important}
 .tx-market-catalog .tx-horizontal-product-grid,.tx-fb-products.tx-horizontal-product-grid{grid-auto-columns:calc((100% - 14px)/2)!important;gap:14px!important;padding:3px 2px 16px!important}
 .product-card{height:374px!important;min-height:374px!important;border-radius:18px!important}.product-image{height:126px!important;min-height:126px!important;flex-basis:126px!important}.product-info{padding:14px 12px 13px!important}.product-title{font-size:1rem!important;min-height:2.15em!important;margin-bottom:8px!important}.product-description{font-size:.82rem!important;min-height:3.7em!important;max-height:3.7em!important;margin-bottom:7px!important}.product-price{min-height:61px!important;margin-bottom:10px!important}.price-usd{font-size:1.17rem!important}.price-bs{font-size:.78rem!important}.price-rate{font-size:.65rem!important}.btn-pidelo{min-height:46px!important;padding:8px 8px!important;font-size:.95rem!important}
 #productModal .modal-dialog{width:calc(100vw - 16px)!important;margin:8px auto!important}#productModal .modal-content.tx-exact-product-modal{max-height:calc(100dvh - 16px)!important;border-radius:22px!important}#productModal .tx-mcd-modal-header{min-height:68px!important;padding:16px 20px!important}#productModal .tx-mcd-modal-header .modal-title{font-size:1.35rem!important}#productModal .product-modal-image-frame{height:210px!important;min-height:210px!important;flex-basis:210px!important}#productModal .modal-body>.p-3{padding:22px 20px 18px!important}#modalProductName{font-size:1.48rem!important}#modalProductDescription{font-size:.95rem!important;line-height:1.45!important}#productModal #modalProductBasePrice{font-size:1.55rem!important}#productModal .quantity-selector .input-group{height:54px!important;max-width:290px!important}#productModal .quantity-selector .btn-minus,#productModal .quantity-selector .btn-plus{width:72px!important}#productModal .modal-footer{padding:14px 20px 20px!important}#productModal #addCartButton{min-height:84px!important}
 .tx-fb-commerce-profile{border-radius:0;margin:0 -12px 20px;width:calc(100% + 24px)}.tx-fb-cover{height:190px}.tx-fb-profile-main{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:0 16px 14px;align-items:end}.tx-fb-avatar-wrap{width:110px;height:110px;flex-basis:110px;margin-top:-55px;border-width:4px}.tx-fb-identity{padding-top:8px}.tx-fb-identity h1{font-size:1.42rem}.tx-fb-follow{grid-column:1/-1;width:100%;min-width:0;margin-top:4px}.tx-fb-bio,.tx-fb-profile-meta{padding-left:16px;padding-right:16px}.tx-fb-tabs{padding-left:8px}.tx-fb-tabs button{padding:13px 11px;font-size:.83rem}.tx-fb-content{padding:12px}
 .tx-youtube-feed{display:block}.tx-youtube-card{margin-bottom:18px;border-radius:12px}.tx-youtube-info{grid-template-columns:42px minmax(0,1fr);padding:12px}.tx-youtube-avatar{width:40px;height:40px}
 .tx-tiktok-card{width:min(100%,390px);min-height:0;max-height:calc(100dvh - 125px)}
}

/* R18-FIX1 · botón Pídelo siempre dentro de la card + recuperación de video */
.product-card{box-sizing:border-box!important}
.product-info{min-height:0!important;overflow:hidden!important;display:grid!important;grid-template-rows:2.5em 3.05em 54px 46px!important;row-gap:5px!important;align-content:stretch!important}
.product-title{margin:0!important;min-height:0!important;align-self:center}
.product-description{margin:0!important;min-height:0!important;height:auto!important;align-self:start;-webkit-line-clamp:2!important;line-clamp:2!important}
.product-price{margin:0!important;min-height:0!important;height:54px!important;align-self:center}
.btn-pidelo{margin:0!important;min-height:46px!important;height:46px!important;align-self:end!important;box-sizing:border-box!important}
.tx-video-playback-error{margin:8px 12px;padding:8px 10px;border-radius:10px;background:#fff1f1;color:#b42318;font-size:.76rem;font-weight:800;text-align:center}
@media(max-width:768px){.product-info{padding:.75rem!important;grid-template-rows:2.25em 2.7em 50px 42px!important;row-gap:4px!important}.btn-pidelo{min-height:42px!important;height:42px!important;padding:.5rem .65rem!important}.product-price{height:50px!important}.product-description{-webkit-line-clamp:2!important;line-clamp:2!important}}


/* R18-FIX2 · Pídelo forma el borde inferior de la card */
.product-info{--tx-product-side:18px!important;padding:18px var(--tx-product-side) 0!important}
.btn-pidelo{width:calc(100% + (var(--tx-product-side) * 2))!important;min-width:calc(100% + (var(--tx-product-side) * 2))!important;margin:auto calc(var(--tx-product-side) * -1) 0!important;border-radius:0 0 var(--tx-card-radius) var(--tx-card-radius)!important;min-height:54px!important;flex:0 0 54px!important;align-self:stretch!important}
@media(max-width:768px){.product-info{--tx-product-side:12px!important;padding:14px var(--tx-product-side) 0!important}.btn-pidelo{border-radius:0 0 18px 18px!important;min-height:50px!important;flex-basis:50px!important}}

/* R18-FIX2 · ViewMe fullscreen tipo feed vertical */
body.tx-viewme-mode{padding:0!important;background:#000!important;overflow:hidden!important}
body.tx-viewme-mode .tx-header,body.tx-viewme-mode .tx-footer{display:none!important}
body.tx-viewme-mode .tx-main{max-width:none!important;width:100%!important;height:100dvh!important;margin:0!important}
body.tx-viewme-mode #mediaView.tx-viewme-shell{display:block!important;position:fixed!important;inset:0!important;z-index:4100!important;padding:0!important;margin:0!important;background:#000!important;width:100vw!important;height:100dvh!important;overflow:hidden!important}
body.tx-viewme-mode #mediaView .tx-page-title{display:none!important}
body.tx-viewme-mode #mediaFeed.tx-tiktok-feed{width:100vw!important;height:100dvh!important;overflow-y:auto!important;overflow-x:hidden!important;scroll-snap-type:y mandatory!important;overscroll-behavior-y:contain!important;scroll-behavior:smooth!important;display:block!important;gap:0!important;background:#000!important;scrollbar-width:none!important}
body.tx-viewme-mode #mediaFeed.tx-tiktok-feed::-webkit-scrollbar{display:none!important}
body.tx-viewme-mode .tx-tiktok-card{width:100vw!important;max-width:none!important;height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;aspect-ratio:auto!important;border-radius:0!important;box-shadow:none!important;scroll-snap-align:start!important;scroll-snap-stop:always!important;margin:0!important}
body.tx-viewme-mode .tx-tiktok-card>video{width:100%!important;height:100%!important;object-fit:cover!important;background:#000!important}
body.tx-viewme-mode .tx-tiktok-gradient{inset:42% 0 0!important;background:linear-gradient(transparent,rgba(0,0,0,.78))!important}
body.tx-viewme-mode .tx-tiktok-copy{left:18px!important;right:88px!important;bottom:max(26px,calc(env(safe-area-inset-bottom) + 18px))!important}
.tx-tiktok-channel{border:0;background:transparent;color:#fff;padding:0;display:flex;align-items:center;gap:9px;text-align:left;text-shadow:inherit}
.tx-tiktok-channel span{font-size:.68rem;border:1px solid rgba(255,255,255,.65);padding:3px 7px;border-radius:999px;font-weight:800}
body.tx-viewme-mode .tx-tiktok-actions{right:14px!important;bottom:max(30px,calc(env(safe-area-inset-bottom) + 22px))!important}
.tx-viewme-back{position:fixed;left:max(14px,env(safe-area-inset-left));top:max(14px,env(safe-area-inset-top));z-index:4140;width:46px;height:46px;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.48);backdrop-filter:blur(8px);color:#fff;font-size:1.2rem;box-shadow:0 4px 18px rgba(0,0,0,.22)}
.tx-viewme-splash{position:fixed;inset:0;z-index:5000;background:#050505;color:#fff;display:grid;place-content:center;justify-items:center;gap:12px;opacity:0;transition:opacity .22s ease}.tx-viewme-splash.show{opacity:1}.tx-viewme-splash.hide{opacity:0}.tx-viewme-logo{font-size:3.15rem;line-height:1;font-weight:1000;letter-spacing:-.07em}.tx-viewme-logo span{color:#fff}.tx-viewme-logo b{color:var(--tx-electric);font-weight:1000}.tx-viewme-splash small{letter-spacing:.38em;font-size:.7rem;color:#bfc4cb;font-weight:800}

/* Comentarios ViewMe: hoja inferior con hilos y respuestas */
body.tx-viewme-mode #mediaCommentsModal{z-index:5200!important}
body.tx-viewme-mode #mediaCommentsModal .modal-dialog{position:fixed!important;left:0!important;right:0!important;bottom:0!important;margin:0 auto!important;width:min(100%,620px)!important;max-width:620px!important;align-items:flex-end!important;min-height:0!important}
body.tx-viewme-mode #mediaCommentsModal .modal-content{height:min(68dvh,720px)!important;border:0!important;border-radius:22px 22px 0 0!important;background:#fff!important;overflow:hidden!important;box-shadow:0 -18px 50px rgba(0,0,0,.38)!important}
body.tx-viewme-mode #mediaCommentsModal .modal-header{padding:14px 18px!important;border-bottom:1px solid #eceef1!important}
body.tx-viewme-mode #mediaCommentsModal .modal-body{background:#fff!important;padding:12px 14px!important}
.tx-video-comment-thread{display:block;border-bottom:1px solid #f0f1f3;padding:8px 0 10px}.tx-video-comment{display:flex;gap:10px;padding:8px 2px!important}.tx-video-comment.reply{margin-left:42px;padding-top:4px!important}.tx-video-comment>img{width:38px;height:38px;flex:0 0 38px;border-radius:50%;object-fit:contain;background:var(--tx-image-neutral)}.tx-video-comment.reply>img{width:31px;height:31px;flex-basis:31px}.tx-video-comment-copy{min-width:0;flex:1}.tx-video-comment-copy b{display:block;font-size:.88rem}.tx-video-comment-copy small{display:block;color:#8a8f98;font-size:.68rem;margin-top:1px}.tx-video-comment-copy p{margin:5px 0 4px;font-size:.88rem;line-height:1.35;white-space:pre-wrap}.tx-video-comment-reply{border:0;background:transparent;padding:0;color:#6b7280;font-size:.72rem;font-weight:800}.tx-video-reply-bar{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#f3f4f6;border-radius:10px;margin-bottom:8px;font-size:.76rem;color:#4b5563}.tx-video-reply-bar button{width:28px;height:28px;border:0;border-radius:50%;background:#e5e7eb;color:#374151}
body.tx-viewme-mode .tx-video-comment-form{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;padding:10px 12px max(10px,env(safe-area-inset-bottom))!important;border-top:1px solid #eceef1!important;background:#fff!important}
body.tx-viewme-mode .tx-video-comment-form input{border-radius:999px!important;background:#f1f2f4!important;border:0!important;padding:11px 16px!important}
body.tx-viewme-mode .tx-video-comment-form button[type=submit]{width:44px!important;height:44px!important;border-radius:50%!important;padding:0!important}

/* R18-FIX3 · cards compactas, ViewMe social, perfil sin portada y verificación */
.product-card{height:406px!important;min-height:406px!important;max-height:406px!important}
.product-info{box-sizing:border-box!important;height:238px!important;min-height:238px!important;max-height:238px!important;flex:0 0 238px!important;padding:18px 18px 0!important;display:grid!important;grid-template-rows:44px 42px minmax(54px,1fr) 54px!important;row-gap:5px!important;overflow:hidden!important}
.product-title,.product-description,.product-price{min-height:0!important;height:auto!important;margin:0!important}
.product-title{align-self:center!important}.product-description{align-self:start!important}.product-price{align-self:center!important;justify-content:center!important}
.btn-pidelo{height:54px!important;min-height:54px!important;max-height:54px!important;width:calc(100% + 36px)!important;min-width:calc(100% + 36px)!important;margin:0 -18px!important;border:0!important;border-radius:0 0 var(--tx-card-radius) var(--tx-card-radius)!important;align-self:end!important;box-shadow:none!important}

/* Perfil de comercio: sin portada rectangular; avatar y acciones arrancan directamente. */
.tx-fb-cover{display:none!important}
.tx-fb-profile-main{align-items:center!important;padding:24px 28px 18px!important}
.tx-fb-avatar-wrap{margin-top:0!important;width:132px!important;height:132px!important;flex-basis:132px!important;border-width:5px!important}
.tx-fb-identity{padding-top:0!important}.tx-fb-handle{font-size:.74rem!important;line-height:1.1!important;margin:3px 0 4px!important;color:#73777f!important}
.tx-fb-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;align-self:center}
.tx-fb-actions .tx-fb-follow,.tx-fb-media-btn{min-width:0!important;width:auto!important;margin:0!important;white-space:nowrap;border-radius:8px!important;padding:10px 15px!important;font-weight:850!important}
.tx-fb-media-btn{background:#e4e6eb!important;color:#1c1e21!important;border:0!important}.tx-fb-media-btn:hover{background:#d8dadf!important;color:#111!important}
.tx-profile-media-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 auto 14px;max-width:760px}.tx-profile-media-heading h3{margin:0;font-weight:900}.tx-profile-media-heading span{font-size:.82rem;color:#65676b}

/* Insignias de verificación por plan. */
.tx-verify-badge{display:inline-block!important;vertical-align:.08em!important;margin-left:3px!important;font-size:.82em!important;text-shadow:none!important}.tx-verify-blue{color:#1877f2!important}.tx-verify-silver{color:#a7adb7!important;filter:drop-shadow(0 1px 1px #fff)}.tx-verify-gold{color:#f2b705!important;filter:drop-shadow(0 1px 1px rgba(97,68,0,.25))}

/* Seguimiento en VioMaster/ViewMe. */
.tx-media-follow{border:0;border-radius:999px;background:var(--tx-purple);color:#fff;font-size:.72rem;font-weight:900;padding:7px 12px;line-height:1;white-space:nowrap}.tx-media-follow.following{background:#e4e6eb;color:#202124}.tx-tiktok-copy>.tx-media-follow{margin:1px 0 5px}.tx-youtube-channel-line{display:flex;align-items:center;gap:10px;margin:1px 0 4px}.tx-youtube-channel-line>button:first-child{min-width:0;border:0;background:transparent;padding:0;text-align:left;display:grid;color:inherit}.tx-youtube-channel-line>button:first-child span{font-size:.86rem;font-weight:800;line-height:1.1}.tx-youtube-channel-line>button:first-child small{font-size:.66rem;color:#777}.tx-youtube-channel{border:0;background:transparent;padding:0;height:max-content}

/* ViewMe: texto más abajo/compacto y sin botón Play superpuesto. */
.tx-tiktok-play{display:none!important}
body.tx-viewme-mode .tx-tiktok-copy{left:16px!important;right:90px!important;bottom:max(8px,calc(env(safe-area-inset-bottom) + 6px))!important;line-height:1.16!important}
body.tx-viewme-mode .tx-tiktok-copy h3{font-size:.96rem!important;line-height:1.15!important;margin:3px 0!important}
body.tx-viewme-mode .tx-tiktok-copy p{font-size:.82rem!important;line-height:1.2!important;margin:2px 0 4px!important;-webkit-line-clamp:2!important;line-clamp:2!important}
body.tx-viewme-mode .tx-tiktok-copy>small{font-size:.67rem!important;line-height:1.1!important}
.tx-tiktok-channel{margin:0 0 2px!important;gap:8px!important}.tx-tiktok-channel img{width:36px!important;height:36px!important;flex:0 0 36px!important}.tx-tiktok-account{display:grid;min-width:0;text-align:left}.tx-tiktok-account strong{display:block;color:#fff;font-size:.88rem;line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-tiktok-account small{display:block;color:#e1e3e7;font-size:.62rem;line-height:1.05;margin-top:2px;font-weight:650}
body.tx-viewme-mode .tx-tiktok-actions{bottom:max(22px,calc(env(safe-area-inset-bottom) + 18px))!important}

/* Comentarios: Me gusta con contador. */
.tx-comment-actions{display:flex;align-items:center;gap:14px;margin-top:4px}.tx-video-comment-like,.tx-video-comment-reply{border:0;background:transparent;padding:0;color:#6b7280;font-size:.71rem;font-weight:800;display:inline-flex;align-items:center;gap:5px}.tx-video-comment-like.active{color:#e11d48}.tx-video-comment-like b{font-size:.68rem;color:inherit}.tx-video-comment-like i{font-size:.8rem}

/* Menú de cuenta tipo hoja inferior. */
.tx-account-action-sheet{position:fixed;inset:0;z-index:6500;display:flex;align-items:flex-end;justify-content:center;pointer-events:none;opacity:0;transition:opacity .16s ease}.tx-account-action-sheet.show{opacity:1;pointer-events:auto}.tx-action-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.48)}.tx-action-panel{position:relative;width:min(100%,520px);background:#fff;border-radius:22px 22px 0 0;padding:8px 12px max(14px,env(safe-area-inset-bottom));box-shadow:0 -16px 50px rgba(0,0,0,.3);display:grid}.tx-action-grabber{width:42px;height:4px;border-radius:99px;background:#c8ccd2;margin:2px auto 10px}.tx-action-panel>strong{padding:6px 12px 10px;font-size:.88rem;color:#555}.tx-action-panel>button{min-height:50px;border:0;border-top:1px solid #eef0f2;background:#fff;text-align:left;padding:0 12px;display:flex;align-items:center;gap:12px;font-weight:800;color:#202124}.tx-action-panel>button i{width:24px;text-align:center}.tx-action-panel>button.danger{color:#c62828}.tx-action-panel>button:last-child{justify-content:center;margin-top:6px;border-radius:12px;background:#f0f2f5}

@media(max-width:575.98px){
 .product-card{height:320px!important;min-height:320px!important;max-height:320px!important}
 .product-info{height:194px!important;min-height:194px!important;max-height:194px!important;flex-basis:194px!important;padding:14px 12px 0!important;grid-template-rows:34px 34px minmax(50px,1fr) 50px!important;row-gap:4px!important}
 .btn-pidelo{height:50px!important;min-height:50px!important;max-height:50px!important;width:calc(100% + 24px)!important;min-width:calc(100% + 24px)!important;margin:0 -12px!important;border-radius:0 0 18px 18px!important}
 .tx-fb-profile-main{display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;align-items:center!important;padding:18px 16px 12px!important;gap:12px!important}.tx-fb-avatar-wrap{width:88px!important;height:88px!important;flex-basis:88px!important;margin:0!important}.tx-fb-identity h1{font-size:1.34rem!important}.tx-fb-actions{grid-column:1/-1;justify-content:flex-start!important;width:100%}.tx-fb-actions .btn{flex:1 1 auto!important;padding:9px 10px!important;font-size:.78rem!important}
}


/* R18-FIX4 · ViewMe: identidad limpia, seguimiento junto al nombre,
   descripción expandible y reproducción automática del reel visible. */
body.tx-viewme-mode .tx-tiktok-account-row{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0 0 3px!important;
}
body.tx-viewme-mode .tx-tiktok-account-row .tx-tiktok-channel{
    flex:0 1 auto!important;
    min-width:0!important;
    max-width:calc(100% - 86px)!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
}
body.tx-viewme-mode .tx-tiktok-channel .tx-tiktok-account,
body.tx-viewme-mode .tx-tiktok-channel span{
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
}
body.tx-viewme-mode .tx-tiktok-account-row .tx-media-follow{
    flex:0 0 auto!important;
    margin:0!important;
    align-self:center!important;
    position:static!important;
}
body.tx-viewme-mode .tx-tiktok-account strong{
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
    box-shadow:none!important;
}
body.tx-viewme-mode .tx-viewme-description{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:baseline!important;
    column-gap:7px!important;
    min-width:0!important;
    max-width:100%!important;
    margin:1px 0 4px!important;
}
body.tx-viewme-mode .tx-viewme-description>p{
    display:block!important;
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    -webkit-box-orient:initial!important;
    font-size:.82rem!important;
    line-height:1.25!important;
}
body.tx-viewme-mode .tx-viewme-more{
    border:0!important;
    background:transparent!important;
    color:#fff!important;
    padding:0!important;
    margin:0!important;
    font-size:.74rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    white-space:nowrap!important;
    text-shadow:0 1px 4px #000!important;
}
body.tx-viewme-mode .tx-viewme-description.expanded{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    max-height:min(42dvh,330px)!important;
    overflow:hidden!important;
    margin:5px 0 7px!important;
    padding:10px 11px 8px!important;
    border-radius:12px!important;
    background:rgba(5,5,7,.88)!important;
    box-shadow:0 5px 22px rgba(0,0,0,.28)!important;
    backdrop-filter:blur(8px)!important;
    text-shadow:none!important;
}
body.tx-viewme-mode .tx-viewme-description.expanded>p{
    white-space:pre-wrap!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    text-overflow:clip!important;
    max-height:min(32dvh,250px)!important;
    padding:0 5px 4px 0!important;
    line-height:1.34!important;
    color:#fff!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin!important;
    touch-action:pan-y!important;
}
body.tx-viewme-mode .tx-viewme-description.expanded .tx-viewme-more{
    display:block!important;
    margin:7px 0 0 auto!important;
    color:#d9dce2!important;
}


/* R18-FIX6 · ViewMe: swipe rápido y carga/reproducción solo del reel visible. */
body.tx-viewme-mode #mediaFeed.tx-tiktok-feed{
    scroll-behavior:auto!important;
    scroll-snap-type:y mandatory!important;
    overscroll-behavior-y:none!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch!important;
}
body.tx-viewme-mode .tx-tiktok-card{
    scroll-snap-align:start!important;
    scroll-snap-stop:always!important;
}
body.tx-viewme-mode .tx-tiktok-card>video{
    pointer-events:auto!important;
    will-change:transform!important;
}

/* R18-FIX7 · identidad del comercio en modal de orden/pago */
.tx-order-commerce-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:12px 13px;box-shadow:0 5px 16px rgba(16,24,40,.05)}
.tx-order-commerce-main{display:flex;align-items:center;gap:11px;min-width:0;flex:1}
.tx-order-commerce-main>img{width:58px;height:58px;flex:0 0 58px;border-radius:50%;object-fit:contain;background:#d1d5db!important}
.tx-order-commerce-copy{display:grid;gap:2px;min-width:0}
.tx-order-commerce-copy>small{font-size:.67rem;color:#667085;font-weight:700}
.tx-order-commerce-copy h2{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0;font-size:1.04rem;line-height:1.12;font-weight:900;color:#101828}
.tx-order-commerce-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:#667085;font-size:.7rem;font-weight:750}
.tx-order-commerce-meta>span{display:inline-flex;align-items:center;gap:4px}
.tx-order-commerce-stars{color:#f5a623}
.tx-order-commerce-go{flex:0 0 auto;border-radius:999px!important;background:var(--tx-purple)!important;color:#fff!important;border:0!important;font-size:.76rem!important;font-weight:850!important;min-height:38px;padding:8px 14px!important}
.tx-order-commerce-card.compact{margin-bottom:13px;padding:10px 11px}
.tx-order-commerce-card.compact .tx-order-commerce-main>img{width:50px;height:50px;flex-basis:50px}
@media(max-width:520px){.tx-order-commerce-card{align-items:stretch;flex-direction:column}.tx-order-commerce-go{width:100%}.tx-order-commerce-meta{gap:7px}.tx-order-commerce-copy h2{font-size:.98rem}}

/* R18-FIX19 · presencia, nota de voz tipo WhatsApp y videollamada fullscreen */
.tx-avatar{position:relative}.tx-online-dot{position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#22c55e;border:2px solid #fff;box-shadow:0 0 0 1px #16a34a55}.tx-peer-status{font-size:11px;color:#667085;font-weight:600}.tx-peer-status.online,#chatPresence.online{color:#16a34a;font-weight:800}.tx-chat-person-copy #chatPresence{font-size:10px;line-height:1.1}
.tx-wa-audio{--voice-progress:0%;display:flex;align-items:center;gap:10px;min-width:min(300px,72vw);padding:4px 2px}.tx-wa-play{width:38px;height:38px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent;color:#455a64;font-size:18px;flex:0 0 auto}.tx-wa-audio-main{min-width:0;flex:1;position:relative}.tx-wa-wave{height:32px;display:flex;align-items:center;gap:2px;overflow:hidden}.tx-wa-wave span{display:block;width:3px;min-width:3px;border-radius:4px;background:#9aa3aa;transition:background .2s}.tx-wa-audio.is-played .tx-wa-wave span,.tx-wa-audio.is-played .tx-wa-play{color:#1687ff;background-color:transparent}.tx-wa-audio.is-played .tx-wa-wave span{background:#1687ff}.tx-wa-audio input[type=range]{position:absolute;left:0;right:0;top:3px;width:100%;height:28px;opacity:.001;cursor:pointer}.tx-wa-audio-time{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#667085;margin-top:1px}.tx-wa-audio.is-played .tx-wa-audio-time span:last-child{color:#1687ff;font-weight:700}
#callModal .modal-dialog{margin:0;max-width:none;width:100vw;height:100dvh}#callModal .modal-content{border:0;border-radius:0!important;height:100dvh}.tx-call-modal{height:100dvh!important;min-height:100dvh!important;border-radius:0!important;background:#0b141a!important;overflow:hidden!important}.tx-call-head{position:absolute!important;z-index:5;left:0;right:0;top:0;padding:max(18px,env(safe-area-inset-top)) 18px 38px!important;background:linear-gradient(180deg,#000b,transparent)!important;color:#fff!important}.tx-call-media{position:absolute!important;inset:0!important;border-radius:0!important;background:#0b141a!important}.tx-call-media video{width:100%!important;height:100%!important;object-fit:cover!important}.tx-local-media{position:absolute!important;right:14px!important;bottom:calc(102px + env(safe-area-inset-bottom))!important;top:auto!important;width:min(31vw,175px)!important;height:min(42vw,225px)!important;border-radius:16px!important;overflow:hidden!important;border:2px solid #ffffff80!important;box-shadow:0 10px 35px #0008!important;z-index:6!important;background:#111!important}.tx-local-media video{width:100%!important;height:100%!important;object-fit:cover!important}.tx-call-actions{position:absolute!important;z-index:7;left:0!important;right:0!important;bottom:0!important;padding:16px 16px calc(18px + env(safe-area-inset-bottom))!important;background:linear-gradient(0deg,#000c,transparent)!important;display:flex!important;justify-content:center!important;gap:20px!important}.tx-call-actions .btn{width:58px!important;height:58px!important;border-radius:50%!important;background:#ffffff2e!important;color:#fff!important;border:0!important}.tx-call-actions .btn.end{background:#e53935!important}.tx-call-avatar{color:#fff!important}

/* ===== R18-FIX20 · Cliente compacto + Marketplace + Chat estilo Telexpress/WhatsApp ===== */
:root{--tx-chat-green:#0b6b63;--tx-chat-green-dark:#07564f;--tx-chat-sent:#d8efff;--tx-chat-paper:#efeae2}
body{padding-top:70px!important}.tx-header{height:70px!important;padding:5px 14px!important;border-radius:0 0 14px 14px!important;border-bottom-width:4px!important}.tx-logo{height:46px!important;max-width:88px!important}.tx-icon-button{width:42px!important;height:42px!important}.tx-icon-button>i{font-size:23px!important}.tx-search{padding:10px 12px!important;border-radius:15px!important}.tx-search input{height:44px!important;font-size:15px!important}.tx-search button{width:48px!important;font-size:24px!important}
.tx-featured-categories{background:#fff;border-radius:18px;padding:14px 12px;margin:0 0 18px;box-shadow:0 5px 20px #1012180c}.tx-featured-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:12px}.tx-featured-title h2{margin:0;color:var(--tx-purple);font-size:1.05rem;font-weight:850}.tx-featured-title small{color:#7a8492;font-size:.68rem}.tx-featured-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.tx-featured-category{border:0;background:transparent;padding:0;display:grid;justify-items:center;gap:5px;min-width:0;color:#222}.tx-featured-category>span{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--cat,#2196F3) 15%,#fff);border:1px solid color-mix(in srgb,var(--cat,#2196F3) 40%,#fff);color:var(--cat,#2196F3);overflow:hidden;font-size:22px}.tx-featured-category img{width:100%;height:100%;object-fit:cover}.tx-featured-category b{font-size:.67rem;line-height:1.05;text-align:center;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.tx-product-rail-shell{position:relative}.tx-rail-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;border:0;width:36px;height:36px;border-radius:50%;background:#fff;color:var(--tx-purple);box-shadow:0 4px 16px #0003;display:grid;place-items:center}.tx-rail-arrow.left{left:4px}.tx-rail-arrow.right{right:4px}.tx-category-more{display:flex;justify-content:flex-end;padding:3px 5px 0}.tx-category-more button{border:0;background:transparent;color:var(--tx-purple);font-size:.78rem;font-weight:800;padding:6px}.tx-category-all-view{background:#f4f5f7;min-height:calc(100dvh - 136px)}.tx-category-all-head{display:flex;align-items:center;gap:12px;padding:6px 2px 16px}.tx-category-all-head h1{font-size:1.25rem;margin:0;color:var(--tx-purple)}.tx-category-all-head small{color:#7b8492}.tx-category-all-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.tx-category-all-grid .product-card{width:100%!important;min-width:0!important}
.tx-splash-dialog{max-width:min(900px,var(--splash-width,80vw))!important;width:var(--splash-width,80vw)!important;margin:auto!important}.tx-splash-card{--splash-width:80vw;border:0!important;border-radius:24px!important;background:transparent!important;overflow:visible!important;position:relative;box-shadow:none!important}.tx-splash-card>a{display:block;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 20px 80px #0007}.tx-splash-card img{display:block;width:100%;max-height:80dvh;object-fit:contain;background:#fff}.tx-splash-card span{min-height:45vh;display:grid;place-items:center;background:linear-gradient(135deg,var(--tx-electric),var(--tx-purple));color:#fff;font-size:2rem;font-weight:900}.tx-splash-close{position:absolute;z-index:4;right:-10px;top:-10px;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#111;box-shadow:0 5px 20px #0004}
/* Chat list WhatsApp-inspired */
#messagesView{padding:0!important;background:#fff;min-height:calc(100dvh - 136px)}#messagesView>.tx-page-title{padding:10px 14px!important;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric));color:#fff}#messagesView>.tx-page-title h1{color:#fff!important;font-size:1.2rem!important}.tx-conversation-list{gap:0!important;background:#fff}.tx-conversation-item{border-radius:0!important;box-shadow:none!important;padding:11px 14px!important;border-bottom:1px solid #eceff2!important;min-height:75px}.tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;flex:0 0 54px!important;position:relative;overflow:visible!important}.tx-conversation-item .tx-avatar>img{width:54px;height:54px;border-radius:50%;object-fit:cover}.tx-conversation-item h3{font-size:.96rem!important;font-weight:800!important;margin:0!important}.tx-conversation-item p{font-size:.78rem!important;color:#667085!important;margin-top:3px!important}.tx-conversation-item small{font-size:.66rem!important;color:#73808d}.tx-conversation-item.has-unread h3,.tx-conversation-item.has-unread small{color:#141b22!important}.tx-conversation-unread{background:#23b45d!important;color:#fff!important;min-width:21px;height:21px;border-radius:50%!important;display:inline-grid!important;place-items:center!important;font-size:.62rem!important;padding:0 5px!important}.tx-online-dot{position:absolute!important;right:0!important;bottom:2px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#20c76a!important;border:2px solid #fff!important}.tx-verification-badge{position:absolute;right:-3px;top:-3px;z-index:3;width:17px;height:17px;border-radius:50%;display:grid!important;place-items:center!important;color:#fff!important;font-size:9px!important;border:2px solid #fff}.tx-verification-badge.blue{background:#1d9bf0}.tx-verification-badge.silver{background:linear-gradient(145deg,#e7ebef,#8995a2)}.tx-verification-badge.gold{background:linear-gradient(145deg,#ffd75a,#b98500)}
/* Chat de pantalla completa, conserva colores Telexpress */
body.tx-chat-open{padding-top:0!important;padding-bottom:0!important;overflow:hidden!important}body.tx-chat-open>.tx-header,body.tx-chat-open>.tx-footer{display:none!important}.tx-chat-page.active{position:fixed!important;inset:0!important;z-index:2050!important;padding:0!important;display:grid!important;grid-template-rows:auto auto 1fr auto auto;background:var(--tx-chat-paper)!important}.tx-chat-page-head{min-height:70px!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric))!important;color:#fff!important;border-radius:0!important;display:flex!important;align-items:center!important;gap:8px!important}.tx-chat-back,.tx-chat-page-head .tx-round{color:#fff!important;background:transparent!important;border:0!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important}.tx-chat-avatar{width:44px!important;height:44px!important;flex:0 0 44px!important;border-radius:50%!important;border:0!important;padding:0!important;position:relative!important;overflow:visible!important;background:#fff2!important;color:#fff!important}.tx-chat-avatar>img{width:44px;height:44px;border-radius:50%;object-fit:cover}.tx-chat-person-copy{display:grid!important;min-width:0!important;line-height:1.08!important;flex:1!important}.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx-chat-person-copy small{display:none!important}.tx-chat-person-copy span{font-size:.68rem!important;color:#e7f5ff!important;margin-top:3px!important}.tx-chat-head-actions{display:flex!important;align-items:center!important;gap:1px!important}.tx-chat-messages-page{height:auto!important;min-height:0!important;background-color:#efeae2!important;background-image:radial-gradient(circle at 20px 20px,#d9d3ca55 2px,transparent 2.5px),radial-gradient(circle at 45px 48px,#d9d3ca44 1.5px,transparent 2px)!important;background-size:70px 70px!important;padding:12px 9px 18px!important;gap:3px!important;overflow-y:auto!important}.tx-bubble{max-width:82%!important;border-radius:8px!important;padding:6px 8px 5px!important;box-shadow:0 1px 1px #0002!important;font-size:.9rem!important;position:relative}.tx-bubble.mine{background:var(--tx-chat-sent)!important}.tx-bubble:not(.mine){background:#fff!important}.tx-bubble small{font-size:.61rem!important;margin-top:2px!important;color:#7d858c!important}.tx-bubble.mine small{color:#667781!important}.tx-message-form-page{padding:7px 7px calc(7px + env(safe-area-inset-bottom))!important;background:#f0f2f5!important;gap:5px!important;align-items:flex-end!important;display:flex!important;min-height:58px!important}.tx-message-form-page textarea{display:block!important;visibility:visible!important;opacity:1!important;min-height:43px!important;max-height:115px!important;flex:1!important;border:0!important;border-radius:22px!important;background:#fff!important;padding:11px 13px!important;resize:none!important;outline:none!important;font-size:.92rem!important}.tx-compose-icon,.tx-send-button{width:43px!important;height:43px!important;flex:0 0 43px!important;border-radius:50%!important;border:0!important;display:grid!important;place-items:center!important}.tx-compose-icon{background:#fff!important;color:#667781!important}.tx-send-button,.tx-compose-icon.tx-mic{background:var(--tx-electric)!important;color:#fff!important}.tx-attachment-menu{bottom:60px!important}.tx-voice-recorder{background:#f0f2f5!important}.tx-chat-reply{border-radius:0!important}
/* Perfil público simple, sin teléfono */
.tx-whatsapp-profile{text-align:center;padding:8px 6px}.tx-whatsapp-profile .tx-contact-profile-avatar{width:128px;height:128px;margin:0 auto 14px;position:relative}.tx-whatsapp-profile .tx-contact-profile-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.tx-whatsapp-profile .tx-verification-badge{width:28px;height:28px;font-size:14px;right:2px;top:auto;bottom:4px}.tx-profile-public-row{display:flex;text-align:left;gap:14px;padding:13px 8px;border-top:1px solid #edf0f3;align-items:center}.tx-profile-public-row>i{width:30px;text-align:center;color:var(--tx-electric);font-size:1.05rem}.tx-profile-public-row>div{display:grid}.tx-profile-public-row small{color:#7d8794;font-size:.68rem}.tx-profile-public-row strong{font-size:.88rem}
/* Linked devices */
.tx-linked-devices-view{padding:0!important;background:#f6f7f8;min-height:calc(100dvh - 136px)}.tx-linked-head{height:64px;background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-electric));color:#fff;display:flex;align-items:center;gap:10px;padding:0 12px}.tx-linked-head h1{font-size:1.18rem;margin:0;flex:1}.tx-linked-head .tx-compose-icon{background:transparent!important;color:#fff!important}.tx-linked-hero{background:#fff;padding:28px 24px 22px;text-align:center;border-bottom:10px solid #f3f4f6}.tx-linked-illustration{height:180px;max-width:420px;margin:auto;position:relative;color:var(--tx-blue-dark)}.tx-linked-illustration>.fa-laptop{font-size:125px;position:absolute;right:20px;bottom:15px;opacity:.72}.tx-linked-illustration>.fa-mobile-screen-button{font-size:78px;position:absolute;left:22px;bottom:28px;color:var(--tx-electric)}.tx-linked-illustration>span{position:absolute;left:40%;top:40px;width:55px;height:40px;border-radius:8px;background:var(--tx-purple);color:#fff;display:grid;place-items:center;transform:rotate(-8deg)}.tx-linked-hero p{max-width:560px;margin:0 auto 18px;color:#64717f}.tx-linked-button{width:min(100%,600px);border:0;border-radius:999px;background:var(--tx-purple);color:#fff;font-weight:800;padding:13px 20px}.tx-linked-status{background:#fff;padding:20px 18px}.tx-linked-status h2{font-size:.9rem;color:#54606c}.tx-linked-status>p{color:#697580;font-size:.82rem}.tx-linked-list{display:grid}.tx-linked-device-row{border-radius:0!important;box-shadow:none!important;border-top:1px solid #edf0f3!important;padding:15px 4px!important}.tx-linked-device-row .tx-device-icon{width:48px;height:48px;border-radius:50%;background:var(--tx-electric);color:#fff;display:grid;place-items:center;font-size:23px}.tx-linked-security{display:flex;gap:12px;align-items:flex-start;padding:20px;background:#f4f5f7;color:#6d7781;font-size:.77rem}.tx-linked-security i{color:var(--tx-purple)}
@media(max-width:700px){.tx-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}.tx-featured-category>span{width:43px;height:43px;font-size:18px}.tx-featured-category b{font-size:.58rem}.tx-category-all-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tx-category-all-grid .product-card{height:340px!important;min-height:340px!important}.tx-rail-arrow{width:32px;height:32px}.tx-splash-dialog{width:88vw!important;max-width:88vw!important}.tx-splash-card{--splash-width:88vw}.tx-chat-head-actions .tx-round{width:34px!important;height:34px!important}}

/* FIX21 · avatar circular, insignia junto al nombre, cámara y billetera */
.tx-avatar,.tx-chat-avatar,.tx-contact-card-avatar,.tx-contact-profile-avatar{border-radius:50%!important;overflow:hidden}.tx-avatar>img,.tx-chat-avatar>img,.tx-contact-card-avatar>img,.tx-contact-profile-avatar>img{width:100%!important;height:100%!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important}.tx-avatar .tx-verify-badge,.tx-chat-avatar .tx-verify-badge,.tx-contact-profile-avatar .tx-verify-badge{position:static!important}.tx-chat-name-line,#chatTitle{display:flex!important;align-items:center!important;gap:5px!important}.tx-chat-name-line .tx-verify-badge,#chatTitle .tx-verify-badge{margin:0!important;flex:0 0 auto}.tx-wallet-head-actions{display:flex;align-items:center;gap:8px}.tx-camera{color:var(--tx-purple)!important}.tx-message-form-page .tx-camera{background:#fff!important;color:#667781!important}@media(max-width:520px){.tx-wallet-head-actions{gap:5px}.tx-wallet-head-actions .btn{padding:8px 9px;font-size:.72rem}}

/* ==========================================================================
   FIX22 · Cliente y Driver comparten lista/chat móvil + footer permanente + QR
   ========================================================================== */
.tx-messages-list-view{padding:0!important;background:#fff!important;position:relative!important;min-height:calc(100dvh - 92px - 66px - var(--safe-bottom))!important}
.tx-chat-list-head{height:58px!important;padding:8px 13px!important;margin:0!important;background:linear-gradient(135deg,#003B7A,#0069C0)!important;color:#fff!important;border-radius:0!important}
.tx-chat-list-head h1{margin:0!important;color:#fff!important;font-size:1.22rem!important;font-weight:800!important}
.tx-chat-list-menu{width:40px;height:40px;border:0;border-radius:50%;background:transparent;color:#fff;display:grid;place-items:center;font-size:20px}
.tx-chat-list-dropdown{min-width:205px;border:0;border-radius:14px;padding:7px;box-shadow:0 14px 36px #10121826}.tx-chat-list-dropdown .dropdown-item{border-radius:10px;padding:10px 12px;font-weight:750;color:#17223b}.tx-chat-list-dropdown .dropdown-item i{width:20px;color:var(--tx-purple)}
.tx-conversation-list{display:grid!important;gap:0!important;background:#fff!important}
.tx-conversation-item{min-height:76px!important;border:0!important;border-bottom:1px solid #eceff2!important;border-radius:0!important;box-shadow:none!important;padding:10px 13px!important;gap:11px!important;background:#fff!important}
.tx-conversation-item.has-unread{background:#f7fbff!important}
.tx-conversation-item .tx-avatar{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;background:#d9dee3!important;position:relative!important;overflow:visible!important;padding:0!important;display:grid!important;place-items:center!important}
.tx-conversation-item .tx-avatar>img{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-conversation-item .grow{min-width:0!important;flex:1!important}.tx-conversation-item h3{font-size:.93rem!important;line-height:1.2!important;color:#111b21!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tx-conversation-item p{font-size:.76rem!important;line-height:1.25!important;color:#667781!important;margin-top:3px!important}.tx-conversation-item .tx-chat-list-time{font-size:.54rem!important;color:#667781!important;max-width:104px!important;text-align:right!important;line-height:1.15!important}.tx-peer-status{font-size:.61rem!important}.tx-conversation-unread{background:#20bf6b!important;margin-left:5px!important}.tx-online-dot{right:1px!important;bottom:1px!important;z-index:3!important}
.tx-new-chat-fab{position:fixed;right:17px;bottom:calc(66px + var(--safe-bottom) + 16px);z-index:1050;width:56px;height:56px;border:0;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--tx-electric),var(--tx-purple));color:#fff;font-size:21px;box-shadow:0 8px 22px #003b7a42}.tx-new-chat-fab>span{position:absolute;right:9px;top:6px;width:15px;height:15px;border-radius:50%;background:#fff;color:var(--tx-purple);font-size:13px;font-weight:900;line-height:15px}

/* Chat ocupa toda la pantalla útil, pero conserva el footer inferior. */
body.tx-chat-open{padding-top:0!important;padding-bottom:calc(66px + var(--safe-bottom))!important;overflow:hidden!important}
body.tx-chat-open>.tx-header{display:none!important}
body.tx-chat-open>.tx-footer{display:grid!important;visibility:visible!important;opacity:1!important;z-index:5000!important}
body.tx-chat-open .tx-main{max-width:none!important;margin:0!important}
.tx-chat-page.active{position:fixed!important;inset:0 0 calc(66px + var(--safe-bottom)) 0!important;z-index:4000!important;padding:0!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;background:#efeae2!important}
.tx-chat-page-head{min-height:68px!important;padding:8px!important;background:linear-gradient(135deg,#003B7A 0%,#0069C0 70%,#2196F3 100%)!important;color:#fff!important;border-radius:0!important;gap:7px!important}
.tx-chat-back,.tx-chat-page-head .tx-round{width:38px!important;height:38px!important;flex:0 0 38px!important;color:#fff!important;background:transparent!important;border:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
.tx-chat-avatar{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important;aspect-ratio:1/1!important;border-radius:50%!important;border:0!important;padding:0!important;overflow:hidden!important;background:#ffffff24!important;color:#fff!important;display:grid!important;place-items:center!important}
.tx-chat-avatar>img{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-chat-person-copy{line-height:1.05!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important}.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.1!important}.tx-chat-person-copy small{display:none!important}.tx-chat-person-copy span{display:block!important;color:#e9f6ff!important;font-size:.68rem!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tx-chat-person-copy span.online{color:#d7ffe8!important;font-weight:800!important}
.tx-chat-head-actions{display:flex!important;align-items:center!important;gap:0!important}
.tx-chat-messages-page{height:auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding:10px 8px 16px!important;gap:3px!important;background-color:#efeae2!important;background-image:url('../img/chat-doodle-bg.svg')!important;background-repeat:repeat!important;background-size:240px 240px!important;background-position:center!important}
.tx-message-row{width:100%!important;margin:0!important;padding:0 2px!important}.tx-message-row.incoming{display:flex!important;justify-content:flex-start!important}.tx-message-row.outgoing{display:flex!important;justify-content:flex-end!important}
.tx-bubble{position:relative!important;max-width:min(82%,560px)!important;border-radius:8px!important;padding:6px 8px 5px!important;background:#fff!important;box-shadow:0 1px 1px #00000024!important;font-size:.93rem!important;line-height:1.25!important;color:#111b21!important}.tx-bubble.received:before{content:"";position:absolute;left:-7px;top:0;border-top:8px solid #fff;border-left:8px solid transparent}.tx-bubble.mine{background:#dff3ff!important;border-radius:8px!important}.tx-bubble.mine:before{content:"";position:absolute;right:-7px;top:0;border-top:8px solid #dff3ff;border-right:8px solid transparent}
.tx-message-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:4px!important;margin-top:3px!important;min-height:14px!important;color:#667781!important}.tx-message-meta time{font-size:.56rem!important;line-height:1!important;white-space:nowrap!important;color:#667781!important}.tx-reply-button{width:20px!important;height:20px!important;border:0!important;background:transparent!important;color:#8a969d!important;padding:0!important;display:grid!important;place-items:center!important;font-size:10px!important}
.tx-message-form-page{margin:0!important;border-radius:0!important;box-shadow:none!important;background:#f0f2f5!important;min-height:58px!important;padding:7px 7px max(7px,env(safe-area-inset-bottom))!important;gap:3px!important;align-items:flex-end!important;display:flex!important}.tx-message-form-page textarea{height:43px!important;min-height:43px!important;max-height:108px!important;border-radius:22px!important;background:#fff!important;padding:11px 11px!important;font-size:.93rem!important;line-height:1.25!important}.tx-message-form-page .tx-compose-icon,.tx-message-form-page .tx-send-button{width:41px!important;height:41px!important;flex:0 0 41px!important}.tx-message-form-page .tx-compose-icon{background:#fff!important;color:#667781!important}.tx-message-form-page .tx-send-button,.tx-message-form-page .tx-mic{background:var(--tx-electric)!important;color:#fff!important}.tx-attachment-menu{bottom:54px!important}

/* Modal de vinculación compacto, con scroll interno y recuadro visible para QR. */
.tx-qr-link-dialog{width:min(94vw,500px)!important;max-width:500px!important;margin-left:auto!important;margin-right:auto!important}.tx-qr-link-dialog .modal-content{max-height:min(68dvh,620px)!important;border-radius:20px!important;overflow:hidden!important}.tx-qr-link-dialog .modal-body{overflow-y:auto!important;overscroll-behavior:contain!important;padding:15px!important}.tx-qr-help{font-size:.78rem;color:#667085;margin-bottom:10px}.tx-qr-capture{position:relative;height:230px;border-radius:16px;overflow:hidden;background:#14191f;display:grid;place-items:center}.tx-qr-video{width:100%!important;height:100%!important;object-fit:cover!important;background:#111!important;display:block!important}.tx-qr-video.d-none{display:none!important}.tx-qr-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#d5dce2;gap:5px;text-align:center;padding:20px}.tx-qr-placeholder i{font-size:30px}.tx-qr-placeholder strong{font-size:.9rem}.tx-qr-placeholder small{font-size:.7rem;color:#aeb8c2}.tx-qr-video:not(.d-none)~.tx-qr-placeholder{display:none}.tx-qr-frame{position:absolute;left:50%;top:50%;width:168px;height:168px;transform:translate(-50%,-50%);z-index:4;pointer-events:none}.tx-qr-frame span{position:absolute;width:34px;height:34px;border-color:#fff;border-style:solid}.tx-qr-frame span:nth-child(1){left:0;top:0;border-width:4px 0 0 4px}.tx-qr-frame span:nth-child(2){right:0;top:0;border-width:4px 4px 0 0}.tx-qr-frame span:nth-child(3){left:0;bottom:0;border-width:0 0 4px 4px}.tx-qr-frame span:nth-child(4){right:0;bottom:0;border-width:0 4px 4px 0}.tx-qr-status{font-size:.72rem!important;text-align:center!important;color:#667085!important;padding:7px 2px 1px!important}.tx-qr-manual{margin-top:13px;padding-top:12px;border-top:1px solid #e8ecf1}

@media(max-width:700px){.tx-messages-list-view{min-height:calc(100dvh - 86px - 66px - var(--safe-bottom))!important}.tx-bubble{max-width:86%!important}.tx-message-meta time{font-size:.52rem!important}.tx-qr-link-dialog .modal-content{max-height:66dvh!important}.tx-qr-capture{height:210px!important}}
/* FIX22 ajuste de fidelidad del composer: cápsula tipo referencia con emoji, clip y cámara. */
.tx-message-form-page .tx-message-input-shell{flex:1 1 auto;min-width:0;min-height:43px;display:flex;align-items:flex-end;background:#fff;border-radius:23px;padding:0 3px;box-shadow:0 1px 1px #00000010}
.tx-message-form-page .tx-message-input-shell textarea{flex:1 1 auto;width:auto!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:11px 5px!important;resize:none!important}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:36px!important;height:41px!important;min-width:36px!important;flex:0 0 36px!important;border:0!important;background:transparent!important;color:#667781!important;border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;font-size:18px!important}
.tx-message-form-page .tx-message-input-shell .tx-emoji{font-size:19px!important}.tx-message-form-page .tx-message-input-shell .tx-camera{background:transparent!important;color:#667781!important}
.tx-message-form-page>.tx-mic,.tx-message-form-page>.tx-send-button{width:43px!important;height:43px!important;min-width:43px!important;flex:0 0 43px!important;border-radius:50%!important;background:var(--tx-electric)!important;color:#fff!important;border:0!important;display:grid!important;place-items:center!important}

/* ==========================================================================
   R18-FIX23 · Chat Cliente/Driver unificado, composer siempre visible,
   encabezado de lista limpio y borrado por pulsación larga de 1 segundo.
   ========================================================================== */
#conversationSelectionBar{display:none!important}
#messagesView>.tx-chat-list-head,
.tx-chat-list-head{
  height:54px!important;min-height:54px!important;padding:6px 13px!important;margin:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  background:#fff!important;background-image:none!important;color:#0069C0!important;
  border:0!important;border-bottom:1px solid #e8edf2!important;border-radius:0!important;box-shadow:none!important;
}
#messagesView>.tx-chat-list-head h1,.tx-chat-list-head h1{
  margin:0!important;color:#0069C0!important;font-size:1.18rem!important;font-weight:850!important;line-height:1!important;
}
.tx-chat-list-menu{
  width:40px!important;height:40px!important;border:0!important;border-radius:50%!important;background:transparent!important;
  color:#0069C0!important;display:grid!important;place-items:center!important;font-size:20px!important;padding:0!important;
}
.tx-conversation-list{display:grid!important;gap:0!important;background:#fff!important;overflow:hidden!important}
.tx-conversation-item{
  position:relative!important;width:100%!important;min-height:76px!important;display:flex!important;align-items:center!important;
  gap:11px!important;padding:10px 13px!important;margin:0!important;border:0!important;border-bottom:1px solid #eceff2!important;
  border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;cursor:pointer!important;
  transition:padding-right .18s ease,background .18s ease!important;
}
.tx-conversation-item.has-unread{background:#f7fbff!important}
.tx-conversation-item .tx-avatar{
  width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  flex:0 0 54px!important;aspect-ratio:1/1!important;border-radius:50%!important;overflow:visible!important;background:#d9dee3!important;
  display:grid!important;place-items:center!important;color:#7F00B2!important;font-size:23px!important;padding:0!important;
}
.tx-conversation-item .tx-avatar>img{
  width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;
  aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important;
}
.tx-conversation-item .grow{flex:1 1 auto!important;min-width:0!important}
.tx-conversation-item h3{font-size:.93rem!important;line-height:1.18!important;color:#111b21!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important}
.tx-conversation-item p{font-size:.76rem!important;line-height:1.22!important;color:#667781!important;margin:4px 0 0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-chat-list-time{font-size:.56rem!important;color:#667781!important;line-height:1.15!important;white-space:normal!important;text-align:right!important;max-width:112px!important}
.tx-chat-row-trash{
  position:absolute!important;right:0!important;top:0!important;bottom:0!important;width:58px!important;border:0!important;border-left:1px solid #efd4d4!important;
  background:#fff1f1!important;color:#c62828!important;font-size:20px!important;display:grid!important;place-items:center!important;
  transform:translateX(105%)!important;opacity:0!important;pointer-events:none!important;transition:transform .2s ease,opacity .2s ease!important;z-index:4!important;
}
.tx-conversation-item.is-delete-ready{padding-right:70px!important;background:#fffafa!important}
.tx-conversation-item.is-delete-ready .tx-chat-row-trash{transform:translateX(0)!important;opacity:1!important;pointer-events:auto!important}
.tx-conversation-item.is-delete-ready .tx-chat-row-trash:active{background:#ffe3e3!important}

/* Conversación: mismo layout visual que Driver y composer anclado sobre el footer. */
body.tx-chat-open{padding-top:0!important;padding-bottom:calc(66px + var(--safe-bottom))!important;overflow:hidden!important}
body.tx-chat-open>.tx-header{display:none!important}
body.tx-chat-open>.tx-footer{display:grid!important;visibility:visible!important;opacity:1!important;z-index:5000!important}
body.tx-chat-open .tx-main{max-width:none!important;margin:0!important;height:auto!important;overflow:visible!important}
#chatView.tx-chat-page.active{
  position:fixed!important;inset:0 0 calc(66px + var(--safe-bottom)) 0!important;z-index:4000!important;padding:0!important;
  display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto auto!important;min-height:0!important;height:auto!important;
  background:#efeae2!important;overflow:hidden!important;
}
.tx-chat-page-head{
  min-height:68px!important;height:68px!important;padding:7px 8px!important;margin:0!important;display:flex!important;align-items:center!important;
  gap:7px!important;background:linear-gradient(135deg,#003B7A 0%,#0069C0 70%,#2196F3 100%)!important;color:#fff!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden!important;
}
.tx-chat-back,.tx-chat-page-head .tx-round{
  width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important;border:0!important;border-radius:50%!important;
  background:transparent!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;font-size:18px!important;
}
.tx-chat-avatar{
  width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;
  flex:0 0 44px!important;aspect-ratio:1/1!important;border-radius:50%!important;border:0!important;padding:0!important;overflow:hidden!important;
  background:#ffffff2b!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:20px!important;
}
.tx-chat-avatar>img{width:44px!important;height:44px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;display:block!important}
.tx-chat-person-copy{flex:1 1 auto!important;min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important;line-height:1.05!important;overflow:hidden!important}
.tx-chat-person-copy strong{font-size:1rem!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;line-height:1.08!important}
.tx-chat-person-copy small{display:none!important}.tx-chat-person-copy span{display:block!important;color:#e9f6ff!important;font-size:.68rem!important;margin-top:4px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tx-chat-person-copy span.online{color:#d7ffe8!important;font-weight:800!important}
.tx-chat-head-actions{margin-left:auto!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:0!important;white-space:nowrap!important}
.tx-chat-head-actions>.tx-round,.tx-chat-head-actions>.dropdown>.tx-round{width:38px!important;height:38px!important;min-width:38px!important;flex:0 0 38px!important}
.tx-chat-messages-page{
  min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;
  padding:10px 8px 16px!important;gap:3px!important;background-color:#efeae2!important;background-image:url('../img/chat-doodle-bg.svg')!important;
  background-repeat:repeat!important;background-size:240px 240px!important;background-position:center!important;
}
#chatView.active #messageForm.tx-message-form-page:not(.d-none){
  display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:20!important;flex:0 0 auto!important;
  width:100%!important;min-height:58px!important;margin:0!important;padding:7px!important;border:0!important;border-radius:0!important;
  background:#f0f2f5!important;box-shadow:0 -1px 0 #dfe3e6!important;align-items:flex-end!important;gap:4px!important;
}
.tx-message-form-page .tx-message-input-shell{
  flex:1 1 auto!important;min-width:0!important;min-height:43px!important;display:flex!important;align-items:flex-end!important;background:#fff!important;
  border-radius:23px!important;padding:0 3px!important;box-shadow:0 1px 1px #00000010!important;
}
.tx-message-form-page .tx-message-input-shell textarea{
  flex:1 1 auto!important;width:auto!important;height:43px!important;min-height:43px!important;max-height:108px!important;border:0!important;outline:0!important;
  box-shadow:none!important;background:transparent!important;border-radius:0!important;padding:11px 5px!important;resize:none!important;font-size:.93rem!important;line-height:1.25!important;
}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{
  width:36px!important;height:41px!important;min-width:36px!important;flex:0 0 36px!important;border:0!important;background:transparent!important;color:#667781!important;
  border-radius:50%!important;padding:0!important;display:grid!important;place-items:center!important;font-size:18px!important;
}
.tx-message-form-page>.tx-mic,.tx-message-form-page>.tx-send-button{
  width:43px!important;height:43px!important;min-width:43px!important;flex:0 0 43px!important;border-radius:50%!important;background:#2196F3!important;
  color:#fff!important;border:0!important;display:grid!important;place-items:center!important;padding:0!important;
}
#voiceRecorderBar:not(.d-none){display:flex!important;position:relative!important;z-index:20!important;min-height:58px!important}
@media(max-width:420px){.tx-chat-page-head{gap:4px!important;padding-left:5px!important;padding-right:5px!important}.tx-chat-back,.tx-chat-page-head .tx-round,.tx-chat-head-actions>.tx-round,.tx-chat-head-actions>.dropdown>.tx-round{width:35px!important;height:35px!important;min-width:35px!important;flex-basis:35px!important}.tx-chat-avatar{width:42px!important;height:42px!important;min-width:42px!important;flex-basis:42px!important}.tx-chat-avatar>img{width:42px!important;height:42px!important}.tx-chat-person-copy strong{font-size:.92rem!important}}

/* ==========================================================================
   R18-FIX24 · Composer inferior garantizado + dropdown del chat por encima del fondo
   ========================================================================== */
/* El DOM tiene reply y voice opcionales. Se asignan filas explícitas para que
   display:none nunca desplace el composer fuera de la pantalla. */
#chatView.tx-chat-page.active{
  grid-template-rows:auto auto minmax(0,1fr) auto!important;
  grid-template-columns:minmax(0,1fr)!important;
}
#chatView.tx-chat-page.active>.tx-chat-page-head{grid-row:1!important;grid-column:1!important;position:relative!important;overflow:visible!important;z-index:120!important}
#chatView.tx-chat-page.active>#chatReplyBar{grid-row:2!important;grid-column:1!important;position:relative!important;z-index:30!important}
#chatView.tx-chat-page.active>#chatMessages{grid-row:3!important;grid-column:1!important;min-height:0!important;max-height:none!important;align-self:stretch!important}
#chatView.tx-chat-page.active>#voiceRecorderBar,
#chatView.tx-chat-page.active>#messageForm{grid-row:4!important;grid-column:1!important;align-self:end!important}
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page{
  display:flex!important;visibility:visible!important;opacity:1!important;
  width:100%!important;min-width:0!important;min-height:58px!important;max-height:138px!important;
  position:relative!important;inset:auto!important;z-index:90!important;overflow:visible!important;
}
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page.d-none{display:none!important}
#chatView.tx-chat-page.active>#voiceRecorderBar:not(.d-none){display:flex!important;z-index:91!important}
/* Bootstrap/Popper debe poder pintar el menú de los tres puntos sobre el fondo. */
#chatView .tx-chat-page-head .tx-chat-head-actions,
#chatView .tx-chat-page-head .tx-chat-head-actions>.dropdown{position:relative!important;overflow:visible!important;z-index:130!important}
#chatView .tx-chat-page-head .dropdown-menu{z-index:12050!important;max-height:min(62dvh,420px)!important;overflow-y:auto!important;overflow-x:hidden!important}

/* ========================================================================== 
   R18-FIX25 · Composer visual 1:1 con la referencia móvil (Cliente)
   Mantiene emoji + texto + clip + cámara dentro de una cápsula blanca y
   micrófono/envío circular independiente a la derecha. No altera el resto.
   ========================================================================== */
#chatView.tx-chat-page.active>#messageForm.tx-message-form-page{
  min-height:56px!important;
  max-height:56px!important;
  height:56px!important;
  padding:6px 7px!important;
  margin:0!important;
  gap:6px!important;
  align-items:center!important;
  background:#efeae2!important;
  box-shadow:none!important;
  border:0!important;
  overflow:visible!important;
}
.tx-message-form-page .tx-message-input-shell{
  flex:1 1 auto!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  display:flex!important;
  align-items:center!important;
  overflow:visible!important;
  background:#fff!important;
  border:0!important;
  border-radius:22px!important;
  padding:0 2px!important;
  box-shadow:0 1px 2px rgba(17,27,33,.12)!important;
}
.tx-message-form-page .tx-message-input-shell textarea{
  flex:1 1 auto!important;
  width:1%!important;
  min-width:0!important;
  height:44px!important;
  min-height:44px!important;
  max-height:44px!important;
  margin:0!important;
  padding:11px 4px 10px!important;
  border:0!important;
  border-radius:0!important;
  outline:0!important;
  resize:none!important;
  overflow-y:hidden!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#111b21!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:22px!important;
  font-family:inherit!important;
}
.tx-message-form-page .tx-message-input-shell textarea::placeholder{color:#8a949b!important;opacity:1!important}
.tx-message-form-page .tx-message-input-shell>.tx-compose-icon,
.tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{
  width:36px!important;
  height:44px!important;
  min-width:36px!important;
  min-height:44px!important;
  flex:0 0 36px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:transparent!important;
  color:#667781!important;
  box-shadow:none!important;
  font-size:18px!important;
  line-height:1!important;
}
.tx-message-form-page .tx-message-input-shell>.tx-emoji{font-size:19px!important}
.tx-message-form-page .tx-message-input-shell>.tx-camera{font-size:17px!important}
.tx-message-form-page .tx-attachment-wrap{
  position:relative!important;
  width:36px!important;
  height:44px!important;
  min-width:36px!important;
  flex:0 0 36px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.tx-message-form-page>.tx-mic,
.tx-message-form-page>.tx-send-button{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  flex:0 0 44px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:var(--tx-electric)!important;
  color:#fff!important;
  box-shadow:0 1px 2px rgba(17,27,33,.18)!important;
  font-size:18px!important;
  line-height:1!important;
}
.tx-message-form-page>.tx-send-button{font-size:16px!important}
.tx-message-form-page>.tx-mic.d-none,
.tx-message-form-page>.tx-send-button.d-none{display:none!important}
@media(max-width:360px){
  #chatView.tx-chat-page.active>#messageForm.tx-message-form-page{padding-left:5px!important;padding-right:5px!important;gap:5px!important}
  .tx-message-form-page .tx-message-input-shell>.tx-compose-icon,
  .tx-message-form-page .tx-message-input-shell>.tx-attachment-wrap>.tx-compose-icon{width:34px!important;min-width:34px!important;flex-basis:34px!important}
  .tx-message-form-page .tx-attachment-wrap{width:34px!important;min-width:34px!important;flex-basis:34px!important}
}


/* ==========================================================================
   R18-FIX26 · Dispositivos, estados en tiempo real, recibos, audio, media y emojis
   ========================================================================== */
/* "Dispositivos vinculados": mismo tratamiento limpio que "Mensajes", sin cinta. */
.tx-linked-head{
  height:64px!important;
  min-height:64px!important;
  background:#fff!important;
  color:var(--tx-electric)!important;
  border-bottom:1px solid #e7ebef!important;
  box-shadow:none!important;
}
.tx-linked-head h1{color:var(--tx-electric)!important;font-weight:800!important}
.tx-linked-head .tx-compose-icon{background:transparent!important;color:var(--tx-electric)!important}

/* Actividad del interlocutor. */
#chatPresence.tx-chat-activity{color:#fff!important;font-weight:700!important;opacity:1!important}

/* Recibos: 1 enviado, 2 entregado, 3 leído. */
.tx-receipt{
  display:inline-flex!important;
  align-items:center!important;
  gap:0!important;
  min-width:auto!important;
  color:#7a858e!important;
  font-size:10px!important;
  line-height:1!important;
}
.tx-receipt i{display:block!important;margin:0!important}
.tx-receipt i+i{margin-left:-1px!important}
.tx-receipt.sent,.tx-receipt.delivered{color:#7a858e!important}
.tx-receipt.read{color:var(--tx-electric)!important}

/* Una nota escuchada queda identificada visualmente en azul, sin texto "Escuchado". */
.tx-wa-audio.is-played{
  background:rgba(33,150,243,.10)!important;
  border:1px solid rgba(33,150,243,.24)!important;
  border-radius:11px!important;
  padding:5px 7px!important;
}
.tx-wa-audio.is-played .tx-wa-wave span,
.tx-wa-audio.is-played .tx-wa-play,
.tx-wa-audio.is-played .tx-wa-audio-time span:last-child{color:var(--tx-electric)!important}
.tx-wa-audio.is-played .tx-wa-wave span{background:var(--tx-electric)!important}

/* Selector de emojis completo, contenido dentro de la pantalla y encima del composer. */
#messageForm{position:relative!important;overflow:visible!important}
.tx-emoji-picker{
  position:absolute!important;
  left:6px!important;
  bottom:calc(100% + 6px)!important;
  width:min(430px,calc(100vw - 18px))!important;
  height:min(330px,46dvh)!important;
  max-height:330px!important;
  display:grid!important;
  grid-template-rows:48px minmax(0,1fr)!important;
  background:#fff!important;
  border:1px solid #dfe4e8!important;
  border-radius:16px!important;
  box-shadow:0 12px 34px rgba(17,27,33,.24)!important;
  overflow:hidden!important;
  z-index:14000!important;
}
.tx-emoji-tabs{
  display:flex!important;
  align-items:center!important;
  gap:2px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding:4px 5px!important;
  border-bottom:1px solid #edf0f2!important;
  scrollbar-width:none!important;
}
.tx-emoji-tabs::-webkit-scrollbar{display:none!important}
.tx-emoji-tabs button{
  flex:0 0 42px!important;width:42px!important;height:38px!important;
  border:0!important;border-radius:9px!important;background:transparent!important;
  display:grid!important;place-items:center!important;font-size:20px!important;
}
.tx-emoji-tabs button.active{background:#eaf5ff!important}
.tx-emoji-grid{
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  align-content:start!important;
  gap:1px!important;
  padding:7px!important;
  overscroll-behavior:contain!important;
}
.tx-emoji-grid button{
  border:0!important;background:transparent!important;border-radius:8px!important;
  min-width:0!important;height:39px!important;padding:0!important;
  display:grid!important;place-items:center!important;font-size:25px!important;line-height:1!important;
}
.tx-emoji-grid button:active,.tx-emoji-grid button:hover{background:#f0f4f7!important}
@media(max-width:430px){
  .tx-emoji-picker{left:4px!important;width:calc(100vw - 12px)!important;height:min(315px,44dvh)!important}
  .tx-emoji-grid{grid-template-columns:repeat(7,minmax(0,1fr))!important}
}

/* Visor de imagen/video: ocupa el viewport disponible, sin scroll y con object-fit contain. */
#chatMediaViewerModal{
  overflow:hidden!important;
  padding:0!important;
}
#chatMediaViewerModal .modal-dialog{
  width:100vw!important;
  max-width:100vw!important;
  height:100dvh!important;
  max-height:100dvh!important;
  margin:0!important;
}
#chatMediaViewerModal .modal-content.tx-media-viewer-modal{
  width:100%!important;height:100%!important;max-height:100dvh!important;
  overflow:hidden!important;border-radius:0!important;
}
#chatMediaViewerModal .tx-media-viewer-stage{
  width:100%!important;height:100%!important;min-height:0!important;
  overflow:hidden!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
#chatMediaViewerModal .tx-media-viewer-stage img,
#chatMediaViewerModal .tx-media-viewer-stage video{
  width:auto!important;height:auto!important;
  max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;
}

/* Preview antes de enviar imagen/video + comentario: todo cabe sin scroll. */
#chatAttachmentPreviewModal{overflow:hidden!important;padding:0!important}
#chatAttachmentPreviewModal .modal-dialog{
  width:min(760px,calc(100vw - 16px))!important;
  max-width:760px!important;
  height:min(94dvh,760px)!important;
  max-height:94dvh!important;
  margin:auto!important;
}
#chatAttachmentPreviewModal .modal-content{
  width:100%!important;height:100%!important;max-height:94dvh!important;
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;
  overflow:hidden!important;
}
#chatAttachmentPreviewModal .modal-body{
  min-height:0!important;overflow:hidden!important;
  display:grid!important;grid-template-rows:minmax(0,1fr) auto auto!important;
  align-content:stretch!important;
}
#chatAttachmentPreviewModal .tx-attachment-preview{
  min-height:0!important;height:100%!important;max-height:none!important;
  overflow:hidden!important;padding:8px!important;
}
#chatAttachmentPreviewModal .tx-attachment-preview-image,
#chatAttachmentPreviewModal .tx-attachment-preview-video{
  width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;
}
#chatAttachmentPreviewModal textarea{max-height:72px!important;resize:none!important}
@media(max-height:620px){
  #chatAttachmentPreviewModal .modal-dialog{height:calc(100dvh - 10px)!important;max-height:calc(100dvh - 10px)!important}
  #chatAttachmentPreviewModal .modal-content{max-height:calc(100dvh - 10px)!important}
  #chatAttachmentPreviewModal .modal-header{padding-top:8px!important;padding-bottom:8px!important}
  #chatAttachmentPreviewModal .modal-footer{padding-top:7px!important;padding-bottom:7px!important}
  #chatAttachmentPreviewModal .modal-body{padding-top:8px!important;padding-bottom:8px!important}
}
.tx-receipt-checks{display:inline-flex!important;align-items:center!important;gap:0!important}


/* ==========================================================================
   R18-FIX27 · Flecha visible en Dispositivos vinculados
   ========================================================================== */
#devicesView .tx-linked-head .tx-chat-back{
  color:#667085!important;
  background:transparent!important;
}
#devicesView .tx-linked-head .tx-chat-back i{color:#667085!important}
#devicesView .tx-linked-head .tx-chat-back:hover,
#devicesView .tx-linked-head .tx-chat-back:focus-visible{
  color:#475467!important;
  background:#f2f4f7!important;
}

/* ==========================================================================
   R18-FIX28 · Menú del clip siempre dentro del viewport (Cliente)
   Abre hacia la izquierda desde el clip y nunca puede desbordar horizontalmente.
   ========================================================================== */
.tx-message-form-page .tx-attachment-wrap>.tx-attachment-menu{
  left:auto!important;
  right:0!important;
  width:min(205px,calc(100vw - 16px))!important;
  min-width:0!important;
  max-width:calc(100vw - 16px)!important;
  box-sizing:border-box!important;
  transform:none!important;
  overflow-x:hidden!important;
}
@media(max-width:700px){
  .tx-message-form-page .tx-attachment-wrap>.tx-attachment-menu{
    left:auto!important;
    right:max(8px,env(safe-area-inset-right,0px))!important;
    width:min(205px,calc(100vw - 16px))!important;
    max-width:calc(100vw - 16px)!important;
  }
}

/* R18-FIX29 · Pedidos activos, seguimiento horizontal y encuesta de satisfacción */
.tx-orders-filter{display:grid;grid-template-columns:minmax(180px,1fr) minmax(170px,.8fr) auto;gap:10px;align-items:end;margin:0 0 14px;padding:12px;background:#fff;border:1px solid #e8ebef;border-radius:16px;box-shadow:0 4px 16px #10121809}.tx-orders-filter label{display:grid;gap:5px;margin:0}.tx-orders-filter label>span{font-size:.68rem;font-weight:850;color:#475467}.tx-orders-filter .btn{min-height:38px}.tx-order-card-bottom span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:8px}.tx-order-tracking-block{overflow:hidden}.tx-order-progress-horizontal{display:grid;grid-template-columns:repeat(6,minmax(72px,1fr));position:relative;overflow-x:auto;padding:8px 2px 4px;scrollbar-width:thin}.tx-order-progress-horizontal:before{content:"";position:absolute;left:8%;right:8%;top:28px;height:3px;background:#e5e7eb;border-radius:99px}.tx-order-progress-stop{position:relative;z-index:1;display:grid;justify-items:center;gap:6px;min-width:72px;text-align:center}.tx-order-progress-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;color:#98a2b3;border:3px solid #fff;box-shadow:0 0 0 2px #e5e7eb;font-size:1rem}.tx-order-progress-stop.reached .tx-order-progress-icon{background:var(--tx-purple);color:#fff;box-shadow:0 0 0 2px #cba6db}.tx-order-progress-stop.current .tx-order-progress-icon{background:var(--tx-electric,#2196f3);box-shadow:0 0 0 3px #b9dcfb,0 5px 14px #2196f334}.tx-order-progress-stop small{font-size:.56rem;line-height:1.18;color:#667085;max-width:84px}.tx-review-modal .modal-content{overflow:hidden}.tx-review-modal-head{background:linear-gradient(135deg,var(--tx-blue-dark),var(--tx-purple));color:#fff}.tx-review-modal-head small{display:block;font-size:.66rem;opacity:.78;text-transform:uppercase;letter-spacing:.08em}.tx-review-order-card{display:grid;grid-template-columns:58px 1fr;gap:11px;align-items:center;background:#f7f8fb;border-radius:15px;padding:11px;margin-bottom:16px}.tx-review-order-card img{width:58px;height:58px;border-radius:50%;object-fit:cover;background:#fff;border:1px solid #e5e7eb}.tx-review-order-card>div{display:grid}.tx-review-order-card small{color:#667085}.tx-review-order-card strong{font-size:1rem;color:#202124}.tx-review-rating-group{padding:14px 0;border-bottom:1px solid #edf0f3}.tx-review-rating-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px}.tx-review-rating-head strong{font-size:.86rem}.tx-review-rating-head span{font-size:.65rem;color:#667085}.tx-review-stars{display:flex;justify-content:center;gap:8px}.tx-review-stars button{border:0;background:transparent;color:#d0d5dd;font-size:2rem;line-height:1;padding:3px;transition:.15s;filter:drop-shadow(0 2px 3px #00000012)}.tx-review-stars button.active{color:#ffb703;transform:scale(1.06)}.tx-review-driver-identity{display:flex;align-items:center;gap:10px;padding-top:13px}.tx-review-driver-identity>span{width:46px;height:46px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef3f8;color:var(--tx-purple);font-size:1.2rem}.tx-review-driver-identity img{width:100%;height:100%;object-fit:cover}.tx-review-driver-identity>div{display:grid}.tx-review-driver-identity small{font-size:.62rem;color:#667085}.tx-review-driver-identity strong{font-size:.82rem}.tx-review-media-picker{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.tx-review-media-picker small{font-size:.65rem;color:#667085}.tx-review-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:8px;margin-top:10px}.tx-review-media-preview{position:relative;border:1px solid #e5e7eb;border-radius:12px;padding:5px;background:#fff;min-width:0}.tx-review-media-preview>div{height:82px;border-radius:8px;overflow:hidden;background:#eef2f6}.tx-review-media-preview img,.tx-review-media-preview video{width:100%;height:100%;object-fit:cover}.tx-review-media-preview span{display:block;font-size:.56rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px;padding-right:20px}.tx-review-media-preview button{position:absolute;right:5px;top:5px;width:25px;height:25px;border:0;border-radius:50%;background:#202124d9;color:#fff}.tx-review-modal .modal-dialog{max-width:min(720px,calc(100vw - 20px));margin:10px auto}.tx-review-modal .modal-content{max-height:calc(100dvh - 20px)}.tx-review-modal .modal-body{overflow-y:auto;overscroll-behavior:contain}.tx-review-modal .modal-footer{background:#fff;position:sticky;bottom:0;z-index:2}
@media(max-width:640px){.tx-orders-filter{grid-template-columns:1fr 1fr}.tx-orders-filter .btn{grid-column:1/-1}.tx-order-progress-horizontal{grid-template-columns:repeat(6,72px)}.tx-review-stars{gap:4px}.tx-review-stars button{font-size:1.75rem}.tx-review-rating-head{align-items:flex-start;flex-direction:column;gap:2px}.tx-review-modal .modal-dialog{max-width:calc(100vw - 12px);margin:6px auto}.tx-review-modal .modal-content{max-height:calc(100dvh - 12px)}}
@media(max-width:420px){.tx-orders-filter{grid-template-columns:1fr}.tx-orders-filter .btn{grid-column:auto}.tx-order-card-bottom{align-items:flex-end}.tx-order-card-bottom span{white-space:normal}.tx-review-media-grid{grid-template-columns:repeat(2,1fr)}}


/* ==========================================================================
   R18-FIX31 · título Mensajes uniforme + cabecera chat siempre visible
   ========================================================================== */
#messagesView>.tx-chat-list-head{
  height:auto!important;min-height:52px!important;padding:5px 3px 14px!important;margin:0 10px!important;
  background:transparent!important;background-image:none!important;color:var(--tx-purple)!important;
  border:0!important;box-shadow:none!important;border-radius:0!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
}
#messagesView>.tx-chat-list-head h1{
  margin:0!important;color:var(--tx-purple)!important;font-size:26px!important;font-weight:700!important;line-height:1.2!important;
}
#messagesView>.tx-chat-list-head .tx-chat-list-menu{color:var(--tx-purple)!important;background:transparent!important;}
body.tx-chat-open #chatView.tx-chat-page.active>.tx-chat-page-head{
  position:sticky!important;top:0!important;left:0!important;right:0!important;z-index:14500!important;
  align-self:start!important;width:100%!important;flex:0 0 auto!important;overflow:visible!important;
}
body.tx-chat-open #chatView.tx-chat-page.active>#chatMessages{overscroll-behavior:contain!important;min-height:0!important;}
/* R18-FIX34 · saldo interno visible en checkout */
.tx-wallet-checkout-balance{display:flex;align-items:center;gap:12px;background:#f4edff;border:1px solid rgba(127,0,178,.18);border-radius:16px;padding:13px 15px;margin-bottom:14px;color:#24112d}.tx-wallet-checkout-balance>i{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#7f00b2;color:#fff;font-size:1.05rem}.tx-wallet-checkout-balance div{display:flex;flex-direction:column;min-width:0}.tx-wallet-checkout-balance small{color:#666}.tx-wallet-checkout-balance strong{font-size:1.25rem;color:#7f00b2}

/* R18-FIX36 · acciones de Mi cartera inmediatamente debajo del título */
.tx-wallet-view>.tx-page-title{padding-bottom:8px!important}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px!important;width:100%}
.tx-wallet-action-grid .btn{min-width:0;min-height:66px;border-radius:15px!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;font-weight:800;white-space:nowrap}
.tx-wallet-action-grid .btn i{font-size:20px;margin:0!important}
.tx-wallet-action-grid .btn span{font-size:.78rem}
@media(max-width:420px){.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{gap:7px}.tx-wallet-action-grid .btn{padding:8px 5px!important}.tx-wallet-action-grid .btn span{font-size:.7rem}}

/* ==========================================================================
   R18-FIX37 · órdenes finalizadas no admiten reapertura ni pago
   ========================================================================== */
.tx-order-final-notice{
  display:flex;align-items:center;gap:10px;margin:12px 0;padding:12px 14px;
  border-radius:14px;background:#f4f4f5;border:1px solid #e4e4e7;color:#52525b;
  font-size:.78rem;font-weight:700;
}
.tx-order-final-notice i{color:#71717a}

/* ==========================================================================
   R18-FIX38 · capas, llamadas, cartera, banners y opciones de producto
   ========================================================================== */
body .modal{z-index:2147482000!important}
body .modal-backdrop{z-index:2147481900!important}
#callModal{z-index:2147483300!important}
.tx-incoming-call{z-index:2147483350!important}
#callModal .modal-dialog,#callModal .modal-content{height:100dvh!important;max-height:100dvh!important}
.tx-call-head{display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;padding-top:max(18px,env(safe-area-inset-top))!important}
.tx-call-id-avatar{width:66px;height:66px;flex:0 0 66px;border-radius:50%;overflow:hidden;background:#ffffff1c;display:grid;place-items:center;font-size:1.6rem}
.tx-call-id-avatar img{width:100%;height:100%;object-fit:cover}
.tx-call-id-copy{display:grid;gap:2px;text-align:left}.tx-call-id-copy h2{margin:0}.tx-call-id-copy #callStatus{display:block}
.tx-wallet-view>.tx-wallet-head-actions.tx-wallet-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.tx-wallet-action-grid .btn{height:58px!important;min-height:58px!important;padding:0!important;display:grid!important;place-items:center!important}
.tx-wallet-action-grid .btn i{font-size:1.55rem!important}
.tx-wallet-action-grid .btn span{display:none!important}
.tx-wallet-directory-panel{position:relative!important;overflow:visible!important}.tx-wallet-directory-panel>.tx-wallet-panel-head{padding-right:54px!important}
.tx-wallet-directory-panel .tx-wallet-directory-add{position:absolute!important;top:-1px!important;right:-1px!important;width:48px!important;height:48px!important;border:0!important;border-radius:0 16px 0 16px!important;background:var(--tx-electric)!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;z-index:3!important}.tx-wallet-directory-panel .tx-wallet-directory-add i{margin:0!important;font-size:1.3rem!important}
.tx-market-banner .tx-banner-track,.tx-market-banner .tx-banner-slide{height:100%!important;min-height:100%!important}.tx-market-banner .tx-banner-slide img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important}
#productModal .tx-product-options{padding-top:28px!important}#productModal .tx-product-options>.tx-product-section-title{margin-top:0!important}

/* R18-FIX39 llamadas: identidad, audio bidireccional y capa superior */
#callModal{z-index:2147483500!important}#callModal+.modal-backdrop,.modal-backdrop:has(+ #callModal){z-index:2147483490!important}.tx-call-id-copy #callPeerName .tx-verify-badge,.tx-incoming-call-copy .tx-verify-badge{display:inline-block;vertical-align:middle;margin-left:4px}.tx-call-media audio[data-tx-call-audio]{position:absolute!important;width:1px!important;height:1px!important;opacity:.001!important;pointer-events:none!important}.tx-call-actions{flex-wrap:nowrap!important}.tx-call-actions .btn{flex:0 0 58px!important}


/* ==========================================================================
   TELEXPRESS FULL V5 · catálogo Mostrar todo + ajuste integral de imágenes
   ========================================================================== */
.tx-category-all-grid{display:grid!important;grid-template-columns:repeat(auto-fill,252px)!important;justify-content:center!important;align-items:stretch!important;gap:18px!important}
/* La card de “Mostrar todo” no redefine alto, contenido ni botón: hereda exactamente
   la misma .product-card que se usa en el carrusel de la página principal. */
.tx-category-all-grid .product-card{width:100%!important;min-width:0!important;max-width:none!important}
.product-card .product-image img,#productModal .product-modal-image-frame img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:fill!important;object-position:center!important}
@media(max-width:700px){.tx-category-all-grid{grid-template-columns:repeat(auto-fill,252px)!important;gap:18px!important}}


/* ==========================================================================\n   TELEXPRESS FULL V6 · Mostrar todo en 2 columnas + mapa sobre checkout\n   ========================================================================== */
/* Desktop/tablet: exactamente dos cards, con el mismo ancho base (252px) del rail principal. */
.tx-category-all-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,252px))!important;
    justify-content:center!important;
    align-items:stretch!important;
    gap:18px!important;
    width:100%!important;
    overflow:visible!important;
}
.tx-category-all-grid .product-card{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
}
/* Móvil: mismo cálculo del catálogo principal: dos cards ocupando el ancho disponible. */
@media(max-width:575.98px){
    .tx-category-all-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:14px!important;
        justify-content:stretch!important;
        padding:3px 2px 16px!important;
    }
}
/* El selector de mapa debe estar por encima de CUALQUIER modal/backdrop del checkout. */
#mapSelectionModal{
    z-index:2147483646!important;
}
#mapSelectionModal .modal-dialog,
#mapSelectionModal .modal-content{
    position:relative!important;
    z-index:2147483646!important;
}
body .modal-backdrop.tx-map-selection-backdrop{
    z-index:2147483645!important;
}

/* ==========================================================================
   TELEXPRESS FULL V7 · cards sin espacio residual + checkout multipago
   ========================================================================== */
/* En Mostrar todo la card debe terminar exactamente en el borde inferior de Pídelo. */
@media(max-width:575.98px){
  .tx-category-all-grid .product-card{
    height:320px!important;
    min-height:320px!important;
    max-height:320px!important;
  }
}

/* Todos los métodos de pago ocupan exactamente el mismo ancho y alto. */
.tx-payment-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-auto-rows:1fr!important;
  align-items:stretch!important;
}
.tx-payment-cell{display:block!important;height:100%!important;min-width:0!important}
.tx-payment-cell>span{
  box-sizing:border-box!important;
  width:100%!important;
  height:118px!important;
  min-height:118px!important;
  max-height:118px!important;
  padding:12px 8px!important;
  display:grid!important;
  grid-template-rows:32px 28px 24px!important;
  align-content:center!important;
  justify-items:center!important;
  gap:2px!important;
  overflow:hidden!important;
}
.tx-payment-cell i{font-size:25px!important;margin:0!important;align-self:center!important}
.tx-payment-cell b{font-size:.82rem!important;line-height:1.05!important;margin:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-payment-cell small{font-size:.68rem!important;line-height:1.05!important;margin:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.tx-payment-split-panel{margin-top:10px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:11px;display:grid;gap:8px}
.tx-payment-split-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:.77rem}.tx-payment-split-head span{font-weight:800;color:#b42318}.tx-payment-split-head span.ok{color:#12805c}.tx-payment-split-head span.bad{color:#b42318}
.tx-payment-split-row{display:grid;grid-template-columns:minmax(0,1fr) 132px;align-items:center;gap:10px;font-size:.76rem;font-weight:800}.tx-payment-split-row .input-group{width:132px}
.tx-fallback-card-modal .modal-body>p{font-size:.86rem;color:#475467}.tx-saved-card-choice{display:grid;gap:8px}.tx-saved-card-choice label{position:relative}.tx-saved-card-choice input{position:absolute;opacity:0}.tx-saved-card-choice span{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;border:2px solid #e4e7ec;border-radius:14px;padding:11px;background:#fff}.tx-saved-card-choice i{grid-row:1/3;font-size:28px;color:var(--tx-purple)}.tx-saved-card-choice b{font-size:.85rem}.tx-saved-card-choice small{font-size:.72rem;color:#667085}.tx-saved-card-choice input:checked+span{border-color:var(--tx-purple);background:#f8f1ff}
.tx-cash-proof-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tx-cash-proof-grid .tx-proof-picker{height:88px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center}.tx-cash-proof-grid .tx-proof-preview-card{grid-template-columns:64px 1fr!important}.tx-cash-proof-grid .tx-proof-preview-card img{width:64px!important;height:64px!important}
@media(max-width:420px){.tx-payment-split-row{grid-template-columns:minmax(0,1fr) 118px}.tx-payment-split-row .input-group{width:118px}.tx-cash-proof-grid{grid-template-columns:1fr}}
@media(min-width:576px) and (max-width:700px){
  .tx-category-all-grid .product-card{
    height:406px!important;
    min-height:406px!important;
    max-height:406px!important;
  }
}


/* ==========================================================================
   TELEXPRESS FULL V8 · métodos de pago en 4 líneas + Mis Pedidos por rango
   ========================================================================== */
.tx-payment-cell>span{
  height:118px!important;
  min-height:118px!important;
  max-height:118px!important;
  padding:8px 7px!important;
  display:grid!important;
  grid-template-rows:28px 22px 17px 17px!important;
  align-content:center!important;
  justify-items:center!important;
  row-gap:2px!important;
}
.tx-payment-cell i{font-size:23px!important;margin:0!important;align-self:center!important}
.tx-payment-cell b{font-size:.80rem!important;line-height:1.05!important;font-weight:800!important;margin:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.tx-payment-cell small.tx-payment-currency,.tx-payment-cell small.tx-payment-time{display:block!important;font-size:.66rem!important;line-height:1!important;margin:0!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#667085}
.tx-payment-cell>input:checked+span small.tx-payment-currency,.tx-payment-cell>input:checked+span small.tx-payment-time{color:#fff!important}

.tx-orders-filter{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px!important;align-items:end!important}
.tx-orders-filter .tx-orders-date-filter{grid-column:auto!important}
.tx-orders-filter .tx-orders-status-filter{grid-column:1/-1!important}
.tx-orders-filter #ordersFilterClear{grid-column:1/-1!important}
@media(max-width:420px){.tx-orders-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}.tx-orders-filter .tx-orders-status-filter,.tx-orders-filter #ordersFilterClear{grid-column:1/-1!important}}

/* ========================================================================== 
   TELEXPRESS FULL V9 · multipago exacto + respaldo Saldo Telexpress con tarjeta
   ========================================================================== */
.tx-payment-split-panel{
  margin-top:14px!important;
  border:1px solid #e4e7ec!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:14px!important;
  box-shadow:0 5px 18px rgba(16,24,40,.05)!important;
}
.tx-payment-split-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin-bottom:10px!important}
.tx-payment-split-head>div{display:grid!important;gap:3px!important}.tx-payment-split-head b{font-size:.86rem!important}.tx-payment-split-head small{display:block!important;font-size:.70rem!important;color:#667085!important;font-weight:600!important}
.tx-payment-split-head>span{font-size:.74rem!important;font-weight:900!important;border-radius:999px!important;padding:6px 9px!important;background:#fff1f0!important;color:#b42318!important;white-space:nowrap!important}.tx-payment-split-head>span.ok{background:#ecfdf3!important;color:#067647!important}.tx-payment-split-head>span.bad{background:#fff1f0!important;color:#b42318!important}
.tx-payment-split-list{display:grid!important;gap:8px!important}
.tx-payment-split-row{display:grid!important;grid-template-columns:minmax(0,1fr) 142px!important;align-items:center!important;gap:10px!important;border:1px solid #eaecf0!important;border-radius:13px!important;padding:9px 10px!important;background:#f9fafb!important;font-size:.76rem!important}
.tx-payment-split-method{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important}.tx-payment-split-method>i{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#f1e6f8!important;color:var(--tx-purple)!important;font-size:16px!important;flex:0 0 34px!important}.tx-payment-split-method>span{display:grid!important;min-width:0!important;gap:2px!important}.tx-payment-split-method b{font-size:.76rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.tx-payment-split-method small{font-size:.66rem!important;color:#667085!important;font-weight:600!important}
.tx-payment-split-input{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;align-items:center!important;border:1px solid #d0d5dd!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}.tx-payment-split-input>span{height:36px!important;display:grid!important;place-items:center!important;background:#f2f4f7!important;border-right:1px solid #d0d5dd!important;font-weight:900!important;color:#344054!important}.tx-payment-split-input input{width:100%!important;height:36px!important;border:0!important;outline:0!important;padding:0 8px!important;font-weight:800!important;background:#fff!important}
.tx-checkout-funding-note{margin-top:9px!important;border:1px solid #d6bbfb!important;background:#f9f5ff!important;border-radius:11px!important;padding:9px 10px!important}.tx-checkout-funding-note>div{display:flex!important;align-items:center!important;gap:8px!important;color:#6941c6!important;font-size:.76rem!important;font-weight:800!important}.tx-checkout-funding-note i{font-size:.9rem!important}
.tx-wallet-card-modal{z-index:2147483646!important}.tx-wallet-card-modal+.modal-backdrop{z-index:2147483645!important}
.tx-fallback-card-modal{border:0!important;border-radius:18px!important;overflow:hidden!important}.tx-fallback-card-modal .modal-header{border:0!important;padding-bottom:6px!important}.tx-fallback-card-modal .modal-footer{border:0!important;padding-top:6px!important}.tx-fallback-card-modal .modal-body>p{font-size:.84rem!important;color:#475467!important;margin-bottom:12px!important}
.tx-saved-card-choice{display:grid!important;gap:8px!important}.tx-saved-card-choice label{position:relative!important}.tx-saved-card-choice input{position:absolute!important;opacity:0!important}.tx-saved-card-choice span{display:grid!important;grid-template-columns:42px 1fr!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important;border:2px solid #e4e7ec!important;border-radius:14px!important;padding:11px!important;background:#fff!important}.tx-saved-card-choice i{grid-row:1/3!important;font-size:30px!important;color:var(--tx-purple)!important}.tx-saved-card-choice b{font-size:.84rem!important}.tx-saved-card-choice small{font-size:.71rem!important;color:#667085!important}.tx-saved-card-choice input:checked+span{border-color:var(--tx-purple)!important;background:#f9f5ff!important;box-shadow:0 0 0 2px rgba(127,0,178,.08)!important}
.tx-add-another-card{width:100%!important;margin-top:10px!important;border:1px dashed #b692f6!important;border-radius:12px!important;background:#faf7ff!important;color:#6941c6!important;padding:10px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;font-weight:800!important;font-size:.78rem!important}
.tx-card-scope-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin-bottom:12px!important}.tx-card-scope-grid label{position:relative!important}.tx-card-scope-grid input{position:absolute!important;opacity:0!important}.tx-card-scope-grid span{height:58px!important;border:2px solid #e4e7ec!important;border-radius:13px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;background:#fff!important;color:#475467!important}.tx-card-scope-grid i{font-size:17px!important}.tx-card-scope-grid b{font-size:.76rem!important}.tx-card-scope-grid input:checked+span{border-color:var(--tx-purple)!important;background:#f9f5ff!important;color:var(--tx-purple)!important}
.tx-checkout-card-form{display:grid!important;gap:10px!important}.tx-checkout-card-form>label,.tx-card-form-two>label{display:grid!important;gap:5px!important}.tx-checkout-card-form label>span{font-size:.72rem!important;font-weight:800!important;color:#344054!important}.tx-card-form-two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important}.tx-card-brand-preview{min-height:42px!important;border:1px solid #eaecf0!important;border-radius:11px!important;background:#f9fafb!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:#667085!important;font-weight:800!important;font-size:.76rem!important}.tx-card-brand-preview i{font-size:25px!important}.tx-card-brand-preview.identified{background:#f9f5ff!important;border-color:#d6bbfb!important;color:#6941c6!important}.tx-card-security-note{display:flex!important;align-items:flex-start!important;gap:8px!important;border-radius:11px!important;background:#eef7ff!important;padding:9px!important;color:#344054!important;font-size:.68rem!important;line-height:1.35!important}.tx-card-security-note i{color:var(--tx-electric)!important;margin-top:2px!important}
@media(max-width:420px){.tx-payment-split-row{grid-template-columns:minmax(0,1fr) 118px!important;padding:8px!important}.tx-payment-split-head{align-items:flex-start!important}.tx-payment-split-head>span{font-size:.68rem!important}.tx-card-form-two{grid-template-columns:1fr 1fr!important}}

/* ========================================================================== 
   TELEXPRESS FULL V10 · tarjeta de respaldo exclusiva de billetera
   ========================================================================== */
.tx-card-scope-grid span{height:68px!important}
.tx-card-scope-grid small{font-size:.64rem!important;line-height:1!important;font-weight:800!important;opacity:.82!important}
.tx-card-scope-currency{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;margin:-2px 0 10px!important;padding:8px 10px!important;border:1px solid #e4e7ec!important;border-radius:11px!important;background:#f9fafb!important;color:#475467!important;font-size:.72rem!important}.tx-card-scope-currency i{color:var(--tx-purple)!important}.tx-card-scope-currency b{color:var(--tx-purple)!important}
.tx-checkout-card-form input[name="cardholder"],.tx-checkout-card-form input[name="label"]{text-transform:uppercase!important}


/* ==========================================================================
   TELEXPRESS FULL V11 · capas superiores para tarjeta y comprobantes
   ========================================================================== */
/* La especificidad body #id vence la regla global body .modal. */
body #walletFallbackCardModal.tx-wallet-card-modal{
  z-index:2147483646!important;
}
body #walletFallbackCardModal.tx-wallet-card-modal .modal-dialog,
body #walletFallbackCardModal.tx-wallet-card-modal .modal-content{
  position:relative!important;
  z-index:2147483646!important;
}
body .modal-backdrop.tx-wallet-card-backdrop{
  z-index:2147483645!important;
}
/* El comprobante debe abrir siempre sobre Detalle del pedido y cualquier backdrop normal. */
body #chatMediaViewerModal.tx-voucher-viewer-mode{
  z-index:2147483646!important;
}
body #chatMediaViewerModal.tx-voucher-viewer-mode .modal-dialog,
body #chatMediaViewerModal.tx-voucher-viewer-mode .modal-content{
  position:relative!important;
  z-index:2147483646!important;
}
body .modal-backdrop.tx-customer-voucher-backdrop{
  z-index:2147483645!important;
}
