.story-frame.template-006-active {
  background: var(--template-006-primary, #F6F1DF);
}

.story-frame.template-006-active > .template-chrome {
  z-index: auto;
}

.story-frame.template-006-active > .template-text-host {
  z-index: 5;
}

.story-frame.template-006-active > img.template-006-product {
  position: absolute;
  z-index: 2;
  top: 32.5%;
  right: auto;
  bottom: auto;
  left: 2%;
  display: block;
  width: 96%;
  height: 43%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.story-frame.template-006-active > img.template-006-product.is-product-editable {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

html.is-text-editing .story-frame.template-006-active > img.template-006-product.is-product-editable {
  pointer-events: none;
}

.story-frame.template-006-active > img.template-006-product-outline {
  pointer-events: none;
}

.story-frame.template-006-active > img.template-006-product-outline[hidden] {
  display: none;
}

.template-006-product-outline.is-white {
  filter: none;
}

.template-006-product-outline.is-black {
  filter: brightness(0);
}

.template-006-canvas {
  overflow: hidden;
}

.template-006-circle,
.template-006-arrow {
  z-index: 3;
  pointer-events: auto;
  touch-action: none;
  cursor: grab;
}

.template-006-circle svg,
.template-006-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.story-frame.template-006-active [data-template-group-text] [data-template-color-key] {
  touch-action: none;
}

.story-frame.template-006-active [data-template-color-key] {
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
}

.template-006-cta {
  z-index: 4;
  border-radius: 999px;
}

.template-006-product-menu {
  position: absolute;
  z-index: 9;
  top: 64px;
  left: 50%;
  display: grid;
  width: calc(100% - 24px);
  max-width: 350px;
  box-sizing: border-box;
  gap: 7px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(30, 29, 34, 0.9);
  color: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.template-006-product-menu[hidden] {
  display: none;
}

.template-006-product-menu > span {
  padding-inline: 3px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.template-006-product-menu button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.template-006-shadow-button {
  width: 100%;
}

.template-006-outline-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.template-006-outline-options button.is-active {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.template-006-circle {
  z-index: 1;
  border-radius: 50%;
}
