/* ALUCON_PWA_INSTALL_20261020 - isolation from shop theme */
#alucon-pwa-floating[hidden],
#alucon-pwa-footer[hidden],
#alucon-pwa-help[hidden] { display: none !important; }
#alucon-pwa-floating {
  position: fixed;
  left: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px 8px 8px;
  border: 1px solid #dbe3ed;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(12, 35, 64, .19);
  background: #fff;
  color: #092747;
  font: 700 13px/1.25 system-ui, -apple-system, sans-serif;
  cursor: pointer;
  max-width: 194px;
  min-height: 48px;
  -webkit-tap-highlight-color: transparent;
}
#alucon-pwa-floating:focus-visible,
#alucon-pwa-footer:focus-visible { outline: 3px solid #2265f2; outline-offset: 3px; }
#alucon-pwa-floating img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #9aafc2;
  
}
#alucon-pwa-floating .alucon-pwa-floating-label { text-align: left; }
#alucon-pwa-floating small { display: block; font: 400 10px/1.2 system-ui, sans-serif; margin-top: 3px; color: #46617a; }
#alucon-pwa-footer {
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
#alucon-pwa-help {
  border: 0;
  border-radius: 16px;
  padding: 26px;
  width: min(92vw, 410px);
  max-height: min(85vh, 520px);
  background: #fff;
  color: #0d2d4b;
  box-shadow: 0 12px 45px rgba(0,0,0,.22);
  font-family: system-ui, -apple-system, sans-serif;
}
#alucon-pwa-help::backdrop { background: rgba(0, 0, 0, .48); }
#alucon-pwa-help h2 { font-size: 22px; margin: 0 0 12px; }
#alucon-pwa-help p { font-size: 15px; line-height: 1.55; }
#alucon-pwa-help .alucon-pwa-close {
  background: #1964e8;
  border: none;
  border-radius: 9px;
  color: #fff;
  font: 700 15px system-ui, sans-serif;
  padding: 12px 18px;
  cursor: pointer;
  margin-top: 8px;
}
@media (max-width: 380px) {
  #alucon-pwa-floating { left: 8px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 7px; font-size: 11px; gap: 6px; max-width: 165px; }
  #alucon-pwa-floating img { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: no-preference) {
  #alucon-pwa-floating { transition: transform .18s ease, box-shadow .18s ease; }
  #alucon-pwa-floating:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(12,35,64,.24); }
}



/* ALUCON_PWA_WIDGET_ICON_CONTRAST_V1 */
.alucon-install-widget__icon,
.alucon-install-fab__icon,
.alucon-pwa-install__icon,
.alucon-pwa-widget__icon {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
}

.alucon-install-widget__icon img,
.alucon-install-fab__icon img,
.alucon-pwa-install__icon img,
.alucon-pwa-widget__icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: scale(1.06);
  filter: contrast(1.22) saturate(1.12) brightness(1.05);
}


/* ALUCON_PWA_FOOTER_MOBILE_FIX_V2 */
#alucon-pwa-footer:not([hidden]) {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  background: #edf4ff;
  border: 1px solid #b9cfff;
  border-radius: 9px;
  color: #174aa0;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
