body:has(.brochure-opening) { overflow: hidden; }
body:has(.brochure-opening) :is(.site-header, .site-footer, .skip-link) { display: none; }

.brochure-opening {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 1.5rem;
  background: #fff;
  color: var(--sm-ink, #101113);
  font-family: var(--font-sans, system-ui, sans-serif);
}

.brochure-opening__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.brochure-opening__inner { width: min(100%, 18rem); }
.brochure-opening__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.35rem;
  place-items: center;
  border-radius: .9rem;
  color: var(--sm-red, #e20a17);
  background: var(--sm-red-soft, #fff1f2);
}

.brochure-opening__status {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .55rem;
  font-size: .95rem;
  font-weight: 600;
}

.brochure-opening [data-brochure-percent] {
  color: var(--sm-red-hover, #ba0813);
  font-variant-numeric: tabular-nums;
}

.brochure-opening progress {
  display: block;
  width: 100%;
  height: .36rem;
  margin: 0;
  overflow: hidden;
  border-radius: 999px;
  accent-color: var(--sm-red, #e20a17);
}

.brochure-opening progress[value] { appearance: none; border: 0; background: #ebebeb; }
.brochure-opening progress[value]::-webkit-progress-bar { background: #ebebeb; }
.brochure-opening progress[value]::-webkit-progress-value { border-radius: 999px; background: var(--sm-red, #e20a17); }
.brochure-opening progress[value]::-moz-progress-bar { border-radius: 999px; background: var(--sm-red, #e20a17); }
.brochure-opening [hidden] { display: none; }

.brochure-opening a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 1rem;
  color: var(--sm-red-hover, #ba0813);
  text-decoration: underline;
  text-underline-offset: .22em;
}
