.kpc-hardware .kpc-cass-demo,
.kpc-hardware .kpc-fascia-open {
  isolation: isolate;
}

.kpc-hardware .kpc-fascia-open {
  position: relative;
  overflow: hidden;
}

body.is-screen .kpc-cass-demo::before,
body.is-screen .kpc-fascia-open::before {
  content: "";
  position: absolute;
  z-index: 0;
  background: #7b9775 url("../assets/vista-jardin.png") center 48% / cover no-repeat;
  filter: saturate(0.92) brightness(0.9);
}

body.is-screen .kpc-cass-demo::before {
  top: 64px;
  right: 32px;
  bottom: 32px;
  left: 32px;
}

body.is-screen .kpc-fascia-open::before {
  top: 44px;
  right: 0;
  bottom: 14px;
  left: 0;
}

body.is-screen .kpc-cass-demo > *,
body.is-screen .kpc-fascia-open > * {
  position: relative;
  z-index: 2;
}

body.is-screen .kpc-hw-cloth {
  background:
    linear-gradient(180deg, rgba(226, 216, 197, 0.72), rgba(171, 159, 139, 0.82));
  -webkit-mask-image: radial-gradient(circle, transparent 0 1.05px, #000 1.3px);
  mask-image: radial-gradient(circle, transparent 0 1.05px, #000 1.3px);
  -webkit-mask-size: 6px 6px;
  mask-size: 6px 6px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
  box-shadow:
    inset 0 10px 12px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(231, 218, 193, 0.36);
}

body.is-blackout .kpc-hw-cloth {
  background: linear-gradient(180deg, #e3d4b5, #b49a6a);
  -webkit-mask: none;
  mask: none;
  opacity: 1;
  box-shadow:
    inset 0 10px 12px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.kpc-hw-fabric-badge {
  position: absolute !important;
  z-index: 9 !important;
  right: 36px;
  bottom: 36px;
  max-width: calc(100% - 72px);
  padding: 5px 7px;
  border: 1px solid var(--cyan);
  border-radius: 5px;
  background: rgba(7, 11, 14, 0.9);
  color: #dff6ff;
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
}

.kpc-fascia-open > .kpc-hw-fabric-badge {
  right: auto;
  bottom: 18px;
  left: 50%;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  white-space: nowrap;
}

body.is-blackout .kpc-hw-fabric-badge {
  border-color: var(--gold-2);
  color: #fff3cf;
}

@media (max-width: 520px) {
  .kpc-hw-fabric-badge {
    font-size: 7px;
    letter-spacing: 0.07em;
  }
}
