:root {
  --plto-whatsapp-green: #25d366;
  --plto-whatsapp-green-dark: #1daa52;
  --plto-whatsapp-dark: #2d201d;
  --plto-whatsapp-red: #992124;
  --plto-whatsapp-yellow: #f4b50c;
  --plto-whatsapp-cream: #e4e2c6;
  --plto-whatsapp-white: #ffffff;
}

.plto-whatsapp-units {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999999;
}

.plto-whatsapp-units__toggle {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  appearance: none;
  transition: transform 0.2s ease;
}

.plto-whatsapp-units__toggle:hover,
.plto-whatsapp-units__toggle:focus-visible {
  transform: translateY(-2px);
}

.plto-whatsapp-units__toggle:focus-visible,
.plto-whatsapp-units__close:focus-visible,
.plto-whatsapp-units__item:focus-visible {
  outline: 2px solid var(--plto-whatsapp-yellow);
  outline-offset: 3px;
}

.plto-whatsapp-units__icon {
  display: block;
  width: 50px !important;
  height: 50px !important;
  border-radius: 12px;
}

.plto-whatsapp-units__panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(92vw, 340px);
  border-radius: 18px;
  background: rgba(45, 32, 29, 0.98);
  color: var(--plto-whatsapp-cream);
  border: 1px solid rgba(228, 226, 198, 0.16);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.plto-whatsapp-units__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 14px;
  background: linear-gradient(180deg, rgba(153, 33, 36, 0.96) 0%, rgba(93, 28, 31, 0.96) 100%);
}

.plto-whatsapp-units__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--plto-whatsapp-yellow);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.plto-whatsapp-units__heading {
  display: block;
  color: var(--plto-whatsapp-white);
  font-size: 19px;
  line-height: 1.15;
}

.plto-whatsapp-units__close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(244, 181, 12, 0.45);
  border-radius: 10px;
  background: transparent;
  color: var(--plto-whatsapp-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.plto-whatsapp-units__list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.plto-whatsapp-units__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(228, 226, 198, 0.08);
  color: var(--plto-whatsapp-cream);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.plto-whatsapp-units__item:hover,
.plto-whatsapp-units__item:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 181, 12, 0.3);
  transform: translateY(-1px);
}

.plto-whatsapp-units__item-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.plto-whatsapp-units__item-svg {
  width: 34px !important;
  height: 34px !important;
}

.plto-whatsapp-units__item-text {
  display: grid;
  gap: 2px;
}

.plto-whatsapp-units__item-title {
  color: var(--plto-whatsapp-white);
  font-size: 16px;
  line-height: 1.15;
}

.plto-whatsapp-units__item-description {
  color: rgba(228, 226, 198, 0.82);
  font-size: 13px;
  line-height: 1.25;
}

.plto-whatsapp-units__item-action {
  color: var(--plto-whatsapp-yellow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 767px) {
  .plto-whatsapp-units {
    right: 14px;
    bottom: 14px;
  }

  .plto-whatsapp-units__toggle {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .plto-whatsapp-units__panel {
    bottom: 72px;
    width: min(90vw, 320px);
  }
}
