/* Offline clone: hide commerce / login UI */
#_desktop_cart,
#_mobile_cart,
#_desktop_user_info,
#_mobile_user_info,
li.trial-btn,
li.store-highlight,
.try-buy,
.myaccount-title,
.account-list,
#footer_account_list,
.title[data-target="#footer_account_list"],
.gp-hide-commerce,
a[href*="my-account"],
a[href*="cart"],
a[href*="8-buy-guitar-pro-upgrade"],
a[href*="terms-and-conditions-of-sale"],
a[href*="c/6-terms"] {
  display: none !important;
}

#gp-free-download-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
}

#gp-free-download-bar a {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #007bff;
  color: #fff !important;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  text-decoration: none !important;
}

#gp-free-download-bar a:hover {
  background: #0056b3;
}

/* Match live site announcement bar layout (note + text + arrow) */
.announcement-container h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
}

.announcement-container h2 .img-responsive {
  display: inline-block;
  width: auto;
  max-height: 1.25em;
  margin: 0;
  vertical-align: middle;
}

.announcement-container h2 a {
  display: inline;
}

body.gp-download-notice-open {
  overflow: hidden;
}

.gp-download-notice {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.gp-download-notice.is-open {
  display: flex;
}

.gp-download-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gp-download-notice__dialog {
  position: relative;
  max-width: 28rem;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: #fff;
  color: #1a1a1a;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.gp-download-notice__dialog h2 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.gp-download-notice__dialog p {
  margin: 0 0 1.25rem;
  line-height: 1.5;
  font-size: 0.95rem;
}

.gp-download-notice__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.gp-download-notice__btn {
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.gp-download-notice__btn--secondary {
  background: #e9ecef;
  color: #212529;
}

.gp-download-notice__btn--primary {
  background: #007bff;
  color: #fff;
}

.gp-download-notice__btn--primary:hover {
  background: #0056b3;
}
