/* Brand studio: "See it with your logo" on the product page (Studio look). */
.op-bs {
  margin: 20px 0 8px;
  padding: 18px;
  border: 1px solid var(--st-line, #E6E8EA);
  border-radius: 16px;
  background: #fff;
  font-family: var(--st-font, inherit);
}
.op-bs__head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--st-ink, #0E1114); }
.op-bs__head p { margin: 4px 0 0; font-size: 13.5px; color: var(--st-mute, #7A8189); }

.op-bs__stage { margin-top: 14px; }
.op-bs__stage canvas {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  border-radius: 12px; background: var(--st-well, #F3F4F5);
  cursor: grab; touch-action: none; user-select: none;
}
.op-bs__stage canvas:active { cursor: grabbing; }
.op-bs__stage canvas:focus-visible { outline: 2px solid var(--st-teal, #0A8AA6); outline-offset: 2px; }
.op-bs__hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--st-mute, #7A8189); }

.op-bs__tools { margin-top: 14px; display: grid; gap: 12px; }
.op-bs__upload {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 1px dashed #B9C0C7; background: var(--st-well, #F3F4F5);
  color: var(--st-ink, #0E1114); font-size: 14.5px; font-weight: 500; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.op-bs__upload::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0l-4 4m4-4l4 4M4 16v3a1 1 0 001 1h14a1 1 0 001-1v-3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0l-4 4m4-4l4 4M4 16v3a1 1 0 001 1h14a1 1 0 001-1v-3'/%3E%3C/svg%3E") center / contain no-repeat; }
.op-bs__upload:hover, .op-bs__upload:focus-within { border-color: var(--st-ink, #0E1114); background: #fff; }
.op-bs.has-logo .op-bs__upload { min-height: 40px; font-size: 13.5px; border-style: solid; background: #fff; }

.op-bs__controls { display: grid; gap: 12px; }
.op-bs__size { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--st-ink2, #3B4148); }
.op-bs__size input { flex: 1; accent-color: var(--st-teal, #0A8AA6); }
.op-bs__check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--st-ink2, #3B4148); cursor: pointer; }
.op-bs__check input { width: 16px; height: 16px; accent-color: var(--st-teal, #0A8AA6); }
.op-bs__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.op-bs__links button {
  padding: 4px 0; border: 0; background: none; color: var(--st-ink2, #3B4148);
  font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.op-bs__links button:hover { color: var(--st-ink, #0E1114); }
.op-bs__cta {
  display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px;
  border-radius: 999px; background: var(--st-ink, #0E1114); color: #fff !important;
  font-size: 15px; font-weight: 500; text-decoration: none !important; transition: background .15s;
}
.op-bs__cta:hover { background: var(--st-teal-dark, #086F86); }
.op-bs__privacy { margin: 0; font-size: 12px; color: var(--st-mute, #7A8189); text-align: center; }

/* Sits right under the add-to-cart block in the Studio product layout. */
body.op-premium.single-product .summary.entry-summary > .op-bs { order: 8; }
