/* Banner PWA - Menu Ristorante */
.pwa-restaurant-banner,
.pwa-ios-modal {
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

.pwa-restaurant-banner {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 99999;
  align-items: center;
  gap: 12px;
  padding: 14px 44px 14px 14px;
  border-radius: 16px;
  background: #fff7ef;
  border: 1px solid rgba(122, 31, 31, 0.18);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  color: #2c1b1b;
}

.pwa-restaurant-banner.is-visible {
  display: flex;
}

.pwa-restaurant-banner__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: 0 0 auto;
}

.pwa-restaurant-banner__text {
  flex: 1 1 auto;
  font-size: 15px;
  line-height: 1.35;
}

.pwa-restaurant-banner__text strong {
  color: #7a1f1f;
}

.pwa-restaurant-banner__install {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  background: #7a1f1f;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.pwa-restaurant-banner__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #7a1f1f;
  font-size: 18px;
  cursor: pointer;
}

.pwa-ios-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.55);
  padding: 18px;
}

.pwa-ios-modal.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-ios-modal__card {
  width: min(440px, 100%);
  background: #ffffff;
  border-radius: 20px;
  padding: 22px;
  color: #241616;
  position: relative;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.pwa-ios-modal__close {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  color: #7a1f1f;
}

.pwa-ios-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.pwa-ios-modal__header img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.pwa-ios-modal__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  color: #7a1f1f;
}

.pwa-ios-modal__steps {
  margin: 14px 0 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.5;
}

.pwa-ios-modal__steps li {
  margin-bottom: 10px;
}

.pwa-ios-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid #d6d6d6;
  color: #007aff;
  font-weight: bold;
  vertical-align: middle;
}

@media (max-width: 520px) {
  .pwa-restaurant-banner {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .pwa-restaurant-banner__install {
    width: 100%;
  }
}
