/* Scoped semantic roles, matching packages/cantana-design-tokens. No shop resets.
   The neon action follows the existing public configurator's primary button. */
.cantana-configurator-dock {
  --dock-surface: #ffffff;
  --dock-border: #e5e7eb;
  --dock-text: #21372c;
  --dock-muted: #f3f4f6;
  --dock-action: #67d027;
  --dock-action-hover: #79e138;
  /* Shop sticky layer; below cookie/notice modals, above normal page controls. */
  position: fixed;
  z-index: 1000;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid var(--dock-border);
  background: var(--dock-surface);
  box-shadow: none;
  color: var(--dock-text);
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--dock-reveal-offset, 100%));
  pointer-events: none;
  transition: opacity 180ms ease-out, visibility 180ms;
}
.cantana-configurator-dock[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cantana-configurator-dock > button {
  appearance: none;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--dock-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: normal;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 150ms ease-out, transform 150ms ease-out;
}
.cantana-configurator-dock > .cantana-configurator-dock__back {
  flex: 0 0 48px;
  padding: 0;
  background: var(--dock-muted);
  border-color: var(--dock-border);
}
.cantana-configurator-dock__back svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cantana-configurator-dock > .cantana-configurator-dock__primary {
  flex: 1;
  background: var(--dock-action);
}
.cantana-configurator-dock__primary span { white-space: normal; }
.cantana-configurator-dock > button:disabled {
  background: var(--dock-muted);
  color: #6b7280;
  cursor: default;
}
.cantana-configurator-dock > button:focus-visible {
  outline: 2px solid var(--dock-text);
  outline-offset: 3px;
}
.cantana-configurator-dock > button:active:not(:disabled) { transform: scale(0.98); }
.cantana-configurator-dock > button[aria-busy="true"]::before {
  content: '';
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: cantana-dock-spin 800ms linear infinite;
}
@keyframes cantana-dock-spin { to { transform: rotate(360deg); } }
@media (hover: hover) {
  .cantana-configurator-dock > .cantana-configurator-dock__primary:hover:not(:disabled) { background: var(--dock-action-hover); }
  .cantana-configurator-dock > .cantana-configurator-dock__back:hover:not(:disabled) { background: var(--dock-border); }
}
@media (min-width: 768px) { .cantana-configurator-dock { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .cantana-configurator-dock, .cantana-configurator-dock > button { transition: none; }
  .cantana-configurator-dock > button[aria-busy="true"]::before { animation: none; }
}
