.sec-whatsapp-widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999990;
  direction: rtl;
  color: #171717;
  font-family: "Open Sans Hebrew Condensed", Arial, sans-serif;
}

.sec-whatsapp-widget *,
.sec-whatsapp-widget *::before,
.sec-whatsapp-widget *::after { box-sizing: border-box; }

.sec-whatsapp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(9, 14, 22, .54);
  opacity: 0;
  transition: opacity .22s ease;
}

.sec-whatsapp-backdrop.is-open { opacity: 1; }
.sec-whatsapp-backdrop[hidden],
.sec-whatsapp-panel[hidden] { display: none!important; }

.sec-whatsapp-launcher {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0!important;
  border: 0!important;
  border-radius: 50%!important;
  background: #25d366!important;
  color: #fff!important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  animation: sec-whatsapp-attention .85s ease-in-out 4;
}

.sec-whatsapp-launcher:hover,
.sec-whatsapp-launcher:focus {
  transform: translateY(-2px);
  background: #1fbd5b!important;
  color: #fff!important;
  box-shadow: 0 11px 28px rgba(0, 0, 0, .28);
}

.sec-whatsapp-launcher svg { width: 30px; height: 30px; }

.sec-whatsapp-notification {
  position: absolute;
  top: -3px;
  left: -3px;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e02424;
  color: #fff;
  font: 700 11px/1 Arial, sans-serif;
}

.sec-whatsapp-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  z-index: 2;
  width: 440px;
  max-width: calc(100vw - 36px);
  padding: 28px;
  overflow: visible;
  border: 1px solid #ececf1;
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px)) scale(.97);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
}

.sec-whatsapp-panel.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.sec-whatsapp-close {
  position: absolute;
  top: -22px;
  left: -10px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0!important;
  border: 1px solid #eef0f4!important;
  border-radius: 50%!important;
  background: #fff!important;
  color: #101b2c!important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .14);
  font: 400 34px/1 Arial, sans-serif!important;
  cursor: pointer;
}

.sec-whatsapp-close:hover,
.sec-whatsapp-close:focus { background: #f7f8fa!important; color: #101b2c!important; }

.sec-whatsapp-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.sec-whatsapp-copy { flex: 1 1 auto; min-width: 0; text-align: right; }
.sec-whatsapp-copy h2 {
  margin: 0 0 2px!important;
  color: #5b2bbf!important;
  font-size: 31px!important;
  font-weight: 900!important;
  line-height: 1.05!important;
}
.sec-whatsapp-copy > strong {
  display: block;
  margin: 0 0 8px;
  color: #111!important;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.12;
}
.sec-whatsapp-copy p {
  margin: 4px 0!important;
  color: #3c3c43!important;
  font-size: 16px;
  line-height: 1.4;
}
.sec-whatsapp-copy p b { color: #5b2bbf; font-weight: 900; }
.sec-whatsapp-copy p:first-of-type b { color: #25b95f; }

.sec-whatsapp-smiley {
  flex: 0 0 105px;
  width: 105px;
  height: 105px;
}
.sec-whatsapp-smiley svg,
.sec-whatsapp-smiley img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sec-whatsapp-benefits {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 22px 0 18px;
  padding: 18px 10px 14px;
  border-radius: 18px;
  background: #f7f7fa;
}
.sec-whatsapp-benefits > div {
  min-width: 0;
  text-align: center;
}
.sec-whatsapp-benefits svg {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 auto 7px;
  fill: none;
  stroke: #5b2bbf;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sec-whatsapp-benefits span {
  display: block;
  color: #171717;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.18;
}

.sec-whatsapp-action {
  display: flex!important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 12px 18px!important;
  border: 0!important;
  border-radius: 18px!important;
  background: #12bf54!important;
  color: #fff!important;
  box-shadow: none!important;
  font: 800 21px/1.2 inherit!important;
  cursor: pointer;
}
.sec-whatsapp-action:hover,
.sec-whatsapp-action:focus { background: #0fa94a!important; color: #fff!important; }
.sec-whatsapp-action svg { width: 29px; height: 29px; }

@keyframes sec-whatsapp-attention {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(0,0,0,.24); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 9px rgba(37,211,102,.2), 0 10px 28px rgba(0,0,0,.28); }
}

@media (max-width: 600px) {
  .sec-whatsapp-widget { right: 12px; bottom: 12px; }
  .sec-whatsapp-launcher { width: 50px; height: 50px; }
  .sec-whatsapp-launcher svg { width: 27px; height: 27px; }
  .sec-whatsapp-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: calc(100vw - 32px);
    max-width: 410px;
    padding: 23px 18px 19px;
    transform: translate(-50%, calc(-50% + 14px)) scale(.97);
    transform-origin: center;
  }
  .sec-whatsapp-panel.is-open { transform: translate(-50%, -50%) scale(1); }
  .sec-whatsapp-close { top: -18px; left: -4px; width: 44px; height: 44px; font-size: 31px!important; }
  .sec-whatsapp-intro { gap: 10px; }
  .sec-whatsapp-copy h2 { font-size: clamp(24px, 7.4vw, 30px)!important; }
  .sec-whatsapp-copy > strong { font-size: clamp(18px, 5.5vw, 23px); }
  .sec-whatsapp-copy p { font-size: 14px; }
  .sec-whatsapp-smiley { flex-basis: 86px; width: 86px; height: 86px; }
  .sec-whatsapp-benefits { gap: 3px; margin: 18px 0 15px; padding: 15px 5px 12px; }
  .sec-whatsapp-benefits svg { width: 29px; height: 29px; }
  .sec-whatsapp-benefits span { font-size: 11px; }
  .sec-whatsapp-action { min-height: 52px; border-radius: 16px!important; font-size: 18px!important; }
}

@media (max-width: 370px) {
  .sec-whatsapp-panel { padding-right: 14px; padding-left: 14px; }
  .sec-whatsapp-smiley { flex-basis: 73px; width: 73px; height: 73px; }
  .sec-whatsapp-copy h2 { font-size: 23px!important; }
  .sec-whatsapp-copy > strong { font-size: 17px; }
  .sec-whatsapp-copy p { font-size: 12px; }
  .sec-whatsapp-benefits span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .sec-whatsapp-launcher { animation: none; }
  .sec-whatsapp-panel,
  .sec-whatsapp-backdrop { transition: none; }
}

@media print {
  .sec-whatsapp-widget { display: none!important; }
}
