/* 311 FAQ H: orange light-mode chat widget (messaging-app style FAQ). Session 101.
   Brand orange #c2410c (white text 5.2:1), bubbles: lead = light orange on the RIGHT, owner = white on the LEFT with his photo. */
.c-wac { direction: rtl; font-family: "Noto Sans Hebrew", sans-serif; font-weight: 400; letter-spacing: 0; overflow: clip; background: #fff; color: #14202f; }
.c-wac :where(h2, p) { margin: 0; padding: 0; }
.c-wac__sec { position: relative; display: flex; flex-direction: column; align-items: center; padding: 56px 16px calc(40px + clamp(48px, 8vw, 110px)); background: radial-gradient(60% 40% at 88% 0%, rgba(234, 88, 12, .16), transparent 72%), radial-gradient(55% 40% at 6% 100%, rgba(234, 88, 12, .12), transparent 72%), #fff4ea; text-align: center; }
.c-wac__h { font-size: clamp(28px, 7.4vw, 36px); line-height: 1.18; text-wrap: balance; color: #1f1208; }
.c-wac__thin { display: block; font-weight: 300; }
.c-wac__key { display: block; font-weight: 900; color: #c2410c; }
.c-wac__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(48px, 8vw, 110px); display: block; pointer-events: none; }
/* the widget */
.c-wac__phone { box-sizing: border-box; display: flex; flex-direction: column; width: min(480px, 100%); margin-top: 36px; overflow: hidden; border: 1px solid rgba(194, 65, 12, .18); border-radius: 30px; background: #fff; box-shadow: 0 22px 54px rgba(154, 52, 18, .26), 0 2px 8px rgba(154, 52, 18, .12); text-align: start; }
.c-wac__top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: linear-gradient(135deg, #ea580c, #c2410c); color: #fff; }
.c-wac__av { position: relative; flex: none; width: 48px; height: 48px; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fdba74; box-sizing: border-box; }
.c-wac__av img { position: absolute; max-width: none; width: 287.5%; height: auto; left: -14.3%; top: -89.3%; }
.c-wac__av--s { width: 36px; height: 36px; border-width: 2px; }
.c-wac__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.c-wac__name { font-size: 19px; font-weight: 800; line-height: 1.2; }
.c-wac__status { font-size: 15px; font-weight: 500; line-height: 1.2; color: #fff; }
.c-wac__status.is-typing { color: #fff; font-weight: 700; }
.c-wac__log { box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; min-height: 140px; max-height: 300px; padding: 12px 12px 14px; overflow-y: auto; overscroll-behavior: contain; background: #f8e7d8 url(../assets/chat-doodle-orange.svg) center top / 360px 360px repeat; }
.c-wac__day { align-self: center; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 14px; font-weight: 600; color: #7a4a2a; }
.c-wac__row { display: flex; align-items: flex-end; gap: 8px; animation: wacPop .28s ease-out both; }
.c-wac__row--out { justify-content: flex-start; }
.c-wac__row--in { justify-content: flex-end; }
.c-wac__b { box-sizing: border-box; max-width: min(82%, 640px); padding: 10px 14px 8px; box-shadow: 0 1px 2px rgba(60, 25, 5, .18); }
.c-wac__b--in { border-radius: 18px 18px 18px 4px; background: #fff; }
.c-wac__b--out { border-radius: 18px 18px 4px 18px; background: #ffdcc2; }
.c-wac__b p { font-size: 17px; line-height: 1.5; color: #14202f; }
.c-wac__b--out p { color: #3b1d0a; }
.c-wac__meta { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 2px; font-size: 13px; line-height: 1; color: #7b6a5e; }
.c-wac__ticks { display: block; width: 18px; height: 18px; background: #9a8a7e; -webkit-mask: url(../assets/icons/ph-checks-bold.svg) center / contain no-repeat; mask: url(../assets/icons/ph-checks-bold.svg) center / contain no-repeat; transition: background .3s; }
.c-wac__b--out.is-read .c-wac__ticks { background: #2f9bf0; }
.c-wac__dots { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 4px; }
.c-wac__dots i { width: 8px; height: 8px; border-radius: 50%; background: #9a8a7e; animation: wacDot 1.1s infinite ease-in-out both; }
.c-wac__dots i:nth-child(2) { animation-delay: .16s; }
.c-wac__dots i:nth-child(3) { animation-delay: .32s; }
@keyframes wacDot { 0%, 70%, 100% { transform: translateY(0); opacity: .45; } 35% { transform: translateY(-6px); opacity: 1; } }
@keyframes wacPop { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
/* dock with the quick replies */
.c-wac__dock { padding: 14px 14px 16px; border-top: 1px solid #f2d8c4; background: #fff; }
.c-wac__hint { margin-bottom: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; color: #7a4a2a; text-align: center; }
.c-wac__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.c-wac__chip { min-height: 44px; padding: 9px 18px; border: 2px solid #ea580c; border-radius: 999px; background: #fff; color: #9a3412; font: inherit; font-size: 17px; font-weight: 700; line-height: 1.3; cursor: pointer; transition: background .2s, transform .2s, opacity .2s; }
.c-wac__chip:hover { background: #fff1e6; }
.c-wac__chip:active { transform: scale(.97); }
.c-wac__chip:focus-visible, .c-wac__reset:focus-visible { outline: 3px solid #7c2d12; outline-offset: 3px; }
.c-wac__chip.is-gone { opacity: 0; transform: scale(.8); }
.c-wac__chips.is-busy .c-wac__chip { opacity: .5; cursor: progress; }
.c-wac__reset { min-height: 44px; padding: 9px 22px; border: 0; border-radius: 999px; background: #c2410c; color: #fff; font: inherit; font-size: 17px; font-weight: 800; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .c-wac__row { animation: none; } .c-wac__dots i { animation: none; opacity: .8; } }
@media (min-width: 900px) {
  .c-wac__sec { padding: 104px 32px calc(72px + clamp(48px, 8vw, 110px)); }
  .c-wac__h { font-size: clamp(38px, 3.3vw, 52px); }
  .c-wac__phone { width: min(680px, 100%); margin-top: 52px; border-radius: 36px; }
  .c-wac__top { gap: 16px; padding: 18px 24px; }
  .c-wac__av { width: 56px; height: 56px; }
  .c-wac__av--s { width: 40px; height: 40px; }
  .c-wac__name { font-size: 21px; }
  .c-wac__status { font-size: 16px; }
  .c-wac__log { gap: 12px; min-height: 150px; max-height: 330px; padding: 16px 20px 18px; }
  .c-wac__b { padding: 12px 18px 9px; }
  .c-wac__b p { font-size: 19px; }
  .c-wac__dock { padding: 18px 20px 20px; }
  .c-wac__hint { font-size: 16px; margin-bottom: 12px; }
  .c-wac__chip { padding: 10px 22px; font-size: 18px; }
}
@media (min-width: 1100px) { .c-wac__phone { width: min(1000px, 100%); } .c-wac__log { max-height: 340px; padding-inline: 28px; } .c-wac__dock { padding: 20px 28px 24px; } .c-wac__chip { padding: 11px 26px; } }
@media (min-width: 700px) and (max-width: 899px) { .c-wac__phone { width: min(600px, 100%); } }
