/* Es Turó de França · Mediterranean guest chat · 1.1.0 · entirely namespaced */
.esc-widget{
  --esc-green:#355C4B;--esc-cream:#FAF6EE;--esc-sand:#B79260;
  --esc-ink:#293A31;--esc-muted:#6E7970;--esc-line:#E9E8E0;--esc-light:#F7F9F4;
  font:400 14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--esc-ink);text-align:left;letter-spacing:normal;direction:ltr;isolation:isolate;
}
.esc-widget,.esc-widget *,.esc-widget *::before,.esc-widget *::after{box-sizing:border-box}
.esc-widget [hidden]{display:none!important}
.esc-widget svg{display:block;width:21px;height:21px;fill:none;flex-shrink:0}
.esc-widget button,.esc-widget input,.esc-widget select,.esc-widget textarea{
  box-sizing:border-box;font:inherit;letter-spacing:normal;text-transform:none;outline-offset:2px;
}
.esc-widget button{cursor:pointer;-webkit-appearance:none;appearance:none;text-decoration:none}
.esc-widget :is(button,input,textarea,select):focus-visible{outline:3px solid var(--esc-sand)!important;outline-offset:3px}
.esc-widget :is(h3,p){margin-block:0}
.esc-widget :is(button,textarea,input,select){max-width:100%}
.esc-widget .esc-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.esc-floating{position:fixed!important;right:24px;bottom:calc(22px + env(safe-area-inset-bottom,0px));width:auto;z-index:2147483000!important;display:flex!important;flex-direction:column;align-items:flex-end;gap:13px;pointer-events:none}
.esc-floating>*{pointer-events:auto}
.esc-floating.esc-position-left{left:24px;right:auto;align-items:flex-start}
.esc-widget .esc-launcher{
  min-height:62px;padding:9px 19px 9px 9px!important;border:1px solid rgba(255,255,255,.18)!important;
  border-radius:100px!important;background:var(--esc-green)!important;color:#fff!important;
  display:flex!important;align-items:center;gap:12px;box-shadow:0 9px 31px rgba(19,51,36,.28)!important;
  transition:transform .2s ease,box-shadow .2s ease;min-width:173px;max-width:280px;margin:0!important;
  line-height:1.2!important;opacity:1!important;visibility:visible!important
}
.esc-widget .esc-launcher:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(19,51,36,.36)!important}
.esc-launcher-symbol{background:rgba(255,255,255,.14);width:44px;height:44px;min-width:44px;border-radius:50%;display:grid;place-items:center}
.esc-launcher-symbol svg{width:25px;height:25px}
.esc-launcher-copy{display:flex;flex-direction:column;gap:2px;min-width:0;align-items:flex-start;text-align:left;white-space:nowrap}
.esc-launcher-copy b{font-size:14px;font-weight:700;line-height:1.25;color:#fff!important}
.esc-launcher-copy small{font-size:10px;color:#E6EBE4;line-height:1.3;font-weight:400}
.esc-launcher-x{display:none}
.esc-floating.is-open .esc-launcher{min-width:51px;min-height:51px;width:51px;height:51px;padding:12px!important;justify-content:center}
.esc-floating.is-open .esc-launcher-symbol,.esc-floating.is-open .esc-launcher-copy{display:none}
.esc-floating.is-open .esc-launcher-x{display:block}
.esc-floating.is-open .esc-launcher-x svg{width:23px;height:23px}
.esc-widget .esc-panel{
  display:flex;flex-direction:column;overflow:hidden;position:relative;
  background:#fff!important;color:var(--esc-ink)!important;
  border:1px solid #E7E7DE!important;border-radius:20px!important;
  box-shadow:0 25px 80px rgba(25,43,31,.23),0 3px 13px rgba(25,43,31,.07)!important;
  width:405px;max-width:calc(100vw - 28px);height:min(655px,calc(100dvh - 114px));max-height:calc(100dvh - 114px);
  margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;
}
.esc-embedded{width:100%;max-width:720px;margin:24px auto}
.esc-embedded .esc-panel{width:100%;max-width:100%;height:660px;max-height:min(760px,95dvh);border-radius:16px!important;box-shadow:0 10px 40px rgba(25,43,31,.08)!important}
.esc-panel-header{
  flex:none;min-height:96px;padding:19px 20px!important;display:flex;align-items:center;gap:12px;
  color:#fff!important;background:var(--esc-green)!important;position:relative;overflow:hidden
}
.esc-panel-header:after{content:"";position:absolute;right:-63px;top:-114px;width:250px;height:250px;border:1px solid rgba(255,255,255,.14);border-radius:100%;pointer-events:none;box-shadow:0 0 0 32px rgba(255,255,255,.035),0 0 0 80px rgba(255,255,255,.025)}
.esc-brand-mark{display:grid;place-items:center;width:48px;height:48px;min-width:48px;border-radius:14px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);color:#FBF7E9;z-index:1}
.esc-brand-mark svg{width:26px;height:26px}
.esc-panel-heading{z-index:1;min-width:0;display:flex;flex:1;flex-direction:column;gap:2px;align-items:flex-start}
.esc-panel-heading small{font-size:9px!important;line-height:1.4;letter-spacing:2px;font-weight:650;color:#E9E0CF}
.esc-panel-heading strong{font:normal 22px/1.16 Georgia,"Times New Roman",serif!important;color:#fff!important;letter-spacing:-.5px;white-space:normal}
.esc-panel-heading span{font-size:11px;color:#E2EDE4;line-height:1.4}
.esc-widget .esc-minimize{position:relative;z-index:1;display:grid;place-items:center;width:33px;height:33px;min-width:33px;margin:0!important;padding:6px!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.11)!important;color:#fff!important;box-shadow:none!important;line-height:1!important}
.esc-widget .esc-minimize:hover{background:rgba(255,255,255,.2)!important}
.esc-minimize svg{width:18px;height:18px}
.esc-view{display:flex;flex-direction:column;flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:#fff}
.esc-intro{padding:23px 23px 11px;flex:none;background:linear-gradient(148deg,var(--esc-cream) 0%,#fff 96%)}
.esc-kicker{display:flex;align-items:center;gap:8px;color:#577663;font-size:11px;font-weight:600;line-height:1.4}
.esc-kicker-dot{width:8px;height:8px;background:var(--esc-sand);border-radius:50%;box-shadow:0 0 0 3px rgba(183,146,96,.15);flex:none}
.esc-intro h3{font:normal 24px/1.18 Georgia,"Times New Roman",serif!important;letter-spacing:-.55px!important;color:#263D30!important;padding:0!important;margin:11px 0 6px!important}
.esc-intro p{font-size:12px;line-height:1.65;color:var(--esc-muted);margin:0!important}
.esc-topics{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px;margin-bottom:6px}
.esc-widget .esc-topic{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 10px!important;border-radius:20px!important;border:1px solid #DCE5D9!important;color:#4D6752!important;background:#fff!important;box-shadow:0 1px 2px rgba(18,41,27,.03)!important;font-size:11px!important;font-weight:550;line-height:1.3!important;white-space:nowrap;margin:0!important}
.esc-widget .esc-topic span:first-child{color:var(--esc-sand);font-size:14px}
.esc-widget .esc-topic:hover,.esc-widget .esc-topic.is-selected{border-color:var(--esc-green)!important;background:#EEF3EC!important}
.esc-new{display:flex;flex-direction:column;gap:11px;padding:14px 23px 20px;flex:none;margin:0!important}
.esc-new label:not(.esc-privacy){display:flex;flex-direction:column;gap:5px;color:#385343;font-size:11px;font-weight:650;line-height:1.35}
.esc-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.esc-widget .esc-new :is(input:not([type="checkbox"]),select,textarea),.esc-widget .esc-reply textarea{
  width:100%!important;max-width:100%!important;min-width:0!important;min-height:40px!important;padding:9px 11px!important;
  margin:0!important;background:#FFF!important;color:var(--esc-ink)!important;border:1px solid #DCE5DA!important;
  border-radius:9px!important;box-shadow:none!important;font-size:12px!important;font-weight:400!important;line-height:1.45!important;
}
.esc-widget .esc-new textarea{min-height:69px!important;resize:vertical;max-height:150px}
.esc-widget .esc-new :is(input,select,textarea):focus,.esc-widget .esc-reply textarea:focus{border-color:var(--esc-green)!important;box-shadow:0 0 0 3px rgba(74,112,86,.1)!important;outline:none}
.esc-widget input::placeholder,.esc-widget textarea::placeholder{color:#9CA99E!important;opacity:1}
.esc-privacy{display:flex;align-items:flex-start;gap:9px;margin:2px 0 0!important;font-size:10.5px;line-height:1.5;color:#6B7C6E;cursor:pointer}
.esc-widget .esc-privacy input{height:16px!important;width:16px!important;min-width:16px;margin:1px 0 0!important;padding:0!important;accent-color:var(--esc-green);cursor:pointer}
.esc-widget .esc-primary{
  display:flex;align-items:center;justify-content:center;gap:12px;min-height:45px;width:100%;margin:2px 0 0!important;
  background:var(--esc-green)!important;color:#fff!important;border:1px solid var(--esc-green)!important;
  border-radius:9px!important;padding:10px 16px!important;box-shadow:none!important;font-size:12.5px!important;
  font-weight:700!important;line-height:1.45!important;letter-spacing:.15px!important;white-space:normal!important
}
.esc-widget .esc-primary:hover{filter:brightness(.9)}
.esc-widget button:disabled{opacity:.55;cursor:wait}
.esc-primary svg{width:17px;height:17px}
.esc-private-hint{text-align:center;color:#8C968D;font-size:10px;line-height:1.4!important;margin:0!important}
.esc-alert{flex:none;margin:9px 22px 0;padding:10px 13px;border-radius:8px;background:#FFF5EC;color:#85492E;border:1px solid #F1DDCC;font-size:11.5px;line-height:1.5;overflow-wrap:anywhere}
.esc-thread{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.esc-thread-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 19px 0;flex:none}
.esc-widget .esc-new-thread{display:flex;align-items:center;gap:5px;padding:4px 0!important;border:0!important;background:none!important;color:var(--esc-green)!important;font-size:11px!important;font-weight:650!important;box-shadow:none!important;margin:0!important;line-height:1.4!important}
.esc-new-thread span:first-child{font-size:17px}
.esc-status{display:inline-block;flex:none;white-space:nowrap;color:#466D4F;font-size:10px;line-height:1.35;font-weight:650;background:#E9F1E6;padding:5px 8px;border-radius:30px}
.esc-status[data-status="pending"]{background:#FBF2E3;color:#806431}
.esc-status[data-status="closed"]{background:#EEEFEA;color:#677167}
.esc-thread-topic{padding:5px 19px 12px;border-bottom:1px solid var(--esc-line);display:flex;flex-direction:column;gap:1px;flex:none}
.esc-thread-topic strong{display:block;font-size:12px;font-weight:680;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.esc-thread-topic small{font-size:10px;color:#8D998D;line-height:1.3}
.esc-messages{flex:1;min-height:80px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(160deg,#FBFCF9,#fff);padding:17px 17px 20px;display:flex;flex-direction:column;gap:15px;scrollbar-width:thin}
.esc-chat-item{max-width:87%;align-self:flex-start;display:flex;flex-direction:column;gap:4px;min-width:0}
.esc-chat-item.esc-chat-customer{align-self:flex-end}
.esc-chat-by{font-size:9.5px;color:#88958B;font-weight:500;line-height:1.4;padding-left:2px}
.esc-chat-customer .esc-chat-by{text-align:right;padding-right:2px}
.esc-chat-bubble{background:#EFF3EC;color:#334B38;white-space:pre-wrap;overflow-wrap:anywhere;padding:11px 13px;border-radius:13px 13px 13px 4px;font-size:12px;line-height:1.65}
.esc-chat-customer .esc-chat-bubble{background:var(--esc-green);color:#fff;border-radius:13px 13px 4px 13px}
.esc-chat-system .esc-chat-bubble{background:var(--esc-cream);color:#655A47;border:1px solid #EEE4D3}
.esc-reply{flex:none;display:flex;align-items:flex-end;gap:8px;padding:12px 15px 8px;border-top:1px solid var(--esc-line);margin:0!important;background:#fff}
.esc-widget .esc-reply textarea{flex:1;min-height:46px!important;max-height:124px!important;resize:vertical;font-size:12px!important;padding:11px 12px!important}
.esc-widget .esc-send-icon{flex:none;width:45px!important;height:45px!important;min-height:45px!important;display:grid;place-items:center;background:var(--esc-green)!important;color:#fff!important;border:0!important;border-radius:10px!important;margin:0!important;padding:0!important;box-shadow:none!important}
.esc-send-icon:hover{filter:brightness(.88)}
.esc-send-icon svg{width:19px;height:19px}
.esc-chat-footnote{text-align:center;flex:none;font-size:10px;color:#89978B;padding:0 14px 9px}
.esc-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 10px;flex:none;padding:11px 19px;min-height:38px;border-top:1px solid var(--esc-line);background:#FEFDFC;color:#879186;font-size:10px;line-height:1.5}
.esc-footer a{color:#687C69;text-decoration:none!important;font-size:10px}
.esc-footer a:hover{text-decoration:underline!important}
.esc-footer .esc-signature{color:#9BA69A;font-size:9px;white-space:nowrap}
.esc-honeypot{position:absolute!important;left:-10000px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:650px){
  body.esc-chat-modal-open{overflow:hidden!important;overscroll-behavior:none}
  .esc-floating{right:12px;bottom:calc(14px + env(safe-area-inset-bottom,0px))}
  .esc-floating.esc-position-left{left:12px}
  .esc-floating.is-open,.esc-floating.esc-position-left.is-open{inset:0!important;width:100vw;height:100dvh;align-items:stretch;gap:0;background:#fff}
  .esc-floating.is-open .esc-panel{width:100vw;max-width:none;min-width:0;height:100dvh;max-height:100dvh;border:0!important;border-radius:0!important;box-shadow:none!important}
  .esc-floating.is-open .esc-launcher{display:none!important}
  .esc-floating .esc-panel-header{min-height:90px;padding:17px 19px!important}
  .esc-panel-heading strong{font-size:21px!important}
  .esc-floating .esc-view{flex:1}
  .esc-intro{padding:23px 22px 11px}
  .esc-new{padding:13px 22px 23px}
  .esc-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
  .esc-chat-footnote{padding-bottom:calc(10px + env(safe-area-inset-bottom,0px))}
  .esc-floating .esc-messages{flex:1}
  .esc-embedded{margin:10px auto}
  .esc-embedded .esc-panel{height:min(680px,90dvh)}
}
@media(max-width:400px){
  .esc-floating:not(.is-open) .esc-launcher-copy{display:none}
  .esc-floating:not(.is-open) .esc-launcher{min-width:58px;width:58px;height:58px;padding:7px!important;justify-content:center}
  .esc-floating:not(.is-open) .esc-launcher-symbol{width:42px;height:42px;min-width:42px}
  .esc-fields{grid-template-columns:1fr;gap:9px}
  .esc-intro h3{font-size:22px!important}
  .esc-intro{padding-top:16px}
  .esc-topic{font-size:10px!important}
  .esc-topics{gap:5px}
  .esc-panel-header{gap:9px}
  .esc-brand-mark{width:43px;height:43px;min-width:43px}
  .esc-panel-heading strong{font-size:19px!important}
}
@media(prefers-reduced-motion:reduce){.esc-widget *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Open desktop widget: show the chat panel above its launcher, never below it. */
@media(min-width:651px){
  .esc-floating.is-open .esc-panel{order:1}
  .esc-floating.is-open .esc-launcher{order:2}
}

.esc-chat-footnote.esc-email-warning{color:#95602C;background:#FFF7EC;padding:8px 12px;border-top:1px solid #F0E5D2}
