/* Admin overlay + hide pricing on bundled TajerPlus landing */
#pricing { display: none !important; }
a[href="#pricing"] { display: none !important; }

/* Kill any leftover admin bar from older builds */
#tajer-admin-bar { display: none !important; }

html.tajer-is-admin .tajer-admin-slot,
html.tajer-is-admin .tajer-slot-ph {
  outline: 2px dashed rgba(109, 74, 255, 0.95) !important;
  outline-offset: -6px;
}
html.tajer-is-admin .tajer-admin-slot:hover,
html.tajer-is-admin .tajer-slot-ph:hover {
  outline-color: #00b3a4 !important;
}
html.tajer-is-admin [data-tajer-slot],
html.tajer-is-admin .tajer-slot-ph {
  cursor: pointer !important;
}

/* Remove image control (admin only) */
html:not(.tajer-is-admin) .tajer-remove-btn {
  display: none !important;
}
.tajer-remove-btn:hover {
  background: #b42318 !important;
}

/* Transparent full-area click target over storefront placeholders */
.tajer-hit-wrap {
  position: absolute !important;
  inset: 0 !important;
  z-index: 50 !important;
  pointer-events: none;
}
.tajer-media-hit {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit;
  background: transparent !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  appearance: none;
  -webkit-appearance: none;
}
html:not(.tajer-is-admin) .tajer-hit-wrap {
  display: none !important;
}

/* Hide any leftover upload CTAs from earlier builds */
.tajer-upload-btn,
[data-tajer-upload-btn] {
  display: none !important;
}

/* Hero layout dock — admin only */
html:not(.tajer-is-admin) div:has(> div > button[data-hero]) {
  display: none !important;
}
html:not(.tajer-is-admin) button[data-hero] {
  pointer-events: none !important;
}

/* Crop modal */
#tajer-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 16, 0.78);
  backdrop-filter: blur(8px);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.tajer-crop-panel {
  width: min(920px, 96vw);
  background: #fff;
  color: #13131c;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
  overflow: hidden;
}
.tajer-crop-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 10px;
}
.tajer-crop-head strong { font-size: 16px; }
.tajer-crop-head span { font-size: 13px; color: #5b5b70; }
.tajer-crop-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 8px 20px 12px;
  background: #0f0f14;
}
.tajer-crop-canvas {
  max-width: 100%;
  border-radius: 12px;
  cursor: grab;
  touch-action: none;
  background: #111;
}
.tajer-crop-canvas:active { cursor: grabbing; }
.tajer-crop-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 18px;
  border-top: 1px solid #ececf3;
}
.tajer-crop-tools label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #5b5b70;
}
.tajer-crop-zoom { width: min(220px, 40vw); }
.tajer-crop-actions { display: flex; gap: 10px; }
.tajer-crop-cancel,
.tajer-crop-apply {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.tajer-crop-cancel { background: #f1f1f6; color: #13131c; }
.tajer-crop-apply { background: #6d4aff; color: #fff; }
.tajer-crop-apply:hover { background: #5a37e0; }
