/* OTTICA MARCONI · WhatsApp emoji & boutique presets · Albano + Occhialiweb */
#chat375 .bizComposer,#chatweb .bizComposer{
 grid-template-columns:44px 44px minmax(0,1fr) 44px 48px;
}
#chat375 .omEmojiToggle,#chatweb .omEmojiToggle{
 font-size:24px;display:grid;place-items:center;line-height:1;
 color:#425568;transition:background .15s,transform .15s;
}
#chat375 .omEmojiToggle:hover,#chatweb .omEmojiToggle:hover,
#chat375 .omEmojiToggle[aria-expanded="true"],#chatweb .omEmojiToggle[aria-expanded="true"]{
 background:#e1efe9;transform:scale(1.06)
}
#chat375 .omEmojiPanel,#chatweb .omEmojiPanel{
 position:absolute;left:8px;bottom:calc(100% + 8px);z-index:80;
 width:min(520px,calc(100vw - 35px));height:390px;max-height:min(390px,65vh);
 background:#fff;border:1px solid #ccdde7;border-radius:18px;
 box-shadow:0 12px 40px #0f29423c;display:flex;flex-direction:column;
 overflow:hidden;color:#293d54;
}
#chat375 .omEmojiPanel[hidden],#chatweb .omEmojiPanel[hidden]{display:none!important}
#chat375 .omEmojiHead,#chatweb .omEmojiHead{
 display:flex;justify-content:space-between;align-items:center;padding:11px 14px 7px;gap:10px;
 background:linear-gradient(110deg,#f7fbfe,#f0fbf7);
 border-bottom:1px solid #e4edf1;
}
#chat375 .omEmojiHead>div,#chatweb .omEmojiHead>div{display:grid;gap:3px}
#chat375 .omEmojiHead strong,#chatweb .omEmojiHead strong{font-size:14px;font-weight:800;color:#173d63}
#chat375 .omEmojiHead small,#chatweb .omEmojiHead small{font-size:11px;color:#57768a}
#chat375 .omEmojiClose,#chatweb .omEmojiClose{
 background:#e8f0f5;color:#375c74;border:0;border-radius:50%;width:31px;height:31px;
 font-size:22px;cursor:pointer;display:grid;place-items:center;flex:none;
}
#chat375 .omEmojiSearch,#chatweb .omEmojiSearch{
 display:block!important;box-sizing:border-box;width:calc(100% - 26px);margin:10px 13px;
 height:36px;min-height:36px;flex:none;padding:7px 12px;border:1px solid #d4e2ec!important;
 border-radius:10px!important;font-size:12px!important;outline:none!important;background:#f6f9fc!important;
}
#chat375 .omEmojiSearch:focus,#chatweb .omEmojiSearch:focus{border-color:#00a884!important;box-shadow:0 0 0 2px #00a88422}
#chat375 .omEmojiTabs,#chatweb .omEmojiTabs{
 display:flex;gap:5px;padding:3px 12px 10px;overflow:auto hidden;min-height:42px;flex:none;
 scrollbar-width:thin;scrollbar-color:#ccdce6 transparent;border-bottom:1px solid #ebf0f3;
}
#chat375 .omEmojiTab,#chatweb .omEmojiTab{
 display:flex;gap:5px;align-items:center;white-space:nowrap;min-height:30px;padding:6px 10px;
 background:#f2f7fa;border:1px solid #e1e8ee;color:#45627d;font-size:11px;
 border-radius:999px;cursor:pointer;font-weight:650;
}
#chat375 .omEmojiTab.active,#chatweb .omEmojiTab.active{
 background:#e5f7ef;border-color:#9cd6bd;color:#147b52;
}
#chat375 .omEmojiTiles,#chatweb .omEmojiTiles{
 flex:1;min-height:0;overflow-y:auto;padding:12px 11px;
 display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;
 align-content:start;scrollbar-width:thin;
}
#chat375 .omEmojiItem,#chatweb .omEmojiItem{position:relative;min-width:0;display:flex;flex-direction:column;align-items:stretch}
#chat375 .omEmojiItemButton,#chatweb .omEmojiItemButton{
 width:100%;min-height:45px;background:#fff;border:1px solid transparent;border-radius:9px;
 font-size:27px;display:grid;place-items:center;cursor:pointer;user-select:none;line-height:1.25;
 padding:5px 0;
}
#chat375 .omEmojiItemButton:hover,#chatweb .omEmojiItemButton:hover{border-color:#b9dacc;background:#edf9f2}
#chat375 .omEmojiFav,#chatweb .omEmojiFav{
 border:0;background:transparent;color:#a7b5c6;position:absolute;right:0;top:0;
 cursor:pointer;font-size:13px;line-height:14px;opacity:.15;padding:1px 3px;
}
#chat375 .omEmojiItem:hover .omEmojiFav,#chatweb .omEmojiItem:hover .omEmojiFav,
#chat375 .omEmojiFav.active,#chatweb .omEmojiFav.active{opacity:1}
#chat375 .omEmojiFav.active,#chatweb .omEmojiFav.active{color:#d2a138}
#chat375 .omEmojiBranded,#chatweb .omEmojiBranded{
 border:1px solid #dce9f4;background:linear-gradient(150deg,#f2f8ff,#fafcff);
 border-radius:12px;padding:4px 3px 5px;min-height:83px;justify-content:start;
}
#chat375 .omEmojiBranded .omEmojiItemButton,#chatweb .omEmojiBranded .omEmojiItemButton{
 background:transparent;font-size:23px;min-height:40px;
}
#chat375 .omEmojiBranded small,#chatweb .omEmojiBranded small{
 font-size:9px;line-height:1.25;color:#3c5a75;text-align:center;overflow-wrap:anywhere;padding:2px 1px;
}
#chat375 .omEmojiPanel:has(.omEmojiBranded) .omEmojiTiles,
#chatweb .omEmojiPanel:has(.omEmojiBranded) .omEmojiTiles{
 grid-template-columns:repeat(5,minmax(0,1fr));
}
#chat375 .omEmojiMore,#chatweb .omEmojiMore{
 color:#116c5b;background:#eef9f5;font-weight:700;border:0;border-top:1px solid #d9eee5;
 font-size:11px;padding:10px;cursor:pointer;flex:none;
}
#chat375 .omEmojiMore[hidden],#chatweb .omEmojiMore[hidden]{display:none!important}
#chat375 .omEmojiNote,#chatweb .omEmojiNote{
 margin:0;padding:8px 13px;color:#62788b;font-size:10px;border-top:1px solid #eaf0f5;
 background:#fafcfd;flex:none;line-height:1.4;
}
@media(max-width:700px){
 #chat375 .bizComposer,#chatweb .bizComposer{grid-template-columns:34px 35px minmax(0,1fr) 34px 38px;gap:3px;padding:5px}
 #chat375 .omEmojiToggle,#chatweb .omEmojiToggle{font-size:21px;width:34px;height:36px}
 #chat375 .omEmojiPanel,#chatweb .omEmojiPanel{
  left:0;width:calc(100% - 2px);max-height:55vh;height:360px;bottom:calc(100% + 5px);
  border-radius:14px;
 }
 #chat375 .omEmojiTiles,#chatweb .omEmojiTiles{grid-template-columns:repeat(6,minmax(0,1fr));gap:3px;padding:8px}
 #chat375 .omEmojiBranded,#chatweb .omEmojiBranded{min-height:75px}
 #chat375 .omEmojiPanel:has(.omEmojiBranded) .omEmojiTiles,#chatweb .omEmojiPanel:has(.omEmojiBranded) .omEmojiTiles{
  grid-template-columns:repeat(4,minmax(0,1fr))
 }
 #chat375 .omEmojiItemButton,#chatweb .omEmojiItemButton{font-size:25px}
}

#chat375 .omEmojiFeedback,#chatweb .omEmojiFeedback{
  position:absolute;z-index:95;right:12px;bottom:calc(100% + 7px);
  background:#e6f7ef;color:#125d43;border:1px solid #98d6b6;
  border-radius:9px;padding:10px 12px;max-width:min(360px,92%);
  font-size:12px;font-weight:700;box-shadow:0 4px 16px #183e3030;
  pointer-events:none;
}
#chat375 .omEmojiFeedback.error,#chatweb .omEmojiFeedback.error{
  background:#fff5eb;color:#80501e;border-color:#e5bc81;
}
#chat375 .omEmojiFeedback[hidden],#chatweb .omEmojiFeedback[hidden]{display:none!important}
#chat375 .omEmojiBranded,#chatweb .omEmojiBranded{cursor:pointer}
