/* CTA de instalação do WikiAgro — exibido somente por detecção iOS no navegador. */
.wa-app-install-cta[hidden] {
  display: none !important;
}

.wa-app-install-cta {
  background: linear-gradient(180deg, #fbfaf7 0%, #f4efe8 100%);
  border-bottom: 1px solid #e6dacd;
  color: #332017;
  font-family: 'Inter', sans-serif;
}

.wa-app-install-cta__inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}

.wa-app-install-cta__copy {
  min-width: 0;
}

.wa-app-install-cta__title {
  margin: 0;
  color: #3a1f0f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.wa-app-install-cta__description {
  margin: 3px 0 0;
  color: #70594b;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.wa-app-install-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 46px;
  box-sizing: border-box;
  gap: 9px;
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  background: linear-gradient(180deg, #151515 0%, #050505 100%);
  box-shadow: 0 7px 18px rgba(58,31,15,.18), inset 0 1px 0 rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.wa-app-install-cta__link:hover,
.wa-app-install-cta__link:focus-visible {
  background: linear-gradient(180deg, #242424 0%, #0b0b0b 100%);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(58,31,15,.22), inset 0 1px 0 rgba(255,255,255,.22);
}

.wa-app-install-cta__store-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.wa-app-install-cta__store-icon svg {
  display: block;
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.wa-app-install-cta__store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  line-height: 1;
}

.wa-app-install-cta__store-kicker {
  display: block;
  margin-bottom: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  opacity: .88;
}

.wa-app-install-cta__store-name {
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
}

.wa-app-install-cta__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #735f53;
  cursor: pointer;
  font: inherit;
}

.wa-app-install-cta__close:hover,
.wa-app-install-cta__close:focus-visible {
  background: #ece5dc;
  color: #3a1f0f;
}

.wa-app-install-cta__close-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

@media (max-width: 767px) {
  .wa-app-install-cta__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .wa-app-install-cta__link {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 48px;
  }

  .wa-app-install-cta__title {
    font-size: 13px;
  }

  .wa-app-install-cta__description {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-app-install-cta,
  .wa-app-install-cta * {
    transition: none !important;
  }

  .wa-app-install-cta__link:hover,
  .wa-app-install-cta__link:focus-visible {
    transform: none;
  }
}
