/** Shopify CDN: Minification failed

Line 147:0 Unexpected "}"

**/
.certificate-badge {
  display: flex;
  align-items: center;
  margin: 0.75rem 0;
}

.certificate-badge__icon {
  width: 24px;
  height: auto;
  margin-right: 0.5rem;
}

.certificate-badge__text {
  font-size: var(--price-font-size, 1.4rem);
  line-height: 1.2;
  color: var(--color-foreground);
}

.certificate-badge__link {
  text-decoration: underline;
  cursor: pointer;
}

.certificate-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.certificate-modal.open {
  display: block;
}

.certificate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.certificate-modal__panel {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 5vh auto;
  background: #fff;
  padding: 1rem;
  border-radius: 0.25rem;
  overflow: auto;
}

.certificate-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
}



.certificate-modal__image {
  display: block;
  /* never exceed the panel’s height */
  max-height: calc(90vh - 2rem);
  /* scale width automatically */
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}
.certificate-modal {
  position: fixed;
  inset: 0;                  /* top/right/bottom/left: 0 */
  display: none;             /* hidden by default */
  align-items: center;       /* center panel vertically… */
  justify-content: center;   /* …and horizontally */
  z-index: 9999;             /* on top of everything else */
}

.certificate-modal.open {
  display: flex;
}

.certificate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.certificate-modal__panel {
  position: relative;
  z-index: 1;                /* sit above the backdrop */
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  background: white;         /* or whatever your design calls for */
  border-radius: 4px;
  padding: 1rem;
}
/* 1. FULL-SCREEN WRAPPER (hidden by default) */
.certificate-modal {
  position: fixed;
  inset: 0;               /* top/right/bottom/left: 0 */
  display: none;          /* hidden */
  align-items: center;
  justify-content: center;
  overflow-y: auto;       /* allow scrolling if content is tall */
  z-index: 9999!important;
}

/* 2. When we add “open”, flex will kick in */
.certificate-modal.open {
  display: flex;
}

/* 3. THE DARK BACKDROP */
.certificate-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

/* 4. THE WHITE PANEL */
.certificate-modal__panel {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 4px;
  /* fill up to 90% of viewport */
  max-width: 90vw;
  max-height: 90vh;
  /* hide any overflow so we never scroll the panel itself */
  overflow: hidden;
  /* small padding so the close button can sit inside */
  padding: 0.5rem;
  box-sizing: border-box;
}
}

/* 1. Make the backdrop cover the *whole* screen */
.certificate-modal__backdrop {
  /* switch to fixed so it never gets clipped by parents */
  position: fixed !important;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;                /* stack just above the page content */
}

/* 2. Make sure the panel is on top of the backdrop */
.certificate-modal__panel {
  position: relative;
  z-index: 1001;                /* just one notch higher */
}

/* 3. And ensure your wrapper is above *everything* */
.certificate-modal {
  position: fixed;
  inset: 0;
  display: none;                /* hidden until “.open” */
  align-items: center;
  justify-content: center;
  z-index:  9999;               /* tops even sticky headers */
}

.certificate-modal.open {
  display: flex;
}

