/**
 * AG product marketing frames — 1080×675
 * Brand gradient canvas, grid-aligned cards, conversion-focused overlays.
 */

:root {
  --pink: #e2037d;
  --pink-dark: #c0026a;
  --black: #262335;
  --dark: #5c5a68;
  --medium: #93919a;
  --lightest: #f3f2f7;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --border: 1px solid rgba(0, 0, 0, 0.1);
  --border-light: 1px solid rgba(0, 0, 0, 0.06);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-1: #c2185b;
  --brand-2: #7b1fa2;
  --ag-focus-pink: #c2185b;
  --frame-gradient: linear-gradient(135deg, #c2185b 0%, #9a1a7a 35%, #8b1b8f 65%, #7b1fa2 100%);
  --frame-w: 1080px;
  --frame-h: 675px;
  --pad: 40px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.08);
  --shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.06);
  --shadow-card: 0 20px 44px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; font-family: var(--font); font-size: 14px; color: var(--black); background: #f9fafb; }

.frame {
  position: relative;
  width: var(--frame-w);
  height: var(--frame-h);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--brand-2);
}

.frame__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--frame-gradient);
  background-size: cover;
  background-position: center;
}

.frame__hero-icons {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.32;
  filter: brightness(0.95);
}

.frame__hero-icons .hero-icons-left,
.frame__hero-icons .hero-icons-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  max-width: none;
  background-repeat: no-repeat;
  background-size: auto 100%;
  pointer-events: none;
}

.frame__hero-icons .hero-icons-left {
  left: -131px;
  aspect-ratio: 262 / 630;
  background-image: url("/assets/img/interface/hero-icons/hero-left.svg");
  background-position: left center;
}

.frame__hero-icons .hero-icons-right {
  right: -111px;
  aspect-ratio: 268 / 596;
  background-image: url("/assets/img/interface/hero-icons/hero-right.svg");
  background-position: right center;
}

.frame [data-toggle-el][hidden],
.frame__hero-icons[hidden] { display: none !important; }

.frame__stage {
  position: absolute;
  z-index: 2;
}

.frame__shot {
  position: relative;
  width: var(--shot-width, 100%);
  max-width: none;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: visible;
  height: var(--shot-height, auto);
  max-height: var(--shot-max-height, none);
  transform: translate(var(--shot-x, 0px), var(--shot-y, 0px)) rotate(var(--shot-rotate, 0deg))
    scale(var(--shot-scale, 1));
  transform-origin: center center;
  cursor: grab;
  touch-action: none;
}

.frame__shot.is-dragging,
.frame__shot.is-adjusting {
  cursor: grabbing;
  z-index: 12;
}

.frame__shot .frame-slot {
  border-radius: inherit;
  overflow: hidden;
}

.frame__shot--soft { box-shadow: var(--shadow-soft); }

.frame-slot {
  position: relative;
  width: 100%;
  height: 100%;
  background: #eceef2;
  overflow: hidden;
}

.frame-slot__img,
.frame-slot__video {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.frame-slot__img {
  object-fit: cover;
  object-position: top center;
}

.frame-slot__video {
  object-fit: cover !important;
  object-position: top center;
  background: transparent;
}

.frame-slot__img--export {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.frame-shot__hint {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 2;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(38, 35, 53, 0.72);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.frame__shot:hover .frame-shot__hint {
  opacity: 1;
}

.frame__shot.is-dragging .frame-shot__hint,
.frame__shot.is-adjusting .frame-shot__hint,
.is-exporting .frame-shot__hint {
  opacity: 0 !important;
}

.frame-shot__handle {
  position: absolute;
  z-index: 4;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--brand-1, #c2185b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.15s;
}

.frame-shot__handle--rotate {
  top: -34px;
  left: 50%;
  margin-left: -11px;
  cursor: grab;
}

.frame-shot__handle--rotate::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 12px;
  background: rgba(38, 35, 53, 0.35);
  transform: translateX(-50%);
  pointer-events: none;
}

.frame-shot__handle--rotate::after {
  content: "↻";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.frame-shot__handle--resize {
  bottom: -8px;
  right: -8px;
  cursor: nwse-resize;
}

.frame-shot__handle--height {
  bottom: -8px;
  left: 50%;
  margin-left: -11px;
  cursor: ns-resize;
}

.frame-shot__handle--width {
  top: 50%;
  right: -8px;
  margin-top: -11px;
  cursor: ew-resize;
}

.frame-shot__handle--width::after {
  content: "↔";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.frame-shot__handle--height::after {
  content: "↕";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.frame-shot__handle--layer {
  top: -8px;
  left: -8px;
  cursor: pointer;
}

.frame-shot__handle--layer::after {
  content: "⧉";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.frame-shot__handle--resize::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  border-radius: 0 0 2px 0;
}

.frame__shot:hover .frame-shot__handle,
.frame__shot.is-dragging .frame-shot__handle,
.frame__shot.is-adjusting .frame-shot__handle {
  opacity: 1;
}

.is-exporting .frame-shot__handle {
  display: none;
}

.frame-slot__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--medium);
  background: linear-gradient(145deg, #f4f5f7 0%, #e8eaef 100%);
  cursor: pointer;
}

.frame-slot.has-image .frame-slot__empty { display: none; }

.frame-slot__upload {
  position: absolute;
  left: 50%;
  top: 75%;
  bottom: auto;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: none;
  border-radius: 999px;
  background: rgba(226, 3, 125, 0.94);
  color: var(--white);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s, transform 0.15s, background 0.15s;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.frame-slot:not(.has-image) .frame-slot__upload {
  opacity: 1;
}

.frame__shot:hover .frame-slot__upload,
.frame-slot:focus-within .frame-slot__upload {
  opacity: 1;
}

.frame-slot__upload:hover {
  transform: translate(-50%, calc(-50% - 1px));
  background: var(--pink-dark);
}

.frame-slot__upload-icon {
  font-size: 12px;
  line-height: 1;
}

.is-exporting .frame-shot__hint,
.is-exporting .ag-overlay-hint {
  display: none !important;
}

.is-exporting .frame-slot__upload {
  display: none !important;
}

.is-exporting .frame-slot.has-image .frame-slot__empty {
  display: none !important;
}

.is-exporting .frame-slot:not(.has-image) .frame-slot__empty {
  display: flex !important;
}

.is-exporting .frame-slot:not(.has-image) {
  background: transparent;
}

.is-exporting .frame__hero-icons {
  opacity: 0.32 !important;
  filter: none !important;
}

.is-exporting .ag-feature-bar {
  background-color: #ffffff !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

.is-exporting .ag-feature-bar__item {
  align-items: center;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Sales copy strip — spotlight layout */
.frame__copy {
  position: absolute;
  z-index: 3;
  left: var(--pad);
  right: var(--pad);
  top: var(--pad);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.frame__copy-headline {
  margin: 0 0 8px;
  max-width: 16em;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.frame__copy-subline {
  margin: 0;
  max-width: 28em;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

/* Customer review card */
.ag-review-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 288px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--white);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.ag-review-card[hidden] { display: none !important; }

.ag-review-card__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand-1) 18%, white), color-mix(in srgb, var(--brand-2) 14%, white));
  border: 2px solid var(--lightest);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: -0.02em;
}

.ag-review-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.ag-review-card__content { min-width: 0; flex: 1; }

.ag-review-card__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ag-review-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ag-review-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
}

.ag-review-card__stars {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--pink);
  line-height: 1;
}

/* Trust badge — compact rating chip */
.ag-trust-badge {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.ag-trust-badge[hidden] { display: none !important; }

.ag-trust-badge__stars {
  color: var(--pink);
  letter-spacing: 0.5px;
}

.ag-trust-badge__label {
  color: var(--dark);
  font-weight: 500;
}

/* Optional headline caption on gradient */
.ag-headline-chip {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 6px);
  left: var(--pad);
  max-width: 18em;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

/* WooCommerce badge */
.ag-woo-badge {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--pad) + 10px);
  left: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.ag-woo-badge__mark {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7f54b3;
}

/* Stat highlight chip */
.ag-stat-chip {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 10px);
  left: var(--pad);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.ag-stat-chip__value {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand-1);
  letter-spacing: -0.02em;
}

.ag-stat-chip__label {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Security / PCI badge */
.ag-security-badge {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--pad) + 10px);
  right: var(--pad);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.ag-security-badge svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--brand-2);
}

/* Split panel labels */
.ag-panel-labels {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 2px);
  left: 64px;
  right: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  pointer-events: none;
}

.ag-panel-labels__item {
  justify-self: start;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
}

.ag-panel-labels__item--right { justify-self: end; }

/* AG logo strip */
.ag-logo-badge {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}

/* Support badge */
.ag-support-badge {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--pad) + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.ag-support-badge svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--brand-2);
}

/* Rating row — stars + review count */
.ag-rating-row {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 8px);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.ag-rating-row__stars {
  color: var(--pink);
  letter-spacing: 0.5px;
}

.ag-rating-row__label {
  color: var(--dark);
  font-weight: 500;
}

/* Guarantee badge */
.ag-guarantee-badge {
  position: absolute;
  z-index: 5;
  bottom: calc(var(--pad) + 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

/* New / featured tag */
.ag-new-tag {
  position: absolute;
  z-index: 6;
  top: calc(var(--pad) + 8px);
  right: calc(var(--pad) + 8px);
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--pink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(226, 3, 125, 0.35);
}

/* Install badge */
.ag-install-badge {
  position: absolute;
  z-index: 5;
  top: calc(var(--pad) + 44px);
  right: calc(var(--pad) + 8px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 10px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}

.ag-install-badge svg {
  width: 12px;
  height: 12px;
  color: var(--brand-1);
}

/* Plugin name badge — centred bottom, label from header plugin select */
.ag-plugin-badge {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: calc(var(--pad) + 8px);
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: calc(100% - 80px);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 11px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
}

.ag-plugin-badge svg {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  color: var(--brand-1);
}

.ag-plugin-badge [data-text="plugin-badge-name"] {
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Feature bar — overview */
.ag-feature-bar {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 8px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.ag-feature-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0 18px;
  border-right: var(--border-light);
  min-width: 0;
}

.ag-feature-bar__item:last-child { border-right: none; }

.ag-feature-bar__item.is-feat-last,
.ag-feature-bar__item[hidden] {
  border-right: none;
}

.ag-feature-bar__item[hidden] {
  display: none;
}

.ag-feature-bar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--brand-2);
}

.ag-feature-bar__icon svg { width: 22px; height: 22px; }

.ag-feature-bar__text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  letter-spacing: -0.01em;
}

.ag-feature-bar__text span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--medium);
}

/* Reserve space when feature bar is visible (all layouts) */
.frame:has(.ag-feature-bar:not([hidden])) .frame__stage,
.frame:has(.ag-feature-bar:not([hidden])) [class*="frame__stage--"] {
  bottom: calc(var(--pad) + 96px) !important;
}

.frame:has(.ag-feature-bar:not([hidden])) .frame__reviews-canvas,
.frame:has(.ag-feature-bar:not([hidden])) .frame__email-news,
.frame:has(.ag-feature-bar:not([hidden])) .frame__onboard-split,
.frame:has(.ag-feature-bar:not([hidden])) .frame__social-split {
  bottom: calc(var(--pad) + 96px) !important;
}

.frame:has(.ag-feature-bar:not([hidden])) .frame__update-grid {
  bottom: calc(44px + 96px) !important;
}

.frame--social-share:has(.ag-feature-bar:not([hidden])) .frame__social-accent {
  bottom: calc(var(--pad) + 96px + 12px);
}

.frame--testimonial-spotlight:has(.ag-feature-bar:not([hidden])) .ag-testimonial-spotlight,
.frame--rating-highlight:has(.ag-feature-bar:not([hidden])) .ag-rating-highlight,
.frame--social-question:has(.ag-feature-bar:not([hidden])) .frame__social-question-punch,
.frame--social-stat:has(.ag-feature-bar:not([hidden])) .frame__social-stat-punch {
  top: 44%;
}

/* Layout 1: Overview */
.frame--overview .frame__stage--shots {
  top: 44px;
  left: 48px;
  right: 48px;
  bottom: 136px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 16px;
  align-items: stretch;
}

.frame--overview .frame__shot--mobile {
  --shot-height: 420px;
  --shot-max-height: 420px;
}

.frame--overview .frame__shot--main {
  --shot-height: 420px;
  --shot-max-height: 420px;
}

.frame--overview .frame__shot--mobile .frame-slot__img,
.frame--overview .frame__shot--mobile .frame-slot__video {
  object-fit: cover;
  object-position: top center;
}

.frame--overview .frame__shot--main .frame-slot__img {
  object-fit: contain;
  object-position: center center;
}

.frame--overview .frame__shot--main .frame-slot__video {
  object-fit: cover !important;
  object-position: center center;
}

.frame--overview .ag-review-card {
  right: calc(var(--pad) + 4px);
  bottom: 152px;
}

.frame--overview .ag-trust-badge {
  top: calc(var(--pad) + 8px);
  right: calc(var(--pad) + 8px);
}

/* Layout 2: Centred hero */
.frame--hero .frame__stage {
  top: 48px;
  left: 80px;
  right: 80px;
  bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame--hero .frame__shot {
  width: var(--shot-width, 100%);
  max-width: var(--shot-width, 860px);
  --shot-height: 440px;
  --shot-max-height: 440px;
  border-radius: var(--radius-lg);
}

.frame--hero .ag-review-card {
  right: calc(var(--pad) + 12px);
  bottom: calc(var(--pad) + 12px);
}

.frame--hero .ag-trust-badge {
  top: calc(var(--pad) + 12px);
  left: calc(var(--pad) + 12px);
}

/* Layout 3: Split */
.frame--split .frame__stage {
  top: 44px;
  left: 64px;
  right: 64px;
  bottom: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.frame--split .frame__shot {
  --shot-height: 400px;
  --shot-max-height: 400px;
  border-radius: var(--radius-lg);
}

.frame--split .ag-review-card {
  left: 50%;
  bottom: calc(var(--pad) + 8px);
  transform: translateX(-50%);
}

.frame--split .ag-trust-badge {
  top: calc(var(--pad) + 8px);
  left: 50%;
  transform: translateX(-50%);
}

/* Layout 4: Hero + detail */
.frame--editorial .frame__stage {
  top: 44px;
  left: 56px;
  right: 56px;
  bottom: 44px;
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 20px;
  align-items: center;
}

.frame--editorial .frame__shot {
  --shot-height: 380px;
  --shot-max-height: 380px;
  border-radius: var(--radius-lg);
}

.frame--editorial .frame__shot--detail { border-radius: var(--radius); }

.frame--editorial .ag-review-card {
  right: calc(var(--pad) + 8px);
  bottom: calc(var(--pad) + 8px);
}

/* Layout 5: Hero + review (dedicated) */
.frame--hero-review .frame__stage {
  top: 44px;
  left: 72px;
  right: 72px;
  bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.frame--hero-review .frame__shot {
  position: relative;
  z-index: 3;
  width: var(--shot-width, 100%);
  max-width: var(--shot-width, 820px);
  --shot-height: 400px;
  --shot-max-height: 400px;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.frame--hero-review .ag-review-card[data-review-draggable] {
  right: 60px;
  bottom: 0;
  top: auto;
  left: auto;
  z-index: 8;
  cursor: grab;
  touch-action: none;
  transform: translate(var(--review-x, 0px), calc(var(--review-y, 0px) + 40%));
}

.frame--hero-review .ag-review-card[data-review-draggable].is-dragging {
  cursor: grabbing;
  z-index: 12;
  box-shadow: 0 16px 40px rgba(38, 35, 53, 0.18);
}

.ag-review-card__hint {
  position: absolute;
  left: 50%;
  top: -28px;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(38, 35, 53, 0.78);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

.ag-review-card[data-review-draggable]:hover .ag-review-card__hint,
.ag-review-card[data-review-draggable].is-dragging .ag-review-card__hint {
  opacity: 1;
}

.is-exporting .ag-review-card__hint {
  display: none !important;
}

/* Layout 6: Split + review (dedicated) */
.frame--split-review .frame__stage {
  top: 40px;
  left: 56px;
  right: 56px;
  bottom: 112px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.frame--split-review .frame__shot {
  --shot-height: 340px;
  --shot-max-height: 340px;
  border-radius: var(--radius-lg);
}

.frame--split-review .ag-review-card {
  left: var(--pad);
  right: var(--pad);
  bottom: var(--pad);
  width: auto;
  max-width: none;
}

.frame--split-review .ag-review-card__text {
  -webkit-line-clamp: 2;
}

/* Layout 7: Spotlight — headline + screenshot */
.frame--spotlight .frame__copy { top: var(--pad); }

.frame--spotlight .frame__stage {
  top: 128px;
  left: 64px;
  right: 64px;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame--spotlight .frame__shot {
  width: var(--shot-width, 100%);
  max-width: var(--shot-width, 880px);
  --shot-height: 380px;
  --shot-max-height: 380px;
  border-radius: var(--radius-lg);
}

.frame--spotlight .ag-trust-badge {
  top: calc(var(--pad) + 4px);
  right: var(--pad);
}

.frame--spotlight .ag-review-card {
  right: calc(var(--pad) + 12px);
  bottom: calc(var(--pad) + 12px);
}

/* Layout 8: Customer reviews wall — floating draggable cards */
.frame--reviews-wall .frame__reviews-canvas {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.frame--reviews-wall .ag-reviews-wall__card {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 360px;
  max-width: calc(100% - 48px);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 18px 48px rgba(38, 35, 53, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  min-width: 0;
  text-align: left;
  cursor: grab;
  touch-action: none;
  transform: translate(var(--review-x, 0px), var(--review-y, 0px));
}

.frame--reviews-wall .ag-reviews-wall__card.is-dragging {
  cursor: grabbing;
  z-index: 12;
  box-shadow:
    0 24px 56px rgba(38, 35, 53, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.4);
}

.frame--reviews-wall .ag-reviews-wall__card--featured {
  width: 400px;
  padding: 20px 22px;
  border-color: color-mix(in srgb, var(--pink) 22%, rgba(255, 255, 255, 0.7));
  box-shadow:
    0 22px 54px rgba(226, 3, 125, 0.14),
    0 18px 48px rgba(38, 35, 53, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.4);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.99) 0%,
    color-mix(in srgb, var(--brand-1) 4%, white) 100%
  );
}

.ag-reviews-wall__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-1) 18%, white),
    color-mix(in srgb, var(--brand-2) 14%, white)
  );
  border: 2px solid var(--lightest);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: -0.02em;
}

.ag-reviews-wall__card--featured .ag-reviews-wall__avatar {
  width: 50px;
  height: 50px;
  font-size: 14px;
}

.ag-reviews-wall__body {
  min-width: 0;
  flex: 1;
}

.ag-reviews-wall__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.58;
  color: var(--dark);
  font-weight: 500;
}

.ag-reviews-wall__card--featured .ag-reviews-wall__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
}

.ag-reviews-wall__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ag-reviews-wall__name {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
}

.ag-reviews-wall__stars {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--pink);
}

.frame--reviews-wall .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
}

.frame--reviews-wall .ag-reviews-wall__card:hover .ag-review-card__hint,
.frame--reviews-wall .ag-reviews-wall__card.is-dragging .ag-review-card__hint {
  opacity: 1;
}

.is-exporting .frame--reviews-wall .ag-review-card__hint {
  display: none !important;
}

/* Layout 9: Testimonial spotlight — editorial pull quote */
.frame--testimonial-spotlight .ag-rating-row {
  top: calc(var(--pad) + 4px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.frame--testimonial-spotlight .ag-trust-badge {
  top: calc(var(--pad) + 4px);
  right: var(--pad);
}

.frame--testimonial-spotlight .ag-testimonial-spotlight {
  --sp-pad-y: 36px;
  --sp-pad-x: 44px;
  --sp-min-height: auto;
  --sp-mark-size: 96px;
  --sp-quote-size: 21px;
  --sp-quote-line: 1.45;
  --sp-quote-gap: 22px;
  --sp-avatar-size: 48px;
  --sp-footer-gap: 14px;
  --sp-name-size: 14px;
  --sp-role-size: 12px;
  --sp-stars-size: 13px;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100% - 96px));
  min-height: var(--sp-min-height);
  padding: var(--sp-pad-y) var(--sp-pad-x);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 64px rgba(38, 35, 53, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.frame--testimonial-spotlight .ag-testimonial-spotlight--large {
  --sp-pad-y: 44px;
  --sp-pad-x: 48px;
  --sp-min-height: 380px;
  --sp-mark-size: 112px;
  --sp-quote-size: 22px;
  --sp-quote-line: 1.48;
  --sp-quote-gap: 28px;
  --sp-avatar-size: 52px;
  --sp-footer-gap: 16px;
  --sp-name-size: 15px;
  --sp-role-size: 13px;
  --sp-stars-size: 14px;
  width: min(800px, calc(100% - 72px));
}

.frame--testimonial-spotlight .ag-testimonial-spotlight--full {
  --sp-pad-y: 52px;
  --sp-pad-x: 56px;
  --sp-min-height: 500px;
  --sp-mark-size: 120px;
  --sp-quote-size: 23px;
  --sp-quote-line: 1.52;
  --sp-quote-gap: 32px;
  --sp-avatar-size: 56px;
  --sp-footer-gap: 18px;
  --sp-name-size: 16px;
  --sp-role-size: 13px;
  --sp-stars-size: 15px;
  width: min(940px, calc(100% - 56px));
}

.ag-testimonial-spotlight__mark {
  display: block;
  margin: -8px 0 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--sp-mark-size, 96px);
  font-weight: 700;
  line-height: 0.75;
  color: color-mix(in srgb, var(--pink) 82%, var(--brand-2));
  opacity: 0.92;
}

.ag-testimonial-spotlight__quote {
  flex: 1 1 auto;
  margin: 0 0 var(--sp-quote-gap, 22px);
  font-size: var(--sp-quote-size, 21px);
  font-weight: 500;
  line-height: var(--sp-quote-line, 1.45);
  color: var(--dark);
  letter-spacing: -0.01em;
  white-space: pre-wrap;
}

.ag-testimonial-spotlight__footer {
  display: flex;
  align-items: center;
  gap: var(--sp-footer-gap, 14px);
  flex-shrink: 0;
}

.ag-testimonial-spotlight__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--sp-avatar-size, 48px);
  height: var(--sp-avatar-size, 48px);
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-1) 18%, white),
    color-mix(in srgb, var(--brand-2) 14%, white)
  );
  border: 2px solid var(--lightest);
  font-size: calc(var(--sp-avatar-size, 48px) * 0.29);
  font-weight: 700;
  color: var(--brand-2);
}

.ag-testimonial-spotlight__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ag-testimonial-spotlight__name {
  font-style: normal;
  font-size: var(--sp-name-size, 14px);
  font-weight: 700;
  color: var(--dark);
}

.ag-testimonial-spotlight__role {
  font-size: var(--sp-role-size, 12px);
  font-weight: 500;
  color: var(--muted);
}

.ag-testimonial-spotlight__stars {
  flex-shrink: 0;
  font-size: var(--sp-stars-size, 13px);
  letter-spacing: 0.5px;
  color: var(--pink);
}

/* Layout 10: Rating highlight — score disc + featured quote */
.frame--rating-highlight .ag-rating-highlight {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 40px;
  width: min(920px, calc(100% - 80px));
}

.frame--rating-highlight .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

.frame--rating-highlight .ag-rating-row {
  top: calc(var(--pad) + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.ag-rating-highlight__disc {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 28px 64px rgba(38, 35, 53, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.35);
  text-align: center;
}

.ag-rating-highlight__score {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-1);
}

.ag-rating-highlight__stars {
  font-size: 14px;
  letter-spacing: 0.6px;
  color: var(--brand-1);
}

.ag-rating-highlight__label {
  max-width: 160px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
}

.ag-rating-highlight__quote-wrap {
  flex: 1;
  min-width: 0;
  padding: 32px 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 24px 56px rgba(38, 35, 53, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.ag-rating-highlight__quote {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.48;
  color: var(--dark);
  white-space: pre-wrap;
}

.ag-rating-highlight__footer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ag-rating-highlight__avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-1) 18%, white),
    color-mix(in srgb, var(--brand-2) 14%, white)
  );
  border: 2px solid var(--lightest);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-2);
}

.ag-rating-highlight__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ag-rating-highlight__name {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.ag-rating-highlight__role {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* Layout 11: Social share — feed-optimised graphic */
.frame--social-share .frame__social-accent {
  position: absolute;
  z-index: 3;
  left: 52px;
  top: 52px;
  bottom: 52px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55));
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.frame--social-share .frame__social-copy {
  position: absolute;
  z-index: 4;
  left: 76px;
  top: 56px;
  width: 420px;
  max-width: calc(55% - 32px);
}

.frame__social-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__social-headline {
  margin: 0 0 14px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(38, 35, 53, 0.22);
}

.frame__social-subline {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}

.frame--social-share .ag-woo-badge {
  left: 76px;
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

.frame--social-share .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

.frame--social-share .frame__stage--social {
  z-index: 5;
  top: 72px;
  right: 52px;
  bottom: 52px;
  left: auto;
  width: 468px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame--social-share .frame__shot--social {
  --shot-height: 440px;
  --shot-max-height: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  transform: translate(var(--shot-x, 0px), var(--shot-y, 0px)) rotate(calc(var(--shot-rotate, 0deg) - 4deg))
    scale(var(--shot-scale, 1));
  box-shadow:
    0 32px 64px rgba(38, 35, 53, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Layout 12: Social share — poster (centred) */
.frame--social-poster .frame__social-poster-copy {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 44px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 96px));
  text-align: center;
}

.frame__social-poster-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__social-poster-headline {
  margin: 0 0 12px;
  font-size: 46px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(38, 35, 53, 0.22);
}

.frame__social-poster-subline {
  margin: 0 auto;
  max-width: 52ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}

.frame--social-poster .ag-woo-badge {
  left: 50%;
  bottom: calc(var(--pad) + 8px);
  transform: translateX(-50%);
  z-index: 6;
}

.frame--social-poster .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

.frame--social-poster .frame__stage--social-poster {
  z-index: 5;
  left: 50%;
  bottom: 56px;
  top: auto;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 120px));
  display: flex;
  align-items: center;
  justify-content: center;
}

.frame--social-poster .frame__stage--social-poster .frame__shot {
  --shot-height: 320px;
  --shot-max-height: 320px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 56px rgba(38, 35, 53, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Layout 13: Social share — split panel */
.frame--social-split .frame__social-split {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  pointer-events: none;
}

.frame--social-split .frame__social-split-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 28px 48px 48px;
  pointer-events: auto;
}

.frame--social-split .frame__social-split-copy::after {
  content: "";
  position: absolute;
  top: 56px;
  bottom: 56px;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.frame__social-split-kicker {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__social-split-headline {
  margin: 0 0 14px;
  max-width: 14ch;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(38, 35, 53, 0.22);
}

.frame__social-split-subline {
  margin: 0 0 18px;
  max-width: 30ch;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}

.frame--social-split .frame__social-split-shot {
  display: flex;
  align-items: stretch;
  padding: 44px 44px 44px 20px;
  pointer-events: auto;
}

.frame--social-split .frame__stage--social-split {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 1;
  display: flex;
  align-items: stretch;
}

.frame--social-split .frame__stage--social-split .frame__shot {
  --shot-height: 100%;
  --shot-max-height: none;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 56px rgba(38, 35, 53, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.frame--social-split .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

.frame--social-split .ag-rating-row {
  top: calc(var(--pad) + 6px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
}

.frame--social-split .ag-woo-badge--inline {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  display: inline-flex;
  align-self: flex-start;
}

.frame--social-split > .ag-woo-badge:not(.ag-woo-badge--inline) {
  display: none;
}

/* Layout 14: Product update — release announcement */
.frame--product-update .frame__update-grid {
  position: absolute;
  z-index: 4;
  inset: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  pointer-events: none;
}

.frame--product-update .frame__update-grid > * {
  pointer-events: auto;
  min-width: 0;
}

.frame--product-update .ag-product-update {
  position: relative;
  z-index: 5;
  width: max-content;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    0 24px 56px rgba(38, 35, 53, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

.frame--product-update .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

.ag-product-update__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ag-product-update__badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.ag-product-update__version {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lightest);
  border: 1px solid rgba(38, 35, 53, 0.08);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
}

.ag-product-update__title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.ag-product-update__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ag-product-update__features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--dark);
}

.ag-product-update__check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-1) 18%, white),
    color-mix(in srgb, var(--brand-2) 12%, white)
  );
  border: 1px solid color-mix(in srgb, var(--brand-1) 38%, transparent);
  position: relative;
}

.ag-product-update__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--brand-1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.frame--product-update .frame__stage--update {
  position: relative;
  z-index: 4;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 0;
}

.frame--product-update .frame__stage--update .frame__shot {
  --shot-height: 480px;
  --shot-max-height: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
}

.frame--product-update .ag-woo-badge {
  z-index: 6;
}

/* ── Extended elements (product-shots-elements.js) ── */

.ag-wc-badges {
  position: absolute;
  z-index: 6;
  top: calc(var(--pad) + 6px);
  left: var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 520px;
}

.ag-wc-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: 0.02em;
}

.ag-callout {
  position: absolute;
  z-index: 9;
  left: 0;
  top: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 280px;
  transform: translate(var(--overlay-x, 320px), var(--overlay-y, 180px));
  cursor: grab;
  touch-action: none;
  outline: none;
}

.ag-callout.is-dragging { cursor: grabbing; z-index: 14; }

.ag-callout__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.ag-callout__text {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--black);
  white-space: normal;
}

.ag-callout__arrow {
  flex-shrink: 0;
  display: block;
  align-self: flex-end;
  margin-top: -2px;
  margin-right: 10px;
  color: var(--pink);
  filter: drop-shadow(0 2px 3px rgba(226, 3, 125, 0.2));
}

.ag-redact-mask {
  position: absolute;
  z-index: 7;
  left: 0;
  top: 0;
  width: var(--redact-w, 200px);
  height: var(--redact-h, 100px);
  transform: translate(var(--overlay-x, 340px), var(--overlay-y, 200px));
  border-radius: var(--radius-sm);
  background: rgba(236, 238, 242, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px dashed rgba(38, 35, 53, 0.25);
  cursor: grab;
  touch-action: none;
  outline: none;
}

.ag-redact-mask.is-dragging { cursor: grabbing; z-index: 13; }

.ag-redact-mask__label {
  position: absolute;
  top: 4px;
  left: 8px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--medium);
  pointer-events: none;
}

.ag-redact-mask__handle {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--pink);
  cursor: nwse-resize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.is-exporting .ag-redact-mask {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(236, 238, 242, 0.92);
  border-style: solid;
  border-color: rgba(236, 238, 242, 0.92);
}

.is-exporting .ag-redact-mask__label,
.is-exporting .ag-redact-mask__handle,
.is-exporting .ag-overlay-hint { display: none !important; }

.ag-focus-box {
  position: absolute;
  z-index: 8;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: var(--focus-w, 280px);
  height: var(--focus-h, 180px);
  transform: translate(var(--overlay-x, 360px), var(--overlay-y, 200px));
  border: 4px solid var(--ag-focus-pink);
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: grab;
  touch-action: none;
  outline: none;
  pointer-events: auto;
}

.ag-focus-box.is-dragging { cursor: grabbing; z-index: 14; }

.ag-focus-box:focus,
.ag-focus-box:focus-visible {
  border-color: var(--ag-focus-pink);
  outline: none;
}

.ag-focus-box__label {
  position: absolute;
  top: -22px;
  left: 0;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ag-focus-pink);
  pointer-events: none;
}

.ag-focus-box__handle {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--ag-focus-pink);
  cursor: nwse-resize;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.is-exporting .ag-focus-box {
  border: 4px solid var(--ag-focus-pink);
  background: transparent;
}

.is-exporting .ag-focus-box__handle { display: none !important; }

.ag-pricing-box {
  position: absolute;
  z-index: 9;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 200px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: var(--border-light);
  box-shadow: var(--shadow-soft);
  text-align: center;
  cursor: grab;
  touch-action: none;
  outline: none;
  transform: translate(var(--overlay-x, 380px), var(--overlay-y, 540px));
}

.ag-pricing-box.is-dragging { cursor: grabbing; z-index: 14; }

.ag-pricing-box__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ag-pricing-box__sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--medium);
  line-height: 1.35;
}

.is-exporting .ag-pricing-box {
  background-color: #ffffff !important;
  box-shadow: none !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.ag-overlay-hint {
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%);
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(38, 35, 53, 0.78);
  color: var(--white);
  font-size: 8px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}

[data-overlay-draggable]:hover .ag-overlay-hint,
[data-overlay-draggable].is-nudge-selected .ag-overlay-hint,
[data-overlay-draggable].is-dragging .ag-overlay-hint {
  opacity: 1;
}

.is-exporting .ag-overlay-hint { display: none !important; }

.frame-align-guides {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.frame-align-guides:not(.is-active) {
  display: none;
}

.frame-align-guides__v,
.frame-align-guides__h {
  position: absolute;
  opacity: 0;
  transition: opacity 0.12s;
}

.frame-align-guides__v.is-visible,
.frame-align-guides__h.is-visible {
  opacity: 1;
}

.frame-align-guides__v {
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: var(--pink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.frame-align-guides__h {
  left: 0;
  right: 0;
  height: 1px;
  margin-top: -0.5px;
  background: var(--pink);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.frame-align-guides__label {
  position: absolute;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(38, 35, 53, 0.88);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.12s;
}

.frame-align-guides__label.is-visible {
  opacity: 1;
}

.frame-align-guides__label--v {
  top: 12px;
  transform: translateX(-50%);
}

.frame-align-guides__label--h {
  left: 12px;
  transform: translateY(-50%);
}

.is-exporting .is-editor-only,
.is-exporting .frame-align-guides {
  display: none !important;
}

.is-nudge-selected {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.is-nudge-selected.ag-focus-box {
  outline: 2px solid var(--ag-focus-pink);
  outline-offset: 2px;
}

/* Layout 15: Email & blog — newsletter header */
.frame--email-news .frame__email-news {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  pointer-events: none;
}

.frame--email-news .frame__email-news-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 24px 56px 52px;
  pointer-events: auto;
}

.frame__email-news-kicker {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__email-news-headline {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(38, 35, 53, 0.22);
}

.frame__email-news-subline {
  margin: 0;
  max-width: 38ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}

.frame--email-news .frame__email-news-shot {
  display: flex;
  align-items: center;
  padding: 52px 52px 52px 12px;
  pointer-events: auto;
}

.frame--email-news .frame__stage--email-news {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 1;
  display: flex;
  align-items: center;
}

.frame--email-news .frame__stage--email-news .frame__shot {
  --shot-height: 380px;
  --shot-max-height: 380px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.frame--email-news .ag-woo-badge {
  left: 52px;
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

.frame--email-news .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

/* Layout 16: Email & blog — blog hero */
.frame--email-blog .frame__email-blog-copy {
  position: absolute;
  z-index: 4;
  top: 48px;
  left: 52px;
  right: 52px;
  text-align: center;
}

.frame__email-blog-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__email-blog-headline {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(38, 35, 53, 0.22);
}

.frame__email-blog-excerpt {
  margin: 0 auto 10px;
  max-width: 54ch;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  white-space: pre-wrap;
}

.frame__email-blog-author {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}

.frame--email-blog .ag-woo-badge {
  left: 50%;
  bottom: calc(var(--pad) + 8px);
  transform: translateX(-50%);
  z-index: 6;
}

.frame--email-blog .frame__stage--email-blog {
  z-index: 5;
  left: 52px;
  right: 52px;
  bottom: 48px;
  top: auto;
  height: 320px;
  display: flex;
  align-items: stretch;
}

.frame--email-blog .frame__stage--email-blog .frame__shot {
  --shot-height: 100%;
  --shot-max-height: none;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Layout 17–18: Onboarding — shared split */
.frame--onboard-steps .frame__onboard-split,
.frame--onboard-check .frame__onboard-split {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 54%);
  pointer-events: none;
}

.frame--onboard-steps .ag-onboard-steps,
.frame--onboard-check .ag-onboard-checklist {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 20px 48px 48px;
  pointer-events: auto;
}

.frame--onboard-steps .frame__onboard-shot,
.frame--onboard-check .frame__onboard-shot {
  display: flex;
  align-items: stretch;
  padding: 44px 44px 44px 16px;
  pointer-events: auto;
}

.frame--onboard-steps .frame__stage--onboard-steps,
.frame--onboard-check .frame__stage--onboard-check {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 1;
  display: flex;
}

.frame--onboard-steps .frame__stage--onboard-steps .frame__shot,
.frame--onboard-check .frame__stage--onboard-check .frame__shot {
  --shot-height: 100%;
  --shot-max-height: none;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.ag-onboard-steps__title,
.ag-onboard-checklist__title {
  margin: 0 0 20px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(38, 35, 53, 0.2);
}

.ag-onboard-steps__list,
.ag-onboard-checklist__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ag-onboard-steps__item,
.ag-onboard-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.95);
}

.ag-onboard-steps__num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-1);
  font-size: 13px;
  font-weight: 800;
}

.ag-onboard-checklist__tick {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-1);
  font-size: 13px;
  font-weight: 800;
}

.frame--onboard-steps .ag-woo-badge {
  left: 48px;
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

.frame--onboard-steps .ag-install-badge {
  right: var(--pad);
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

.frame--onboard-check .ag-support-badge {
  left: 48px;
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

/* Layout 20: Social share — stat punch */
.frame--social-stat .frame__social-stat-punch {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 56px;
  transform: translateY(-54%);
  max-width: 620px;
}

.frame__social-stat-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__social-stat-value {
  margin: 0 0 8px;
  font-size: clamp(96px, 14vw, 148px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(38, 35, 53, 0.28);
}

.frame__social-stat-label {
  margin: 0;
  max-width: 22ch;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.frame--social-stat .frame__stage--social-stat {
  z-index: 5;
  right: 48px;
  bottom: 48px;
  top: auto;
  left: auto;
  width: 280px;
  height: 200px;
  display: flex;
  align-items: stretch;
}

.frame--social-stat .frame__shot--social-stat-mini {
  --shot-height: 100%;
  --shot-max-height: none;
  width: 100%;
  border-radius: var(--radius);
  box-shadow:
    0 20px 40px rgba(38, 35, 53, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.22);
  opacity: 0.96;
}

.frame--social-stat .ag-woo-badge {
  left: 56px;
  bottom: calc(var(--pad) + 8px);
  z-index: 6;
}

.frame--social-stat .ag-trust-badge {
  top: calc(var(--pad) + 6px);
  right: var(--pad);
  z-index: 6;
}

/* Layout 21: Social share — question hook (typography only) */
.frame--social-question .frame__social-question-punch {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 56px;
  transform: translateY(-50%);
  max-width: 780px;
  padding-left: 28px;
}

.frame--social-question .frame__social-question-accent {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.55));
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.25);
}

.frame__social-question-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.frame__social-question-text {
  margin: 0 0 20px;
  max-width: 13ch;
  font-size: clamp(52px, 7.5vw, 68px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 4px 24px rgba(38, 35, 53, 0.28);
  white-space: pre-wrap;
}

.frame__social-question-hint {
  margin: 0;
  max-width: 38ch;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  white-space: pre-wrap;
}

