/* "Customize it" launch button + full-screen overlay (storefront). */

.threedpc-launch {
  margin: 0 0 1em;
}

.threedpc-customize-launch {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.85em 1.6em;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0a84ff, #7c3aed);
  box-shadow: 0 6px 18px -6px rgba(10, 132, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.threedpc-customize-launch::before {
  content: '';
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M10 2c.4 4.2.8 4.6 5 5-4.2.4-4.6.8-5 5-.4-4.2-.8-4.6-5-5 4.2-.4 4.6-.8 5-5Z'/%3E%3Cpath d='M17.5 13c.2 2.1.4 2.3 2.5 2.5-2.1.2-2.3.4-2.5 2.5-.2-2.1-.4-2.3-2.5-2.5 2.1-.2 2.3-.4 2.5-2.5Z'/%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='currentColor'%3E%3Cpath d='M10 2c.4 4.2.8 4.6 5 5-4.2.4-4.6.8-5 5-.4-4.2-.8-4.6-5-5 4.2-.4 4.6-.8 5-5Z'/%3E%3Cpath d='M17.5 13c.2 2.1.4 2.3 2.5 2.5-2.1.2-2.3.4-2.5 2.5-.2-2.1-.4-2.3-2.5-2.5 2.1-.2 2.3-.4 2.5-2.5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.threedpc-customize-launch:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.threedpc-customize-launch:active {
  transform: translateY(0) scale(0.99);
}

body.threedpc-overlay-open {
  overflow: hidden;
}

.threedpc-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 35%, #1a2233, #0b0f1a 80%);
  /* Smooth open: fade in + a touch of scale instead of an instant pop. */
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.threedpc-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.threedpc-overlay-stage,
.threedpc-overlay-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.threedpc-overlay-close {
  position: fixed;
  top: 14px;
  left: 16px;
  z-index: 1000001;
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  padding: 0.5em 0.95em 0.5em 0.7em;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, background 0.15s ease;
}

.threedpc-overlay-close:hover {
  transform: translateX(-1px);
  background: #fff;
}
