/* ============================================================
   SLIDE 7: Puck Editor — Full Page
   ============================================================ */

.puck-full {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 36px var(--slide-padding-x) 24px;
  box-sizing: border-box;
}

.puck-topline {
  text-align: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.puck-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #6E7681;
  margin-top: 2px;
}

/* Editor fills remaining space */
.puck-editor {
  flex: 1;
  display: grid;
  grid-template-columns: 160px 1fr;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
  min-height: 0;
}

/* ── SIDEBAR ── */
.puck-side {
  background: #1A1D23;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow-y: auto;
}

.puck-side__head {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  padding-bottom: 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.puck-side__divider {
  height: 1px;
  background: rgba(255,255,255,0.04);
  margin: 6px 0;
}

.puck-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-body);
  font-size: 0.68rem;
  cursor: grab;
  transition: all 0.2s;
}

.puck-chip:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--blue);
  color: #fff;
}

.puck-chip--active {
  background: rgba(23,147,207,0.08);
  border-color: rgba(23,147,207,0.25);
  color: rgba(255,255,255,0.7);
}

/* ── CANVAS ── */
.puck-canvas {
  background: #F6F8FA;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.puck-browser {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: #ECEEF1;
  border-bottom: 1px solid #DFE2E6;
  flex-shrink: 0;
}

.puck-browser__dots {
  display: flex;
  gap: 4px;
}

.puck-browser__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #CDD1D6;
}

.puck-browser__url {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: #8B949E;
  background: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid #DFE2E6;
}

.puck-browser__btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--green);
  border: none;
  padding: 4px 14px;
  border-radius: 4px;
  cursor: pointer;
}

/* ── PAGE (dark countdown) ── */
.puck-page {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.puck-page--dark {
  background: #0D1117;
}

/* Drop zones */
.puck-zone {
  border: 2px dashed rgba(255,255,255,0.08);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.puck-zone:hover {
  border-color: var(--blue);
}

.puck-zone__tag {
  position: absolute;
  top: 4px;
  left: 6px;
  font-family: var(--font-display);
  font-size: 0.48rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  background: rgba(23,147,207,0.12);
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 2;
}

.puck-zone__tag--yellow {
  color: var(--yellow);
  background: rgba(255,184,28,0.12);
}

/* HERO (dark) */
.puck-zone--hero-dark {
  height: 90px;
  flex-shrink: 0;
  position: relative;
}

.puck-zone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.puck-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.puck-hero-kicker {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 4px;
}

.puck-hero-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

/* COUNTDOWN */
.puck-zone--countdown {
  flex-shrink: 0;
  padding: 14px 10px;
  text-align: center;
  background: rgba(255,255,255,0.02);
}

.puck-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.puck-timer__block {
  text-align: center;
}

.puck-timer__num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}

.puck-timer__label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.puck-timer__sep {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
  margin-top: -10px;
}

/* TEASER */
.puck-zone--teaser {
  flex-shrink: 0;
  padding: 20px 14px;
  padding-top: 24px;
}

.puck-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
  align-items: center;
}

.puck-teaser__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puck-teaser__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.puck-teaser__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.puck-placeholder-h {
  height: 10px;
  width: 60%;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
}

.puck-placeholder-p {
  height: 7px;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

/* EMAIL SIGNUP */
.puck-zone--signup {
  flex-shrink: 0;
  padding: 14px;
  text-align: center;
  background: rgba(255,184,28,0.04);
  border-color: rgba(255,184,28,0.12);
}

.puck-signup__text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.puck-signup__form {
  display: flex;
  justify-content: center;
  gap: 6px;
  max-width: 320px;
  margin: 0 auto;
}

.puck-signup__input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 6px 10px;
}

.puck-signup__btn {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0D1117;
  background: var(--yellow);
  border-radius: 4px;
  padding: 6px 14px;
  cursor: pointer;
}

/* ── INTERACTIVE STATES ── */

/* Selected block */
.puck-zone--selected {
  border-color: var(--blue) !important;
  border-style: solid !important;
}

/* Dragging */
.puck-zone--dragging {
  opacity: 0.35;
}

/* Drag over target */
.puck-zone--over {
  border-color: var(--yellow) !important;
  border-style: solid !important;
  background: rgba(255,184,28,0.04);
}

/* Draggable cursor */
.puck-zone[draggable="true"] {
  cursor: grab;
}
.puck-zone[draggable="true"]:active {
  cursor: grabbing;
}

.puck-chip--active {
  cursor: default;
}

.puck-chip--drag {
  cursor: grab;
  border-style: dashed;
}

.puck-chip--drag:active {
  cursor: grabbing;
}

/* Delete button */
.puck-zone__del {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  cursor: pointer;
  z-index: 3;
  transition: all 0.15s;
  opacity: 0;
}

.puck-zone:hover .puck-zone__del {
  opacity: 1;
}

.puck-zone__del:hover {
  color: var(--red);
  background: rgba(248,81,73,0.12);
}

/* Drop zone */
.puck-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px;
  border: 2px dashed rgba(255,255,255,0.06);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.15);
  transition: all 0.2s;
  flex-shrink: 0;
}

.puck-dropzone--over {
  border-color: var(--green);
  color: var(--green);
  background: rgba(63,185,80,0.04);
}

/* ── EXTRA BLOCK TYPES ── */

/* Video */
.puck-zone--video {
  flex-shrink: 0;
  padding: 24px;
}

.puck-video-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}

/* Product Grid */
.puck-zone--grid {
  flex-shrink: 0;
  padding: 22px 10px 10px;
}

.puck-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.puck-prod {
  aspect-ratio: 1;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.puck-prod img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Feature List */
.puck-zone--features {
  flex-shrink: 0;
  padding: 22px 14px 10px;
}

.puck-feat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.puck-feat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.puck-feat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* SEO */
.puck-zone--seo {
  flex-shrink: 0;
  padding: 22px 14px 10px;
}

.puck-seo-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.puck-seo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.puck-seo-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255,255,255,0.25);
  width: 70px;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .puck-editor {
    grid-template-columns: 1fr;
  }

  .puck-side {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 8px;
  }
}
