@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,600&display=swap");
.theme-top-panel {
  position: relative;
  background: linear-gradient(120deg, #f2effe 0%, #eef8ff 100%);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  border: 1px solid #6d4aff;
}
@media screen and (min-width: 1200px) {
  .theme-top-panel {
    padding: 3rem;
  }
}
.theme-banner-logo {
  display: block;
  height: 28px;
  width: auto;
}
@media screen and (min-width: 1200px) {
  .theme-banner-logo {
    height: 32px;
  }
}
@media screen and (max-width: 768px) {
  .theme-banner-logo {
    height: 22px;
  }
}
.theme-banner-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #7a80a0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.theme-banner-close:hover {
  background: rgba(51, 79, 180, 0.08);
  color: #334fb4;
}
.theme-banner-row {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.theme-banner-text {
  flex: 1 1 280px;
  min-width: 0;
}
.theme-banner-media {
  position: relative;
  flex: 1 1 360px;
  min-width: 0;
  text-align: center;
}
.theme-banner-media img {
  max-width: 100%;
  height: auto;
}
.theme-banner-offer {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6d4aff 0%, #7b5cff 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(109, 74, 255, 0.35);
}
.theme-banner-offer span {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.theme-banner-offer strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}
.theme-banner-offer small {
  font-size: 0.75rem;
  font-weight: 700;
}
.theme-banner-features {
  flex: 0 1 260px;
  min-width: 220px;
}
@media screen and (max-width: 1200px) {
  .theme-banner-row {
    flex-wrap: wrap;
    text-align: center;
  }
  .theme-banner-text,
  .theme-banner-media,
  .theme-banner-features {
    flex: 1 1 100%;
  }
  .hero-feature-list li {
    justify-content: center;
  }
  .theme-banner-offer {
    position: static;
    transform: none;
    margin: 1rem auto 0;
  }
}
.theme-top-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.1rem;
  line-height: 1.25;
  margin: 0;
  color: #121f40;
  font-weight: 800;
}
.theme-top-title-accent {
  color: #6d4aff;
}
.theme-top-desc {
  margin: 0.9rem 0 0;
  max-width: 420px;
  color: #5b6178;
  font-size: 0.95rem;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: #6d4aff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-cta:hover {
  opacity: 0.92;
  color: #ffffff;
  transform: translateY(-2px);
}
.hero-cta-bundle {
  background: #ffffff;
  color: #6d4aff;
  border: 1.5px solid #6d4aff;
}
.hero-cta-bundle:hover {
  color: #6d4aff;
  background: #f2effe;
}

/* Admin menu badge for the Templates menu item */
.btnbuddy-dfb-menu-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 8px;
  border-radius: 999px;
  background: #6d4aff;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  text-transform: uppercase;
  vertical-align: middle;
}
#toplevel_page_btnbuddy_dfb_templates .wp-menu-image.dashicons-layout::before {
  color: #6d4aff;
}
#toplevel_page_btnbuddy_dfb_templates.current .wp-menu-image.dashicons-layout::before,
#toplevel_page_btnbuddy_dfb_templates:hover .wp-menu-image.dashicons-layout::before {
  color: #ffffff;
}

/* Admin bar "Templates" button, positioned like other premium/upgrade admin bar buttons */
#wp-admin-bar-btnbuddy-dfb-templates > .ab-item {
  background: #6d4aff !important;
  color: #ffffff !important;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
#wp-admin-bar-btnbuddy-dfb-templates > .ab-item:hover {
  background: #5a3ce0 !important;
  color: #ffffff !important;
}
#wp-admin-bar-btnbuddy-dfb-templates .ab-icon.dashicons-layout::before {
  color: #ffffff;
  top: 2px;
}
.hero-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}
.hero-feature-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2c3150;
}
.hero-feature-list li i {
  color: #6d4aff;
  font-size: 1.1rem;
}
@media screen and (max-width: 768px) {
  .theme-top-panel {
    padding: 1.25rem;
    border-radius: 16px;
  }
  .theme-banner-row {
    gap: 1.25rem;
  }
  .theme-banner-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 28px;
    height: 28px;
    font-size: 1.25rem;
  }
  .theme-top-title {
    font-size: 1.5rem;
  }
  .theme-top-desc {
    max-width: 100%;
    font-size: 0.9rem;
  }
  .theme-banner-media img {
    max-width: 80%;
  }
  .theme-banner-offer {
    width: 90px;
    height: 90px;
  }
  .theme-banner-offer strong {
    font-size: 1.3rem;
  }
  .hero-feature-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    margin: 0 auto;
  }
  .hero-feature-list li {
    white-space: nowrap;
  }
}
@media screen and (max-width: 480px) {
  .theme-top-panel {
    padding: 1rem;
  }
  .theme-top-title {
    font-size: 1.25rem;
  }
  .theme-banner-media img {
    max-width: 100%;
  }
  .theme-banner-offer {
    width: 76px;
    height: 76px;
  }
  .theme-banner-offer strong {
    font-size: 1.1rem;
  }
  .theme-banner-offer span {
    font-size: 0.6rem;
  }
  .theme-banner-offer small {
    font-size: 0.65rem;
  }
  .hero-cta {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }
}
