
#c2pChatButton{position:fixed;right:22px;bottom:22px;z-index:25000;width:58px;height:58px;border:0;border-radius:50%;background:#063b78;color:#fff;box-shadow:0 14px 34px rgba(6,59,120,.3);cursor:pointer;display:grid;place-items:center}
#c2pChatButton svg{width:26px;height:26px;fill:currentColor}
#c2pChatPanel{position:fixed;right:22px;bottom:92px;z-index:25000;width:min(92vw,360px);height:500px;max-height:70vh;background:#fff;border-radius:22px;box-shadow:0 22px 70px rgba(0,0,0,.22);overflow:hidden;display:none;flex-direction:column;border:1px solid rgba(6,59,120,.12)}
#c2pChatPanel.open{display:flex}
.c2pChatHead{background:#063b78;color:#fff;padding:16px 18px;display:flex;align-items:center;justify-content:space-between}
.c2pChatTitle{font-weight:900}.c2pChatStatus{font-size:12px;opacity:.9}.c2pChatClose{border:0;background:transparent;color:#fff;font-size:24px;cursor:pointer}
.c2pChatIntro{padding:12px 14px;border-bottom:1px solid #e4ebf3;display:grid;grid-template-columns:1fr 1fr;gap:8px}.c2pChatIntro input{min-width:0;border:1px solid #d6e0eb;border-radius:12px;padding:9px 10px;font:inherit}
.c2pChatMessages{flex:1;overflow:auto;padding:14px;background:#f7f9fc}.c2pChatMsg{max-width:82%;padding:9px 11px;border-radius:14px;margin:7px 0;font-size:14px;line-height:1.35;white-space:pre-wrap}.c2pChatMsg.user{margin-left:auto;background:#063b78;color:#fff}.c2pChatMsg.admin{background:#fff;border:1px solid #dde6ef}
.c2pChatCompose{display:flex;gap:8px;padding:12px;background:#fff;border-top:1px solid #e4ebf3}.c2pChatCompose textarea{flex:1;resize:none;min-height:42px;max-height:90px;border:1px solid #d6e0eb;border-radius:13px;padding:10px;font:inherit}.c2pChatCompose button{border:0;border-radius:13px;padding:0 14px;background:#00c875;color:#fff;font-weight:850;cursor:pointer}
@media(max-width:768px){#c2pChatButton{right:16px;bottom:92px}#c2pChatPanel{right:12px;left:12px;bottom:160px;width:auto;height:min(62vh,520px)}}

/* Customer2Pro: modern customer-service chat launcher only */
#c2pChatButton{
  width:68px;
  height:68px;
  right:24px;
  bottom:24px;
  border:3px solid rgba(255,255,255,.92);
  background:#063b78;
  box-shadow:0 12px 34px rgba(6,59,120,.38),0 0 0 7px rgba(0,200,117,.12);
  transition:transform .22s ease,box-shadow .22s ease;
}
#c2pChatButton:hover{
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 16px 40px rgba(6,59,120,.44),0 0 0 8px rgba(0,200,117,.16);
}
#c2pChatButton svg{
  width:34px;
  height:34px;
}
#c2pChatButton::before{
  content:"";
  position:absolute;
  top:4px;
  right:4px;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#00c875;
  border:2px solid #fff;
}
#c2pChatButton::after{
  content:"Chat";
  position:absolute;
  right:78px;
  top:50%;
  transform:translateY(-50%);
  padding:8px 12px;
  border-radius:999px;
  background:#fff;
  color:#063b78;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:0 8px 24px rgba(0,0,0,.14);
}
@media(max-width:768px){
  #c2pChatButton{
    width:62px;
    height:62px;
    right:16px;
    bottom:92px;
  }
  #c2pChatButton svg{width:31px;height:31px}
  #c2pChatButton::after{display:none}
}

/* Customer2Pro: chat vertical position only */
@media (min-width:769px){
  #c2pChatButton{bottom:88px !important}
  #c2pChatPanel{bottom:166px !important}
}
@media (max-width:768px){
  #c2pChatButton{bottom:130px !important}
  #c2pChatPanel{bottom:202px !important}
}

/* Customer2Pro: chat launcher pill shape + label only */
#c2pChatButton{
  width:auto !important;
  min-width:168px !important;
  height:58px !important;
  padding:0 22px 0 17px !important;
  border-radius:999px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}
#c2pChatButton svg{
  width:27px !important;
  height:27px !important;
  flex:0 0 auto !important;
}
#c2pChatButton::after{
  content:"Contáctanos" !important;
  position:static !important;
  transform:none !important;
  padding:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#fff !important;
  font-size:15px !important;
  font-weight:850 !important;
  box-shadow:none !important;
  display:block !important;
}
#c2pChatButton::before{
  top:3px !important;
  right:7px !important;
}
@media(max-width:768px){
  #c2pChatButton{
    min-width:154px !important;
    height:54px !important;
    padding:0 18px 0 15px !important;
  }
  #c2pChatButton svg{
    width:25px !important;
    height:25px !important;
  }
  #c2pChatButton::after{
    display:block !important;
    font-size:14px !important;
  }
}

/* Mobile chat launcher: compact + lower only */
@media(max-width:768px){
  #c2pChatButton{
    min-width:132px !important;
    width:auto !important;
    height:46px !important;
    right:14px !important;
    bottom:82px !important;
    padding:0 15px 0 13px !important;
    gap:8px !important;
  }
  #c2pChatButton svg{width:22px !important;height:22px !important}
  #c2pChatButton::after{font-size:13px !important}
  #c2pChatButton::before{width:9px !important;height:9px !important;right:5px !important;top:2px !important}
  #c2pChatPanel{display:none !important}
}

/* Chat only: Customer2Pro palette and required-field feedback */
#c2pChatButton,.c2pChatHead{background:#063b78 !important;color:#fff !important}
#c2pChatButton::before,.c2pChatCompose button{background:#00c875 !important}
.c2pChatMsg.user{background:#063b78 !important;color:#fff !important}
.c2pChatIntro input:focus{outline:none!important;border-color:#00c875!important;box-shadow:0 0 0 3px rgba(0,200,117,.12)!important}
.c2pChatIntro input.c2p-required-error{border-color:#d93025!important;box-shadow:0 0 0 2px rgba(217,48,37,.10)!important}


/* Customer2Pro: Paperclip dentro del campo del chat de escritorio */
@media (min-width:769px){
  .c2pChatCompose{position:relative}
  .c2pChatCompose textarea{padding-right:42px}
  .c2pDesktopPhotoAttach{
    position:absolute;
    right:74px;
    top:50%;
    transform:translateY(-50%);
    width:30px;
    height:30px;
    padding:0;
    margin:0;
    border:0;
    border-radius:0;
    background:transparent;
    background-color:transparent;
    background-image:none;
    box-shadow:none;
    outline:none;
    color:#91a8be;
    display:grid;
    place-items:center;
    cursor:pointer;
    z-index:2;
    -webkit-tap-highlight-color:transparent;
  }
  .c2pDesktopPhotoAttach:hover,
  .c2pDesktopPhotoAttach:focus,
  .c2pDesktopPhotoAttach:focus-visible,
  .c2pDesktopPhotoAttach:active{
    border:0;
    border-radius:0;
    background:transparent;
    background-color:transparent;
    background-image:none;
    box-shadow:none;
    outline:none;
    color:#91a8be;
  }
  .c2pDesktopPhotoAttach::before,
  .c2pDesktopPhotoAttach::after{
    content:none;
    display:none;
  }
  .c2pDesktopPaperclipIcon{
    width:21px;
    height:21px;
    display:block;
    background:none;
    border:0;
    box-shadow:none;
  }
  .c2pDesktopPhotoFile{display:none!important}
}


/* C2P desktop: Paperclip dentro del campo, sin fondo en ningún estado */
@media (min-width:769px){
  .c2pChatCompose{position:relative!important}
  .c2pChatCompose textarea{
    padding-right:46px!important;
  }
  .c2pChatCompose .c2pDesktopPhotoAttach{
    position:absolute!important;
    right:78px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:32px!important;
    height:32px!important;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
    color:#91a8be!important;
    display:grid!important;
    place-items:center!important;
    z-index:5!important;
    -webkit-tap-highlight-color:transparent!important;
  }
  .c2pChatCompose .c2pDesktopPhotoAttach:hover,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus-visible,
  .c2pChatCompose .c2pDesktopPhotoAttach:active{
    border:0!important;
    border-radius:0!important;
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
    color:#91a8be!important;
  }
  .c2pChatCompose .c2pDesktopPhotoAttach::before,
  .c2pChatCompose .c2pDesktopPhotoAttach::after{
    content:none!important;
    display:none!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
  }
  .c2pChatCompose .c2pDesktopPaperclipIcon{
    width:21px!important;
    height:21px!important;
    display:block!important;
    background:none!important;
    background-color:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
}


/* C2P desktop chat: campo en píldora + Paperclip dentro */
@media (min-width:769px){
  .c2pChatCompose{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    padding:12px!important;
    background:#fff!important;
    border-top:1px solid #e4ebf3!important;
  }

  .c2pChatCompose textarea{
    flex:1 1 auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:46px!important;
    height:46px!important;
    max-height:90px!important;
    resize:none!important;
    padding:12px 48px 12px 18px!important;
    border:1px solid #d6e0eb!important;
    border-radius:999px!important;
    background:#fff!important;
    color:inherit!important;
    outline:none!important;
    box-shadow:none!important;
  }

  .c2pChatCompose textarea:focus{
    border-color:#00c875!important;
    box-shadow:0 0 0 2px rgba(0,200,117,.08)!important;
  }

  .c2pChatCompose .c2pDesktopPhotoAttach{
    position:absolute!important;
    right:86px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    min-height:32px!important;
    padding:0!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    z-index:6!important;

    border:0!important;
    border-radius:0!important;
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
    color:#91a8be!important;
    -webkit-tap-highlight-color:transparent!important;
  }

  .c2pChatCompose .c2pDesktopPhotoAttach:hover,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus-visible,
  .c2pChatCompose .c2pDesktopPhotoAttach:active{
    border:0!important;
    border-radius:0!important;
    background:none!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
    color:#91a8be!important;
  }

  .c2pChatCompose .c2pDesktopPhotoAttach::before,
  .c2pChatCompose .c2pDesktopPhotoAttach::after{
    content:none!important;
    display:none!important;
  }

  .c2pChatCompose .c2pDesktopPaperclipIcon{
    width:21px!important;
    height:21px!important;
    display:block!important;
    background:none!important;
    border:0!important;
    box-shadow:none!important;
  }

  .c2pChatCompose #c2pChatSend{
    flex:0 0 auto!important;
    min-width:46px!important;
    height:46px!important;
    padding:0 16px!important;
    border-radius:999px!important;
  }
}


/* C2P: ajuste único Paperclip escritorio dentro de la píldora */
@media (min-width:769px){
  .c2pChatCompose textarea{
    padding-right:44px!important;
  }
  .c2pChatCompose .c2pDesktopPhotoAttach{
    right:96px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:28px!important;
    height:28px!important;
    min-width:28px!important;
    min-height:28px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    box-shadow:none!important;
    outline:none!important;
    z-index:7!important;
  }
  .c2pChatCompose .c2pDesktopPhotoAttach:hover,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus,
  .c2pChatCompose .c2pDesktopPhotoAttach:focus-visible,
  .c2pChatCompose .c2pDesktopPhotoAttach:active{
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
    border:0!important;
    box-shadow:none!important;
    outline:none!important;
  }
}


/* C2P: posición final Paperclip escritorio */
@media (min-width:769px){
  .c2pChatCompose .c2pDesktopPhotoAttach{
    right:104px!important;
  }
}


/* C2P: campos superiores del chat de escritorio en forma de píldora */
@media (min-width:769px){
  .c2pChatIntro input{
    border-radius:999px!important;
  }
}


html[lang^="en"] #c2pChatButton::after{
  content:"Contact us" !important;
}

.c2pChatIdentityWarning{display:none;margin:0 12px 8px;padding:9px 11px;border-radius:10px;background:#fff4e5;border:1px solid #ffd59a;color:#7a4b00;font-size:12px;line-height:1.35;font-weight:700}.c2pChatIdentityWarning.show{display:block}

.c2pChatTitle{display:flex;align-items:center;gap:7px}
.c2pCustomerServiceIcon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px}
.c2pCustomerServiceIcon svg{width:20px;height:20px;fill:currentColor}
.c2pChatStatus{display:flex;align-items:center;gap:6px}




/* Customer2Pro: visible webmaster online/offline indicator */
#c2pChatStatus{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
}
#c2pChatStatus .c2pStatusDot{
  display:inline-block !important;
  width:10px !important;
  height:10px !important;
  min-width:10px !important;
  min-height:10px !important;
  border-radius:50% !important;
  flex:0 0 10px !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.85),0 0 0 3px rgba(0,0,0,.10) !important;
}
#c2pChatStatus .c2pStatusDot.online{
  background:#16c60c !important;
}
#c2pChatStatus .c2pStatusDot.offline{
  background:#e53935 !important;
}

/* Customer2Pro chat widget — visual reference supplied by owner */
#c2pChatPanel{
  width:min(92vw,360px) !important;
  height:530px !important;
  max-height:76vh !important;
  border-radius:20px !important;
  border:0 !important;
  background:#fff !important;
  box-shadow:0 20px 55px rgba(25,42,62,.22) !important;
}
#c2pChatPanel .c2pChatHead{
  min-height:98px !important;
  padding:10px 16px 10px 116px !important;
  position:relative !important;
  background:#08447f !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
}
#c2pChatPanel .c2pChatAvatar{
  position:absolute !important;
  left:13px !important;
  top:4px !important;
  width:96px !important;
  height:96px !important;
  object-fit:contain !important;
  border-radius:50% !important;
  z-index:2 !important;
}
#c2pChatPanel .c2pChatHeadCopy{
  min-width:0 !important;
  width:100% !important;
}
#c2pChatPanel .c2pChatTitle{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:1.15 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
}
#c2pChatPanel .c2pCustomerServiceIcon{
  width:17px !important;
  height:17px !important;
  flex:0 0 17px !important;
}
#c2pChatPanel .c2pCustomerServiceIcon svg{
  width:17px !important;
  height:17px !important;
}
#c2pChatPanel .c2pChatBrandRow{
  display:grid !important;
  grid-template-columns:18px minmax(0,1fr) !important;
  grid-template-rows:auto auto !important;
  align-items:center !important;
  column-gap:7px !important;
  margin-top:5px !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  width:15px !important;
  height:15px !important;
  min-width:15px !important;
  min-height:15px !important;
  border-radius:50% !important;
  border:2px solid rgba(255,255,255,.9) !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.18) !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.online{background:#20c96b !important}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.offline{background:#ef3f45 !important}
#c2pChatPanel .c2pChatBrandName{
  grid-column:2 !important;
  grid-row:1 !important;
  color:#fff !important;
  font-size:23px !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:-.4px !important;
  white-space:nowrap !important;
}
#c2pChatPanel #c2pChatStatus{
  grid-column:2 !important;
  grid-row:2 !important;
  display:block !important;
  color:#fff !important;
  font-size:11px !important;
  line-height:1.05 !important;
  opacity:1 !important;
  margin-left:auto !important;
  margin-right:7px !important;
  margin-top:-1px !important;
}
#c2pChatPanel .c2pChatClose{
  position:absolute !important;
  right:8px !important;
  top:5px !important;
  font-size:18px !important;
  line-height:1 !important;
  opacity:.72 !important;
  z-index:3 !important;
}
#c2pChatPanel .c2pChatIntro{
  padding:12px 14px !important;
  gap:8px !important;
  background:#fff !important;
}
#c2pChatPanel .c2pChatIntro input{
  height:41px !important;
  padding:8px 12px !important;
  border-radius:22px !important;
  border:1px solid #d2dce8 !important;
  background:#fff !important;
}
#c2pChatPanel .c2pChatMessages{
  background:#f7f9fc !important;
}
#c2pChatPanel .c2pChatCompose{
  padding:12px !important;
  gap:8px !important;
  align-items:center !important;
}
#c2pChatPanel .c2pChatCompose textarea{
  min-height:46px !important;
  height:46px !important;
  padding:12px 40px 10px 16px !important;
  border-radius:24px !important;
}
#c2pChatPanel #c2pChatSend{
  height:46px !important;
  border-radius:24px !important;
  padding:0 19px !important;
  background:#00c875 !important;
}

/* Customer2Pro — ajuste SOLO del encabezado según captura de referencia */
#c2pChatPanel .c2pChatHead{
  min-height:116px !important;
  height:116px !important;
  padding:0 18px 0 145px !important;
  position:relative !important;
  overflow:hidden !important;
  background:#08447f !important;
  border-radius:20px 20px 0 0 !important;
  display:flex !important;
  align-items:center !important;
}
#c2pChatPanel .c2pChatAvatar{
  position:absolute !important;
  left:20px !important;
  top:8px !important;
  width:122px !important;
  height:108px !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  border-radius:0 !important;
}
#c2pChatPanel .c2pChatHeadCopy{
  width:100% !important;
  min-width:0 !important;
  transform:translateY(2px) !important;
}
#c2pChatPanel .c2pChatTitle{
  display:block !important;
  color:#fff !important;
  font-size:16px !important;
  line-height:1.05 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  margin:0 0 7px 26px !important;
  text-shadow:0 1px 2px rgba(0,0,0,.24) !important;
}
#c2pChatPanel .c2pCustomerServiceIcon{
  display:none !important;
}
#c2pChatPanel .c2pChatBrandRow{
  display:grid !important;
  grid-template-columns:24px minmax(0,1fr) !important;
  grid-template-rows:31px 15px !important;
  column-gap:8px !important;
  align-items:center !important;
  margin:0 !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot{
  grid-column:1 !important;
  grid-row:1 / span 2 !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  border-radius:50% !important;
  border:3px solid rgba(255,255,255,.92) !important;
  box-shadow:0 0 0 1px rgba(0,0,0,.12) !important;
  align-self:center !important;
}
#c2pChatPanel .c2pChatBrandName{
  grid-column:2 !important;
  grid-row:1 !important;
  color:#fff !important;
  font-size:29px !important;
  line-height:31px !important;
  font-weight:900 !important;
  letter-spacing:-.7px !important;
  white-space:nowrap !important;
  text-shadow:0 1px 2px rgba(0,0,0,.24) !important;
}
#c2pChatPanel #c2pChatStatus{
  grid-column:2 !important;
  grid-row:2 !important;
  display:block !important;
  margin:-1px 8px 0 0 !important;
  text-align:right !important;
  color:#fff !important;
  font-size:13px !important;
  line-height:15px !important;
  font-weight:500 !important;
  opacity:1 !important;
}
#c2pChatPanel .c2pChatClose{
  right:7px !important;
  top:5px !important;
  z-index:5 !important;
}

/* Customer2Pro — corrección final SOLO de alineación del encabezado */
#c2pChatPanel .c2pChatHead{
  box-sizing:border-box !important;
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:116px !important;
  min-height:116px !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#08447f !important;
  border-radius:20px 20px 0 0 !important;
}
#c2pChatPanel .c2pChatAvatar{
  box-sizing:border-box !important;
  position:absolute !important;
  left:18px !important;
  bottom:0 !important;
  top:auto !important;
  width:124px !important;
  height:110px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
}
#c2pChatPanel .c2pChatHeadCopy{
  box-sizing:border-box !important;
  position:absolute !important;
  left:148px !important;
  right:16px !important;
  top:25px !important;
  width:auto !important;
  height:72px !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}
#c2pChatPanel .c2pChatTitle{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  height:19px !important;
  margin:0 0 5px 0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:15px !important;
  line-height:19px !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-align:left !important;
}
#c2pChatPanel .c2pCustomerServiceIcon{
  display:none !important;
}
#c2pChatPanel .c2pChatBrandRow{
  box-sizing:border-box !important;
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:48px !important;
  margin:0 !important;
  padding:0 0 0 29px !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot{
  box-sizing:border-box !important;
  position:absolute !important;
  left:0 !important;
  top:6px !important;
  display:block !important;
  width:21px !important;
  height:21px !important;
  min-width:21px !important;
  min-height:21px !important;
  margin:0 !important;
  padding:0 !important;
  border:3px solid #fff !important;
  border-radius:50% !important;
  transform:none !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.online{
  background:#20c96b !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.offline{
  background:#ef3f45 !important;
}
#c2pChatPanel .c2pChatBrandName{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  height:32px !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:27px !important;
  line-height:32px !important;
  font-weight:900 !important;
  letter-spacing:-.7px !important;
  white-space:nowrap !important;
  text-align:left !important;
}
#c2pChatPanel #c2pChatStatus{
  box-sizing:border-box !important;
  display:block !important;
  width:100% !important;
  height:14px !important;
  margin:0 !important;
  padding:0 3px 0 0 !important;
  color:#fff !important;
  font-size:12px !important;
  line-height:14px !important;
  font-weight:500 !important;
  text-align:right !important;
  opacity:1 !important;
}
#c2pChatPanel .c2pChatClose{
  position:absolute !important;
  top:7px !important;
  right:8px !important;
  margin:0 !important;
  z-index:5 !important;
}

/* Customer2Pro — organización visual profesional SOLO del widget de chat */
#c2pChatPanel{
  width:min(92vw,380px) !important;
  height:560px !important;
  max-height:80vh !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(18,48,78,.08) !important;
  box-shadow:0 24px 70px rgba(18,48,78,.22) !important;
}

/* Encabezado */
#c2pChatPanel .c2pChatHead{
  height:118px !important;
  min-height:118px !important;
  background:#08447f !important;
  border-radius:22px 22px 0 0 !important;
}
#c2pChatPanel .c2pChatAvatar{
  left:18px !important;
  bottom:0 !important;
  width:126px !important;
  height:112px !important;
}
#c2pChatPanel .c2pChatHeadCopy{
  left:150px !important;
  right:18px !important;
  top:25px !important;
  height:74px !important;
}
#c2pChatPanel .c2pChatTitle{
  height:auto !important;
  margin:0 0 6px !important;
  font-size:15px !important;
  line-height:19px !important;
  letter-spacing:-.15px !important;
  text-shadow:none !important;
}
#c2pChatPanel .c2pChatBrandRow{
  height:49px !important;
  padding-left:30px !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot{
  left:0 !important;
  top:7px !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  border:3px solid #fff !important;
  box-shadow:0 0 0 2px rgba(255,255,255,.18) !important;
}
#c2pChatPanel .c2pChatBrandName{
  height:31px !important;
  font-size:27px !important;
  line-height:31px !important;
  letter-spacing:-.55px !important;
  text-shadow:none !important;
}
#c2pChatPanel #c2pChatStatus{
  height:15px !important;
  padding-right:4px !important;
  font-size:12px !important;
  line-height:15px !important;
  text-align:right !important;
}
#c2pChatPanel .c2pChatClose{
  top:8px !important;
  right:10px !important;
  width:28px !important;
  height:28px !important;
  display:grid !important;
  place-items:center !important;
  border-radius:50% !important;
  background:rgba(255,255,255,.10) !important;
}

/* Datos del usuario */
#c2pChatPanel .c2pChatIntro{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:9px !important;
  padding:12px 14px !important;
  background:#fff !important;
  border-bottom:1px solid #e5ebf2 !important;
}
#c2pChatPanel .c2pChatIntro input{
  width:100% !important;
  min-width:0 !important;
  height:42px !important;
  padding:9px 13px !important;
  border:1px solid #d4deea !important;
  border-radius:21px !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:14px !important;
}

/* Área de conversación */
#c2pChatPanel .c2pChatMessages{
  background:#f7f9fc !important;
  padding:14px !important;
  scrollbar-width:thin !important;
}
#c2pChatPanel .c2pChatBubble,
#c2pChatPanel .c2pChatMessage{
  max-width:82% !important;
  line-height:1.4 !important;
}

/* Caja de escritura */
#c2pChatPanel .c2pChatCompose{
  min-height:70px !important;
  padding:11px 12px 12px !important;
  gap:8px !important;
  align-items:center !important;
  background:#fff !important;
  border-top:1px solid #e5ebf2 !important;
}
#c2pChatPanel .c2pChatCompose textarea{
  min-width:0 !important;
  min-height:46px !important;
  height:46px !important;
  max-height:96px !important;
  padding:12px 42px 10px 15px !important;
  border:1px solid #d4deea !important;
  border-radius:23px !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:14px !important;
  line-height:22px !important;
}
#c2pChatPanel #c2pChatSend{
  flex:0 0 auto !important;
  height:46px !important;
  min-width:72px !important;
  padding:0 18px !important;
  border-radius:23px !important;
  background:#00c875 !important;
  color:#fff !important;
  font-weight:800 !important;
  box-shadow:none !important;
}

/* Evita deformaciones en pantallas estrechas */
@media(max-width:420px){
  #c2pChatPanel{
    width:calc(100vw - 20px) !important;
    height:min(560px,78vh) !important;
  }
  #c2pChatPanel .c2pChatAvatar{
    left:12px !important;
    width:112px !important;
  }
  #c2pChatPanel .c2pChatHeadCopy{
    left:126px !important;
    right:12px !important;
  }
  #c2pChatPanel .c2pChatBrandName{
    font-size:23px !important;
  }
  #c2pChatPanel .c2pChatTitle{
    font-size:13px !important;
  }
}

/* Customer2Pro — widget ajustado SOLO visualmente a la captura final */
#c2pChatPanel{
  width:min(94vw,380px) !important;
  height:570px !important;
  max-height:82vh !important;
  border-radius:22px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid #e2e8ef !important;
  box-shadow:0 18px 48px rgba(18,48,78,.18) !important;
}

/* Header exact proportions */
#c2pChatPanel .c2pChatHead{
  box-sizing:border-box !important;
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:112px !important;
  min-height:112px !important;
  padding:0 !important;
  margin:0 !important;
  overflow:hidden !important;
  background:#08447f !important;
  border-radius:22px 22px 0 0 !important;
}
#c2pChatPanel .c2pChatAvatar{
  position:absolute !important;
  left:25px !important;
  bottom:5px !important;
  top:auto !important;
  width:122px !important;
  height:104px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:contain !important;
  object-position:center bottom !important;
  border:0 !important;
  border-radius:0 !important;
  transform:none !important;
}
#c2pChatPanel .c2pChatHeadCopy{
  box-sizing:border-box !important;
  position:absolute !important;
  left:150px !important;
  right:18px !important;
  top:30px !important;
  width:auto !important;
  height:66px !important;
  margin:0 !important;
  padding:0 !important;
  transform:none !important;
}
#c2pChatPanel .c2pChatTitle{
  display:block !important;
  width:100% !important;
  height:18px !important;
  margin:0 0 4px !important;
  padding:0 !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:18px !important;
  font-weight:900 !important;
  letter-spacing:-.2px !important;
  white-space:nowrap !important;
  text-align:left !important;
  text-shadow:none !important;
}
#c2pChatPanel .c2pCustomerServiceIcon{display:none !important}
#c2pChatPanel .c2pChatBrandRow{
  box-sizing:border-box !important;
  position:relative !important;
  display:block !important;
  width:100% !important;
  height:44px !important;
  margin:0 !important;
  padding:0 0 0 29px !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot{
  box-sizing:border-box !important;
  position:absolute !important;
  left:0 !important;
  top:5px !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  margin:0 !important;
  border:3px solid #fff !important;
  border-radius:50% !important;
  box-shadow:0 0 0 1px rgba(255,255,255,.3) !important;
}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.online{background:#20c96b !important}
#c2pChatPanel .c2pChatBrandRow>.c2pStatusDot.offline{background:#ef3f45 !important}
#c2pChatPanel .c2pChatBrandName{
  display:block !important;
  width:100% !important;
  height:28px !important;
  margin:0 !important;
  padding:0 !important;
  color:#fff !important;
  font-size:25px !important;
  line-height:28px !important;
  font-weight:900 !important;
  letter-spacing:-.55px !important;
  white-space:nowrap !important;
  text-align:left !important;
  text-shadow:none !important;
}
#c2pChatPanel #c2pChatStatus{
  display:block !important;
  width:100% !important;
  height:14px !important;
  margin:0 !important;
  padding:0 4px 0 0 !important;
  color:#fff !important;
  font-size:11px !important;
  line-height:14px !important;
  font-weight:500 !important;
  text-align:right !important;
  opacity:1 !important;
}
#c2pChatPanel .c2pChatClose{
  top:7px !important;
  right:8px !important;
  width:26px !important;
  height:26px !important;
  background:transparent !important;
}

/* Name / contact row */
#c2pChatPanel .c2pChatIntro{
  box-sizing:border-box !important;
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:9px !important;
  min-height:67px !important;
  padding:13px 14px !important;
  margin:0 !important;
  background:#fff !important;
  border-bottom:1px solid #dfe6ee !important;
}
#c2pChatPanel .c2pChatIntro input{
  box-sizing:border-box !important;
  width:100% !important;
  min-width:0 !important;
  height:41px !important;
  margin:0 !important;
  padding:8px 13px !important;
  border:1px solid #d5dfe9 !important;
  border-radius:22px !important;
  background:#fff !important;
  font-size:14px !important;
  line-height:23px !important;
  box-shadow:none !important;
}

/* Large clean message area */
#c2pChatPanel .c2pChatMessages{
  box-sizing:border-box !important;
  padding:14px !important;
  margin:0 !important;
  background:#f8fafc !important;
  border:0 !important;
}

/* Bottom composer like reference */
#c2pChatPanel .c2pChatCompose{
  box-sizing:border-box !important;
  min-height:72px !important;
  padding:12px 13px !important;
  margin:0 !important;
  gap:9px !important;
  align-items:center !important;
  background:#fff !important;
  border-top:1px solid #e0e7ef !important;
}
#c2pChatPanel .c2pChatCompose textarea{
  box-sizing:border-box !important;
  flex:1 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  min-height:46px !important;
  height:46px !important;
  max-height:90px !important;
  margin:0 !important;
  padding:11px 42px 10px 16px !important;
  border:1px solid #d5dfe9 !important;
  border-radius:24px !important;
  background:#fff !important;
  font-size:14px !important;
  line-height:23px !important;
  box-shadow:none !important;
}
#c2pChatPanel #c2pChatSend{
  box-sizing:border-box !important;
  flex:0 0 auto !important;
  min-width:76px !important;
  height:46px !important;
  margin:0 !important;
  padding:0 18px !important;
  border:0 !important;
  border-radius:24px !important;
  background:#00c875 !important;
  color:#fff !important;
  font-size:14px !important;
  line-height:46px !important;
  font-weight:900 !important;
  box-shadow:none !important;
}

@media(max-width:420px){
  #c2pChatPanel{
    width:calc(100vw - 18px) !important;
  }
  #c2pChatPanel .c2pChatAvatar{
    left:16px !important;
    width:112px !important;
  }
  #c2pChatPanel .c2pChatHeadCopy{
    left:130px !important;
    right:12px !important;
  }
  #c2pChatPanel .c2pChatTitle{font-size:12.5px !important}
  #c2pChatPanel .c2pChatBrandName{font-size:22px !important}
}

/* Mostrar imágenes adjuntas directamente dentro del chat */
.c2pChatMsg.c2pChatMsgImage{padding:4px;overflow:hidden}
.c2pChatImage{display:block;max-width:100%;width:auto;height:auto;max-height:320px;border-radius:11px;object-fit:contain}

/* Customer2Pro: chat maximizado SOLO cuando el usuario pulsa la flecha */
@media (min-width:769px){
  #c2pChatPanel.open.c2pChatMaximized{
    top:0 !important;
    right:0 !important;
    bottom:0 !important;
    left:auto !important;
    width:390px !important;
    height:100vh !important;
    height:100dvh !important;
    max-height:none !important;
    border-radius:0 !important;
    border-top:0 !important;
    border-right:0 !important;
    border-bottom:0 !important;
    box-shadow:-12px 0 34px rgba(0,0,0,.16) !important;
  }
}

/* Customer2Pro: botón maximizar/minimizar del chat SOLO en escritorio */
#c2pChatPanel .c2pChatDockToggle{display:none}
@media (min-width:769px){
  #c2pChatPanel .c2pChatDockToggle{
    position:absolute !important;
    top:8px !important;
    right:44px !important;
    z-index:6 !important;
    width:28px !important;
    height:28px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.10) !important;
    color:#fff !important;
    display:grid !important;
    place-items:center !important;
    cursor:pointer !important;
    font:inherit !important;
    line-height:1 !important;
  }
  #c2pChatPanel .c2pChatDockToggle span{
    display:block;
    font-size:18px;
    line-height:18px;
    transform:translateY(-1px);
  }
  #c2pChatPanel .c2pChatDockToggle:hover,
  #c2pChatPanel .c2pChatDockToggle:focus-visible{
    background:rgba(255,255,255,.18) !important;
    outline:none !important;
  }
}

/* Customer2Pro: estado NORMAL del widget como la captura aprobada.
   El modo maximizado existente solo se activa al pulsar la flecha. */
@media (min-width:769px){
  #c2pChatPanel.open.c2pChatNormal{
    top:auto !important;
    right:26px !important;
    bottom:166px !important;
    left:auto !important;
    width:380px !important;
    height:570px !important;
    max-width:calc(100vw - 52px) !important;
    max-height:82vh !important;
    border-radius:22px !important;
  }
}

/* Customer2Pro — widget de seguimiento de pedido. Solo se muestra si chat.js detecta un pedido del usuario. */
#c2pOrderWidgetButton[hidden],#c2pOrderWidgetPanel[hidden]{display:none!important}
#c2pOrderWidgetButton{
  position:fixed;z-index:999996;right:210px;bottom:88px;height:58px;min-width:158px;padding:0 18px;
  border:0;border-radius:999px;background:#fff;color:#063b78;box-shadow:0 12px 34px rgba(6,59,120,.22);
  display:flex;align-items:center;justify-content:center;gap:9px;font:850 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer
}
#c2pOrderWidgetButton:hover{transform:translateY(-2px)}
.c2pOrderWidgetIcon{width:26px;height:26px;display:grid;place-items:center}.c2pOrderWidgetIcon svg{width:24px;height:24px;fill:currentColor}
.c2pOrderWidgetDot{width:9px;height:9px;border-radius:50%;background:#8a9aab}.c2pOrderWidgetDot.delivery{background:#00c875}.c2pOrderWidgetDot.received{background:#063b78}
#c2pOrderWidgetPanel{
  position:fixed;z-index:999997;right:210px;bottom:158px;width:min(370px,calc(100vw - 32px));max-height:min(68vh,560px);
  background:#fff;border-radius:20px;box-shadow:0 20px 54px rgba(6,33,65,.24);overflow:hidden;opacity:0;transform:translateY(10px) scale(.98);pointer-events:none;transition:.18s ease
}
#c2pOrderWidgetPanel.open{opacity:1;transform:none;pointer-events:auto}
.c2pOrderWidgetHead{display:flex;align-items:center;justify-content:space-between;padding:17px 18px;background:#063b78;color:#fff}
.c2pOrderWidgetHead>div{display:flex;flex-direction:column;gap:3px}.c2pOrderWidgetHead strong{font-size:17px}.c2pOrderWidgetHead small{opacity:.82;font-size:12px}
#c2pOrderWidgetClose{border:0;background:transparent;color:#fff;font-size:28px;line-height:1;cursor:pointer;padding:0 2px}
.c2pOrderWidgetBody{padding:16px 18px 18px;overflow:auto;max-height:calc(min(68vh,560px) - 70px);color:#10243b;overscroll-behavior:contain}
.c2pOrderWidgetStatus{display:flex;align-items:center;gap:8px;font-weight:850;margin-bottom:14px}.c2pOrderWidgetStatusDot{width:10px;height:10px;border-radius:50%;background:#8a9aab}
.c2pOrderWidgetStatus.delivery .c2pOrderWidgetStatusDot{background:#00c875}.c2pOrderWidgetStatus.received .c2pOrderWidgetStatusDot{background:#063b78}
.c2pOrderWidgetItems{border-top:1px solid #e8eef4;border-bottom:1px solid #e8eef4;padding:8px 0;margin-bottom:10px}.c2pOrderWidgetItem{padding:5px 0;font-size:14px}
.c2pOrderWidgetRow{display:flex;align-items:center;justify-content:space-between;padding:6px 0;font-size:14px}.c2pOrderWidgetAddress{display:flex;flex-direction:column;gap:4px;margin-top:8px;padding:10px 12px;border-radius:12px;background:#f5f8fb;font-size:13px}.c2pOrderWidgetAddress strong{font-weight:700;line-height:1.35}
.c2pOrderWidgetTrack{display:flex;align-items:center;justify-content:center;margin-top:14px;min-height:44px;border-radius:999px;background:#00c875;color:#fff!important;text-decoration:none!important;font-weight:850}
@media(max-width:768px){
  #c2pOrderWidgetButton{right:auto!important;left:14px!important;bottom:82px!important;height:46px!important;min-width:128px!important;padding:0 13px!important;font-size:13px!important;gap:7px!important}
  .c2pOrderWidgetIcon{width:22px;height:22px}.c2pOrderWidgetIcon svg{width:21px;height:21px}
  #c2pOrderWidgetPanel{left:12px!important;right:12px!important;bottom:138px!important;width:auto!important;max-height:62vh!important;border-radius:18px!important}
  .c2pOrderWidgetBody{max-height:calc(62vh - 66px)}
}
