/* LeeStyle_WhatsAppCTA — a self-contained WhatsApp call-to-action card.
 *
 * The wrapper class Elementor adds is the container: the card itself cannot be
 * queried, so the container-type lives on .elementor-widget-… and the queries
 * below respond to the width the widget actually gets inside a column.
 *
 * Colours fall back to the site palette (brand.css variables); Elementor's
 * colour controls override the properties directly, so an empty control never
 * leaves a CSS variable with an invalid value.
 */

.elementor-widget-whatsapp_cta_5779 {
  container-type: inline-size;
}

/* The shortcode version has no Elementor widget wrapper, so it supplies its
 * own container for the same queries. */
.lee-wa-cta-scope {
  display: block;
  width: 100%;
  container-type: inline-size;
}

.lee-wa-cta {
  --lee-wa-accent: var(--lee-olive, #2d5016);
  --lee-wa-accent-hover: var(--lee-olive-hover, #1a2e1a);
  --lee-wa-icon-bg: #25d366;
  --lee-wa-bg: var(--lee-tint, #faf8f3);
  --lee-wa-border: var(--lee-line, #e0d7c6);
  --lee-wa-ink: var(--lee-ink, #2d2926);
  --lee-wa-grey: var(--lee-grey, #5a5049);

  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 24px;
  border: 1px solid var(--lee-wa-border);
  border-radius: 18px;
  background: var(--lee-wa-bg);
  color: var(--lee-wa-ink);
  text-align: left;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.lee-wa-cta.lee-wa-cta--no-icon {
  grid-template-columns: minmax(0, 1fr) auto;
}

.lee-wa-cta:hover,
.lee-wa-cta:focus-visible {
  border-color: var(--lee-taupe, #b8a89a);
  box-shadow: 0 12px 30px rgba(45, 41, 38, .09);
  transform: translateY(-1px);
}

.lee-wa-cta:focus-visible {
  outline: 2px solid var(--lee-wa-accent);
  outline-offset: 3px;
}

.lee-wa-cta .lee-wa-cta__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--lee-wa-icon-bg);
  color: #fff;
  flex: none;
}

.lee-wa-cta .lee-wa-cta__icon svg {
  display: block;
  width: 27px;
  height: 27px;
}

.lee-wa-cta .lee-wa-cta__body {
  min-width: 0;
}

.lee-wa-cta .lee-wa-cta__overline {
  display: block;
  margin: 0 0 5px;
  color: var(--lee-wa-grey);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lee-wa-cta .lee-wa-cta__title {
  margin: 0;
  color: var(--lee-wa-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.lee-wa-cta .lee-wa-cta__desc {
  display: block;
  margin: 5px 0 0;
  color: var(--lee-wa-grey);
  font-size: 14px;
  line-height: 1.6;
}

.lee-wa-cta .lee-wa-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--lee-wa-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s ease;
}

.lee-wa-cta:hover .lee-wa-cta__button {
  background: var(--lee-wa-accent-hover);
}

.lee-wa-cta .lee-wa-cta__arrow {
  display: block;
  width: 15px;
  height: 15px;
  flex: none;
}

@container (max-width: 620px) {
  .lee-wa-cta,
  .lee-wa-cta.lee-wa-cta--no-icon {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .lee-wa-cta.lee-wa-cta--no-icon {
    grid-template-columns: minmax(0, 1fr);
  }

  .lee-wa-cta .lee-wa-cta__button {
    grid-column: 1 / -1;
  }
}

@container (max-width: 420px) {
  .lee-wa-cta {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .lee-wa-cta .lee-wa-cta__icon {
    width: 42px;
    height: 42px;
  }

  .lee-wa-cta .lee-wa-cta__icon svg {
    width: 24px;
    height: 24px;
  }

  .lee-wa-cta .lee-wa-cta__title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lee-wa-cta,
  .lee-wa-cta .lee-wa-cta__button {
    transition: none;
  }

  .lee-wa-cta:hover,
  .lee-wa-cta:focus-visible {
    transform: none;
  }
}
