body.admin-bar #ios-pwa-prompt {
  top: 32px; /* Adjust if WordPress admin bar is visible */
}

/* For mobile sticky headers (e.g., 60px tall) */
@media (max-width: 768px) {
  body.sticky-header #ios-pwa-prompt {
    top: 60px; /* Match your header height */
  }
}

#ios-pwa-prompt {
  display: none; 
  position: fixed;
  top: 0; /* Changed from bottom: 0 */
  left: 0;
  right: 0;
  height:350px;
  padding: 40px 20px 20px 40px;
  background: #171717f3;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* Shadow below (not above) */
  z-index: 9999; /* Ensure it stays above other elements */
  border-bottom: 1px solid #ddd; /* Optional separator */
}

.ios-pwa-prompt-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 auto;
}

#ios-pwa-prompt p {
  margin: 0;
  font-size: 14px;
  color: #d9d9d9;
}

#ios-pwa-prompt img.share-icon{
  vertical-align: middle;
  width: 15px;
}

#ios-pwa-prompt img.app{
  vertical-align: middle;
  width: 100%;
}

.close-prompt{
  position: absolute; 
  top: 5px; 
  right: 10px; 
  background: none; 
  border: none; 
  font-size: 20px;
  padding: 0 0 0 10px;
  cursor: pointer;
  color: #c3c3c3;
}