﻿/* ==========================================================================
   VANILLA VISTA CREATIVE STUDIO - STYLING (EXPANDED WITH ADVANCED TOOLS)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
  --studio-bg: #060b08;
  --studio-panel: #0b1410;
  --studio-card: #101e18;
  --studio-border: #182e23;
  --studio-border-gold: rgba(212, 175, 55, 0.4);

  --brand-green: #003F2C;
  --brand-green-dark: #00261A;
  --brand-green-light: #0A533B;
  --brand-green-glow: rgba(0, 63, 44, 0.3);

  --brand-gold: #C59B27;
  --brand-gold-bright: #E5B83B;
  --brand-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5E5B8 50%, #AA7C11 100%);
  --brand-gold-text: #E5C158;

  --text-main: #f0f5f2;
  --text-muted: #8fa69c;
  --text-sub: #b7cbbf;

  --font-display: 'Cinzel', serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--studio-bg);
  color: var(--text-main);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Studio Header */
.studio-header {
  background: #001f15;
  border-bottom: 2px solid var(--brand-gold);
  padding: 12px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.studio-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.studio-logo {
  height: 42px;
  border-radius: 4px;
}

.studio-title-box h1 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.2px;
  line-height: 1.1;
}

.studio-title-box span {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-gold-bright);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Navigation Tabs */
.studio-nav-tabs {
  display: flex;
  gap: 6px;
  background: rgba(0, 31, 21, 0.8);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--studio-border);
}

.nav-tab-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover {
  color: #ffffff;
}

.nav-tab-btn.active {
  background: var(--brand-gold-gradient);
  color: #00261A;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.studio-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-link {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  border: 1px solid var(--studio-border);
  transition: all 0.2s ease;
}

.back-link:hover {
  color: #ffffff;
  border-color: var(--brand-gold);
}

/* Main Studio Layout */
.studio-workspace {
  flex: 1;
  display: none;
  padding: 24px;
  gap: 24px;
  max-width: 1700px;
  margin: 0 auto;
  width: 100%;
}

.studio-workspace.active {
  display: flex;
}

/* 2-Column Studio Workbench */
.studio-sidebar {
  width: 440px;
  flex-shrink: 0;
  background: var(--studio-panel);
  border: 1.5px solid var(--studio-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  position: sticky;
  top: 90px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.studio-stage {
  flex: 1;
  background: #030805;
  border: 1.5px solid var(--studio-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px;
  overflow-y: auto;
  position: relative;
}

/* Control Panel Components */
.panel-section {
  background: var(--studio-card);
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  padding: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quick-generator-btn {
  background: var(--brand-gold-gradient);
  color: #00261A;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s ease;
}

.quick-generator-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-row {
  display: flex;
  gap: 8px;
}

.sub-btn {
  flex: 1;
  background: #172a22;
  color: #ffffff;
  border: 1px solid var(--studio-border);
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.sub-btn:hover {
  background: var(--brand-green);
  border-color: var(--brand-gold);
}

/* Form Controls */
.form-group {
  margin-bottom: 12px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #09120e;
  border: 1px solid var(--studio-border);
  color: #ffffff;
  padding: 9px 12px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 12.5px;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 2px rgba(197, 155, 39, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 55px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Aspect Ratio / Format Pill Selector */
.ratio-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.ratio-btn {
  background: #09120e;
  border: 1px solid var(--studio-border);
  color: var(--text-muted);
  padding: 8px 4px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ratio-btn.active, .ratio-btn:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-gold);
}

/* Image Asset Picker */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-height: 180px;
  overflow-y: auto;
  padding: 4px;
  background: #09120e;
  border: 1px solid var(--studio-border);
  border-radius: 6px;
}

.asset-thumb {
  width: 100%;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.asset-thumb:hover {
  border-color: var(--brand-gold);
  transform: scale(1.05);
}

.asset-thumb.active {
  border-color: var(--brand-gold-bright);
  box-shadow: 0 0 8px var(--brand-gold);
}

/* Stage Toolbar */
.stage-toolbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--studio-panel);
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid var(--studio-border);
  margin-bottom: 24px;
}

.stage-title-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stage-badge {
  background: var(--brand-green);
  color: var(--brand-gold-bright);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--brand-gold);
  text-transform: uppercase;
}

.export-btn-group {
  display: flex;
  gap: 10px;
}

.flyer-export-readiness {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 12px 20px;
  position: relative;
  overflow: hidden;
  margin: -12px 0 14px;
  padding: 12px 16px 15px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(0, 49, 34, 0.96), rgba(4, 24, 18, 0.96));
  box-shadow: 0 10px 28px rgba(0, 20, 14, 0.2);
}

.export-readiness-main,
.export-format-specs,
.export-spec-pill {
  display: flex;
  align-items: center;
}

.export-readiness-main { gap: 10px; }
.export-readiness-main strong { display: block; color: #fff; font-size: 13px; }
.export-readiness-main span:not(.export-ready-dot) { display: block; margin-top: 2px; color: var(--text-muted); font-size: 12px; }

.export-ready-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 5px rgba(46, 204, 113, 0.12), 0 0 14px rgba(46, 204, 113, 0.65);
}

.export-format-specs { gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.export-spec-pill {
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  background: rgba(255,255,255,0.045);
  color: #dbe9e3;
  font-size: 11.5px;
  white-space: nowrap;
}
.export-spec-pill b { color: var(--brand-gold-bright); letter-spacing: .08em; }

.flyer-export-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,0.05);
}
.flyer-export-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand-gold-gradient);
  transition: width .2s ease;
}
.flyer-export-readiness[data-state="working"] .export-ready-dot { background: var(--brand-gold-bright); animation: exportPulse 1s ease-in-out infinite; }
.flyer-export-readiness[data-state="error"] .export-ready-dot { background: #ff6b6b; box-shadow: 0 0 0 5px rgba(255,107,107,.12); }
@keyframes exportPulse { 50% { transform: scale(.72); opacity: .65; } }

.action-btn {
  background: var(--brand-gold-gradient);
  color: #00261A;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
}

.action-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.action-btn.secondary {
  background: #172a22;
  color: #ffffff;
  border: 1px solid var(--studio-border);
  box-shadow: none;
}

.action-btn.secondary:hover {
  background: var(--brand-green);
  border-color: var(--brand-gold);
}

/* ==========================================================================
   DYNAMIC FLYER CANVAS BENCH (SCALABLE & EDITABLE)
   ========================================================================== */

.flyer-viewport-wrapper {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.dynamic-flyer-canvas {
  width: 800px;
  height: 1130px;
  background: #fbfbf7;
  color: #00261a;
  border-radius: 4px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-origin: top center;
  transition: all 0.3s ease;
  flex: 0 0 auto;
  max-width: none;
}

/* ==========================================================================
   FORMAT VARIATIONS & BESPOKE MULTI-DIMENSION RESPONSIVE LAYOUT ENGINE
   ========================================================================== */

/* 1. Standard A4 Print Ratio (800 x 1130) */
.dynamic-flyer-canvas.ratio-a4 {
  width: 800px;
  height: 1130px;
}

/* 2. Instagram Feed 1:1 Square (800 x 800) - PERFECT FIT & 100% VISIBLE FEATURES */
.dynamic-flyer-canvas.ratio-square {
  width: 800px;
  height: 800px;
}

.dynamic-flyer-canvas.ratio-square .df-header {
  padding: 8px 18px;
}
.dynamic-flyer-canvas.ratio-square .df-logo-img {
  height: 32px;
}
.dynamic-flyer-canvas.ratio-square .df-brand-names h2 {
  font-size: 15px;
}
.dynamic-flyer-canvas.ratio-square .df-brand-names span {
  font-size: 8px;
  letter-spacing: 1.5px;
}
.dynamic-flyer-canvas.ratio-square .df-header-badge {
  padding: 3px 9px;
  font-size: 8.5px;
}

.dynamic-flyer-canvas.ratio-square .df-hero {
  height: 215px;
}
.dynamic-flyer-canvas.ratio-square .df-hero-copy {
  bottom: 10px;
  left: 18px;
  right: 18px;
}
.dynamic-flyer-canvas.ratio-square .df-pill {
  font-size: 8px;
  padding: 2px 7px;
  margin-bottom: 3px;
}
.dynamic-flyer-canvas.ratio-square .df-title {
  font-size: 18px;
  margin-bottom: 2px;
  line-height: 1.12;
}
.dynamic-flyer-canvas.ratio-square .df-sub {
  font-size: 9.5px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  margin-bottom: 0;
}
.dynamic-flyer-canvas.ratio-square .df-floating-tag {
  top: 8px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 6px;
}
.dynamic-flyer-canvas.ratio-square .df-floating-tag small {
  font-size: 7px;
}
.dynamic-flyer-canvas.ratio-square .df-floating-tag strong {
  font-size: 14px;
}
.dynamic-flyer-canvas.ratio-square .df-floating-tag span {
  font-size: 7.5px;
}

.dynamic-flyer-canvas.ratio-square .df-strip {
  padding: 4px 14px;
}
.dynamic-flyer-canvas.ratio-square .df-strip-item {
  gap: 4px;
}
.dynamic-flyer-canvas.ratio-square .df-strip-icon {
  font-size: 11px;
}
.dynamic-flyer-canvas.ratio-square .df-strip-item b {
  font-size: 9.5px;
}
.dynamic-flyer-canvas.ratio-square .df-strip-item span {
  font-size: 7px;
}

.dynamic-flyer-canvas.ratio-square .df-body {
  padding: 8px 14px 6px;
  gap: 6px;
  flex: 1;
  min-height: 0;
}

.dynamic-flyer-canvas.ratio-square .df-content-grid {
  grid-template-columns: 1.18fr 0.82fr;
  gap: 8px;
  flex: 1;
  min-height: 0;
}

.dynamic-flyer-canvas.ratio-square .df-features-column {
  gap: 3px;
  min-height: 0;
}

.dynamic-flyer-canvas.ratio-square .df-feature-header {
  margin-bottom: 2px;
}
.dynamic-flyer-canvas.ratio-square .df-feature-kicker {
  font-size: 7.5px;
}
.dynamic-flyer-canvas.ratio-square .df-feature-title {
  font-size: 12.5px;
  padding-bottom: 2px;
  color: var(--brand-green);
  font-weight: 900;
  display: block;
}

.dynamic-flyer-canvas.ratio-square .df-bullet-list {
  gap: 3px;
  justify-content: flex-start;
}

.dynamic-flyer-canvas.ratio-square .df-bullet-item {
  padding: 3.5px 6px;
  font-size: 8.8px;
  line-height: 1.25;
  border-left-width: 2px;
  flex: 0 0 auto;
}

.dynamic-flyer-canvas.ratio-square .df-check {
  width: 11px;
  height: 11px;
  min-width: 11px;
  font-size: 6.5px;
  margin-top: 1px;
}

.dynamic-flyer-canvas.ratio-square .df-secondary-collage {
  gap: 4px;
  min-height: 0;
}
.dynamic-flyer-canvas.ratio-square .df-secondary-item.main-lifestyle {
  flex: 1;
  min-height: 75px;
  max-height: 100px;
}
.dynamic-flyer-canvas.ratio-square .df-secondary-duo {
  flex: 0.85;
  min-height: 48px;
  max-height: 65px;
  gap: 4px;
}

.dynamic-flyer-canvas.ratio-square .df-value-showcase {
  padding: 5px 8px;
}
.dynamic-flyer-canvas.ratio-square .df-value-header {
  padding-bottom: 2px;
  margin-bottom: 3px;
}
.dynamic-flyer-canvas.ratio-square .df-value-badge {
  font-size: 6.5px;
}
.dynamic-flyer-canvas.ratio-square .df-value-title {
  font-size: 10px;
}
.dynamic-flyer-canvas.ratio-square .df-value-sub {
  font-size: 7px;
}
.dynamic-flyer-canvas.ratio-square .df-value-hero-price small {
  font-size: 6.5px;
}
.dynamic-flyer-canvas.ratio-square .df-value-hero-price strong {
  font-size: 13px;
}
.dynamic-flyer-canvas.ratio-square .df-value-hero-price span {
  font-size: 7px;
}

.dynamic-flyer-canvas.ratio-square .df-typology-strip {
  gap: 4px;
}
.dynamic-flyer-canvas.ratio-square .df-typology-card {
  padding: 3px 4px;
}
.dynamic-flyer-canvas.ratio-square .df-typ-badge {
  top: -5px;
  font-size: 5.5px;
  padding: 1px 3px;
}
.dynamic-flyer-canvas.ratio-square .df-typ-name {
  font-size: 7.5px;
}
.dynamic-flyer-canvas.ratio-square .df-typ-size {
  font-size: 6px;
}
.dynamic-flyer-canvas.ratio-square .df-typ-price {
  font-size: 9.5px;
}
.dynamic-flyer-canvas.ratio-square .df-typ-rent {
  font-size: 6.5px;
}

.dynamic-flyer-canvas.ratio-square .df-footer {
  padding: 6px 16px;
}
.dynamic-flyer-canvas.ratio-square .df-footer-contacts b {
  font-size: 10.5px;
  margin-bottom: 1px;
}
.dynamic-flyer-canvas.ratio-square .df-contact-row {
  font-size: 8.5px;
  gap: 8px;
}
.dynamic-flyer-canvas.ratio-square .df-footer-loc {
  font-size: 7.5px;
}
.dynamic-flyer-canvas.ratio-square .df-qr-box {
  padding: 2px;
}
.dynamic-flyer-canvas.ratio-square .df-qr-canvas {
  width: 38px;
  height: 38px;
}
.dynamic-flyer-canvas.ratio-square .df-qr-label {
  font-size: 5.5px;
}
.dynamic-flyer-canvas.ratio-square .df-whatsapp-btn {
  padding: 5px 9px;
  font-size: 9.5px;
}

/* 3. New Instagram Optimal 4:5 Portrait Ratio (800 x 1000) */
.dynamic-flyer-canvas.ratio-portrait {
  width: 800px;
  height: 1000px;
}
.dynamic-flyer-canvas.ratio-portrait .df-header {
  padding: 10px 20px;
}
.dynamic-flyer-canvas.ratio-portrait .df-logo-img {
  height: 36px;
}
.dynamic-flyer-canvas.ratio-portrait .df-hero {
  height: 285px;
}
.dynamic-flyer-canvas.ratio-portrait .df-title {
  font-size: 22px;
}
.dynamic-flyer-canvas.ratio-portrait .df-sub {
  font-size: 10.5px;
  -webkit-line-clamp: 2;
}
.dynamic-flyer-canvas.ratio-portrait .df-strip {
  padding: 6px 16px;
}
.dynamic-flyer-canvas.ratio-portrait .df-body {
  padding: 10px 16px 8px;
  gap: 8px;
  flex: 1;
}
.dynamic-flyer-canvas.ratio-portrait .df-feature-title {
  font-size: 13px;
}
.dynamic-flyer-canvas.ratio-portrait .df-bullet-item {
  padding: 4.5px 7px;
  font-size: 9.5px;
}
.dynamic-flyer-canvas.ratio-portrait .df-secondary-item.main-lifestyle {
  min-height: 100px;
}
.dynamic-flyer-canvas.ratio-portrait .df-secondary-duo {
  min-height: 60px;
}
.dynamic-flyer-canvas.ratio-portrait .df-value-showcase {
  padding: 7px 10px;
}
.dynamic-flyer-canvas.ratio-portrait .df-footer {
  padding: 8px 20px;
}

/* 4. 9:16 Vertical Story / Reels / TikTok (630 x 1120) */
.dynamic-flyer-canvas.ratio-story {
  width: 630px;
  height: 1120px;
}
.dynamic-flyer-canvas.ratio-story .df-header {
  padding: 10px 16px;
}
.dynamic-flyer-canvas.ratio-story .df-hero {
  height: 350px;
}
.dynamic-flyer-canvas.ratio-story .df-title {
  font-size: 22px;
}
.dynamic-flyer-canvas.ratio-story .df-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 6px 12px;
}
.dynamic-flyer-canvas.ratio-story .df-content-grid {
  grid-template-columns: 1fr;
  gap: 8px;
}
.dynamic-flyer-canvas.ratio-story .df-secondary-collage {
  display: none;
}
.dynamic-flyer-canvas.ratio-story .df-features-column {
  flex: 1;
}
.dynamic-flyer-canvas.ratio-story .df-bullet-item {
  padding: 6px 8px;
  font-size: 10px;
}
.dynamic-flyer-canvas.ratio-story .df-value-showcase {
  padding: 8px 12px;
}
.dynamic-flyer-canvas.ratio-story .df-footer {
  padding: 10px 16px;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.dynamic-flyer-canvas.ratio-story .df-contact-row {
  justify-content: center;
  flex-wrap: wrap;
}

/* 5. 16:9 Landscape Widescreen Banner (960 x 540) */
.dynamic-flyer-canvas.ratio-banner {
  width: 960px;
  height: 540px;
}
.dynamic-flyer-canvas.ratio-banner .df-header {
  padding: 6px 18px;
}
.dynamic-flyer-canvas.ratio-banner .df-logo-img {
  height: 28px;
}
.dynamic-flyer-canvas.ratio-banner .df-brand-names h2 {
  font-size: 14px;
}
.dynamic-flyer-canvas.ratio-banner .df-hero {
  height: 125px;
}
.dynamic-flyer-canvas.ratio-banner .df-title {
  font-size: 16px;
  margin-bottom: 2px;
}
.dynamic-flyer-canvas.ratio-banner .df-sub {
  display: none;
}
.dynamic-flyer-canvas.ratio-banner .df-floating-tag {
  top: 6px;
  right: 12px;
  padding: 4px 8px;
}
.dynamic-flyer-canvas.ratio-banner .df-floating-tag strong {
  font-size: 13px;
}
.dynamic-flyer-canvas.ratio-banner .df-strip {
  padding: 3px 14px;
}
.dynamic-flyer-canvas.ratio-banner .df-body {
  padding: 6px 14px 4px;
  gap: 4px;
}
.dynamic-flyer-canvas.ratio-banner .df-content-grid {
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}
.dynamic-flyer-canvas.ratio-banner .df-feature-title {
  font-size: 11.5px;
}
.dynamic-flyer-canvas.ratio-banner .df-bullet-list {
  gap: 2px;
}
.dynamic-flyer-canvas.ratio-banner .df-bullet-item {
  padding: 2.5px 5px;
  font-size: 8px;
  line-height: 1.2;
}
.dynamic-flyer-canvas.ratio-banner .df-secondary-duo {
  display: none;
}
.dynamic-flyer-canvas.ratio-banner .df-secondary-item.main-lifestyle {
  height: 100%;
  min-height: 60px;
}
.dynamic-flyer-canvas.ratio-banner .df-value-showcase {
  padding: 4px 8px;
}
.dynamic-flyer-canvas.ratio-banner .df-typology-strip {
  gap: 4px;
}
.dynamic-flyer-canvas.ratio-banner .df-typology-card {
  padding: 2px 4px;
}
.dynamic-flyer-canvas.ratio-banner .df-footer {
  padding: 4px 14px;
}
.dynamic-flyer-canvas.ratio-banner .df-footer-contacts b {
  font-size: 10px;
}
.dynamic-flyer-canvas.ratio-banner .df-contact-row {
  font-size: 8px;
}
.dynamic-flyer-canvas.ratio-banner .df-qr-canvas {
  width: 32px;
  height: 32px;
}

/* ==========================================================================
   CREATIVE MODERN PREMIUM FEATURES (SHIMMER, LUXURY SEAL, ROI SPOTLIGHT)
   ========================================================================== */

/* Metallic Gold Foil Shimmer Sweep Animation */
@keyframes goldShimmerSweep {
  0% { transform: translateX(-150%) rotate(25deg); }
  35%, 100% { transform: translateX(250%) rotate(25deg); }
}

.gold-shimmer-active .df-pill,
.gold-shimmer-active .df-floating-tag,
.gold-shimmer-active .df-value-badge,
.gold-shimmer-active .df-typ-badge,
.gold-shimmer-active .badge-3d-spatial,
.gold-shimmer-active .tag-3d-embossed,
.gold-shimmer-active .df-feature-title {
  position: relative;
  overflow: hidden;
}

.gold-shimmer-active .df-pill::after,
.gold-shimmer-active .df-floating-tag::after,
.gold-shimmer-active .df-value-badge::after,
.gold-shimmer-active .badge-3d-spatial::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  animation: goldShimmerSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Architectural Holographic Luxury Developer Seal */
@keyframes sealSpinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.df-luxury-seal {
  position: absolute;
  bottom: 78px;
  right: 22px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFF2B2 0%, #D4AF37 55%, #8A6A12 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45), inset 0 2px 5px rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #00261A;
  z-index: 25;
  pointer-events: none;
  transition: all 0.3s ease;
}

.df-luxury-seal-icon {
  width: 24px;
  height: 24px;
  fill: #00261A;
  animation: sealSpinSlow 24s linear infinite;
}

.df-luxury-seal-text {
  font-size: 5.5px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Dynamic Live Investment ROI Spotlight Card */
.df-roi-spotlight {
  background: linear-gradient(135deg, #022c1e 0%, #001a11 100%);
  border: 1.5px solid var(--brand-gold);
  border-radius: 6px;
  padding: 6px 10px;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: none;
}

.df-roi-spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  padding-bottom: 3px;
  margin-bottom: 4px;
}

.df-roi-spotlight-title {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.df-roi-spotlight-pill {
  font-size: 7px;
  font-weight: 800;
  background: var(--brand-gold-gradient);
  color: #00261A;
  padding: 1px 5px;
  border-radius: 3px;
}

.df-roi-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  text-align: center;
}

.df-roi-metric-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  padding: 4px 2px;
}

.df-roi-metric-val {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.df-roi-metric-lbl {
  font-size: 6.5px;
  color: #9cb5a8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Canvas Header */
.df-header {
  background: #ffffff;
  border-bottom: 2.5px solid var(--brand-gold);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.df-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.df-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.df-brand-names h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  line-height: 1.1;
}

.df-brand-names span {
  font-family: var(--font-heading);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--brand-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.df-header-badge {
  background: #e6efea;
  color: var(--brand-green);
  border: 1px solid rgba(0, 63, 44, 0.2);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Canvas Hero */
.df-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background: #00261a;
  overflow: hidden;
}

.df-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.df-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 38, 26, 0.25) 0%, rgba(0, 26, 18, 0.9) 100%);
}

.df-floating-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  background: rgba(0, 38, 26, 0.88);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--brand-gold);
  border-radius: 8px;
  padding: 8px 14px;
  text-align: right;
  color: #ffffff;
  z-index: 5;
}

.df-floating-tag small {
  display: block;
  font-size: 9px;
  color: var(--brand-gold-bright);
  font-weight: 700;
  text-transform: uppercase;
}

.df-floating-tag strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

.df-floating-tag span {
  font-size: 10px;
  color: #d1ded8;
}

.df-hero-copy {
  position: absolute;
  bottom: 16px;
  left: 24px;
  right: 24px;
  z-index: 5;
  color: #ffffff;
}

.df-pill {
  display: inline-block;
  background: var(--brand-gold-gradient);
  color: #00261a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.df-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.12;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 5px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.df-sub {
  font-size: 11.5px;
  color: #e5ede9;
  line-height: 1.35;
  text-shadow: 0 2px 6px rgba(0,0,0,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Canvas Strip */
.df-strip {
  background: var(--brand-green);
  color: #ffffff;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.df-strip-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.df-strip-item b {
  font-size: 11.5px;
  font-weight: 800;
  display: block;
}

.df-strip-item span {
  font-size: 8.5px;
  color: #a3c2b5;
  text-transform: uppercase;
  display: block;
}

/* Canvas Body */
.df-body {
  padding: 12px 18px 10px;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  gap: 10px;
}

.df-content-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  gap: 12px;
  overflow: hidden;
}

.df-features-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  gap: 6px;
}

.df-feature-header {
  margin-bottom: 2px;
  flex-shrink: 0;
}

.df-feature-kicker {
  font-size: 8px;
  font-weight: 800;
  color: var(--brand-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.df-feature-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 3px;
  line-height: 1.2;
}

.df-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-height: 0;
  gap: 4px;
}

.df-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: rgba(0, 63, 44, 0.035);
  border-left: 2.5px solid var(--brand-gold);
  border-radius: 4px;
  padding: 5px 7px;
  font-size: 10px;
  color: #1a2922;
  line-height: 1.35;
  flex: 1;
}

.df-bullet-item b {
  color: var(--brand-green);
  font-weight: 800;
}

.df-bullet-item > span:last-child {
  flex: 1;
}

.df-check {
  width: 13px;
  height: 13px;
  min-width: 13px;
  background: var(--brand-green);
  color: var(--brand-gold-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7.5px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Secondary Visuals Collage */
.df-secondary-collage {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  min-height: 0;
}

.df-secondary-item {
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
}

.df-secondary-item.main-lifestyle {
  flex: 1.35;
  min-height: 120px;
  height: auto;
}

.df-secondary-duo {
  flex: 1;
  min-height: 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.df-secondary-item.sub-item {
  height: 100%;
}

.df-secondary-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-secondary-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 31, 21, 0.9) 0%, transparent 100%);
  color: #ffffff;
  font-size: 7.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Redesigned Luxury Value Offer & Typologies Showcase */
.df-value-showcase {
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbf9 100%);
  border: 1.5px solid var(--brand-gold);
  border-radius: 6px;
  padding: 8px 12px 7px;
  box-shadow: 0 4px 16px rgba(0, 63, 44, 0.08);
}

.df-value-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(197, 155, 39, 0.25);
  padding-bottom: 5px;
  margin-bottom: 6px;
}

.df-value-badge {
  font-size: 8px;
  font-weight: 800;
  color: #AA7C11;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
}

.df-value-title {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
  line-height: 1.15;
}

.df-value-sub {
  font-size: 8.5px;
  color: #556b62;
}

.df-value-hero-price {
  text-align: right;
}

.df-value-hero-price small {
  display: block;
  font-size: 7.5px;
  color: #667870;
  text-transform: uppercase;
  font-weight: 700;
}

.df-value-hero-price strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 900;
  color: var(--brand-gold);
  line-height: 1.1;
}

.df-value-hero-price span {
  display: block;
  font-size: 8px;
  color: var(--brand-green);
  font-weight: 700;
}

/* 3-Pill Typology Cards */
.df-typology-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.df-typology-card {
  background: #f4f8f5;
  border: 1px solid #d5e5dc;
  border-radius: 5px;
  padding: 5px 6px;
  text-align: center;
  position: relative;
}

.df-typology-card.popular {
  background: #fffdf5;
  border: 1.5px solid var(--brand-gold);
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.15);
}

.df-typ-badge {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gold-gradient);
  color: #00261a;
  font-size: 6.5px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.df-typ-name {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  color: var(--brand-green);
  text-transform: uppercase;
}

.df-typ-size {
  font-size: 7.5px;
  color: #667870;
}

.df-typ-price {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 900;
  color: #AA7C11;
  margin-top: 1px;
}

.df-typ-rent {
  font-size: 7px;
  color: #3b5749;
  font-weight: 600;
}

/* Quick Presets Ribbon */
.quick-presets-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 12px;
  background: rgba(0, 31, 21, 0.75);
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 960px;
  -webkit-overflow-scrolling: touch;
}

.preset-ribbon-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.preset-pill {
  background: #00261A;
  color: #a3c2b5;
  border: 1px solid #1a4233;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.preset-pill:hover, .preset-pill.active {
  background: var(--brand-gold-gradient);
  color: #00261A;
  border-color: var(--brand-gold);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Agent Co-Branding Banner */
.df-agent-cobrand {
  background: linear-gradient(90deg, rgba(197, 155, 39, 0.2) 0%, rgba(0, 63, 44, 0.4) 100%);
  border: 1px solid var(--brand-gold);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.df-agent-cobrand-tag {
  font-size: 7px;
  font-weight: 900;
  background: var(--brand-gold-gradient);
  color: #00261a;
  padding: 1px 4px;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

#dfAgentCobrandText {
  font-size: 8px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer Actions & Dynamic QR Code Box */
.df-footer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.df-qr-box {
  background: #ffffff;
  border: 1.5px solid var(--brand-gold);
  border-radius: 6px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.df-qr-canvas {
  width: 50px;
  height: 50px;
  display: block;
}

.df-qr-label {
  font-size: 6px;
  font-weight: 900;
  color: #003F2C;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

/* ==========================================================================
   14 DISTINCT GLOBAL FLYER DESIGN THEME STYLES
   ========================================================================== */

/* Theme 1: Royal Emerald (Flagship Luxury) - default */
.dynamic-flyer-canvas.style-royal-emerald {
  /* uses base emerald & gold palette */
}

/* Theme 2: Architectural Minimalist (Clean Gallery White) */
.dynamic-flyer-canvas.style-architectural-minimal {
  background: #ffffff;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-header {
  border-bottom: 2px solid #222222;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-strip {
  background: #111815;
  border-color: #333333;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-feature-title {
  color: #111815;
  border-bottom-color: #111815;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-bullet-item {
  background: #f7f7f7;
  border-left-color: #111815;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-check {
  background: #111815;
  color: #ffffff;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-value-showcase {
  border-color: #111815;
  background: #ffffff;
}
.dynamic-flyer-canvas.style-architectural-minimal .df-typology-card.popular {
  border-color: #111815;
}

/* Theme 3: High-Yield Investor Pro (Financial Deep Emerald) */
.dynamic-flyer-canvas.style-investor-pro .df-strip {
  background: #001f15;
  border-color: #E5B83B;
}
.dynamic-flyer-canvas.style-investor-pro .df-value-showcase {
  background: linear-gradient(135deg, #00261A 0%, #003F2C 100%);
  color: #ffffff;
  border-color: #E5B83B;
}
.dynamic-flyer-canvas.style-investor-pro .df-value-title {
  color: #ffffff;
}
.dynamic-flyer-canvas.style-investor-pro .df-value-sub {
  color: #a3c2b5;
}
.dynamic-flyer-canvas.style-investor-pro .df-typology-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(229, 184, 59, 0.3);
}
.dynamic-flyer-canvas.style-investor-pro .df-typ-name {
  color: #ffffff;
}
.dynamic-flyer-canvas.style-investor-pro .df-typ-size {
  color: #a3c2b5;
}
.dynamic-flyer-canvas.style-investor-pro .df-typ-price {
  color: #E5B83B;
}
.dynamic-flyer-canvas.style-investor-pro .df-typ-rent {
  color: #72d9a6;
}

/* Theme 4: African Sunset & Family (Warm Terracotta & Sunset Amber) */
.dynamic-flyer-canvas.style-african-sunset {
  background: #fffcf7;
}
.dynamic-flyer-canvas.style-african-sunset .df-header {
  border-bottom-color: #C57E27;
}
.dynamic-flyer-canvas.style-african-sunset .df-strip {
  background: #4a210d;
  border-color: #e5933b;
}
.dynamic-flyer-canvas.style-african-sunset .df-feature-title {
  color: #4a210d;
  border-bottom-color: #C57E27;
}
.dynamic-flyer-canvas.style-african-sunset .df-bullet-item {
  background: rgba(197, 126, 39, 0.06);
  border-left-color: #C57E27;
}
.dynamic-flyer-canvas.style-african-sunset .df-check {
  background: #4a210d;
  color: #F5E5B8;
}
.dynamic-flyer-canvas.style-african-sunset .df-value-showcase {
  border-color: #C57E27;
  background: #fff9f0;
}
.dynamic-flyer-canvas.style-african-sunset .df-footer {
  background: #2b1206;
  border-top-color: #C57E27;
}

/* Theme 5: Social Flash Sale (High-Urgency Vibrant Banner) */
.dynamic-flyer-canvas.style-flash-sale .df-header-badge {
  background: #e62b2b;
  color: #ffffff;
  border-color: #ff5555;
  animation: pulseBadge 1.5s infinite;
}
.dynamic-flyer-canvas.style-flash-sale .df-value-badge {
  color: #d11e1e;
  font-weight: 900;
}
.dynamic-flyer-canvas.style-flash-sale .df-value-showcase {
  border: 2px solid #e62b2b;
  box-shadow: 0 4px 20px rgba(230, 43, 43, 0.15);
}
.dynamic-flyer-canvas.style-flash-sale .df-typology-card.popular {
  border-color: #e62b2b;
}
.dynamic-flyer-canvas.style-flash-sale .df-typ-badge {
  background: #e62b2b;
  color: #ffffff;
}

/* Theme 6: 3D Architectural Hologram & Isometric Luxury */
.dynamic-flyer-canvas.style-3d-architectural {
  background: #051410;
  background-image: 
    linear-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  color: #e5ede9;
  border: 2px solid #d4af37;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(212, 175, 55, 0.2);
}
.dynamic-flyer-canvas.style-3d-architectural .df-header {
  background: rgba(0, 26, 18, 0.95);
  border-bottom: 2.5px solid #d4af37;
}
.dynamic-flyer-canvas.style-3d-architectural .df-brand-names h2 {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}
.dynamic-flyer-canvas.style-3d-architectural .df-header-badge {
  background: linear-gradient(135deg, #003F2C 0%, #001A12 100%);
  border: 1.5px solid #d4af37;
  color: #e5b83b;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.dynamic-flyer-canvas.style-3d-architectural .df-strip {
  background: #021a11;
  border-color: #d4af37;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}
.dynamic-flyer-canvas.style-3d-architectural .df-strip-item b {
  color: #e5b83b;
  text-shadow: 0 0 10px rgba(229, 184, 59, 0.3);
}
.dynamic-flyer-canvas.style-3d-architectural .df-strip-item span {
  color: #a3c2b5;
}
.dynamic-flyer-canvas.style-3d-architectural .df-feature-title {
  color: #ffffff;
  border-bottom: 2px solid #d4af37;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.dynamic-flyer-canvas.style-3d-architectural .df-bullet-item {
  background: rgba(0, 45, 30, 0.55);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-left: 4px solid #d4af37;
  color: #d8e5df;
  backdrop-filter: blur(4px);
}
.dynamic-flyer-canvas.style-3d-architectural .df-bullet-item span {
  color: #e5ede9;
}
.dynamic-flyer-canvas.style-3d-architectural .df-check {
  background: #d4af37;
  color: #00261A;
}
.dynamic-flyer-canvas.style-3d-architectural .df-value-showcase {
  background: linear-gradient(135deg, #021a12 0%, #06261c 100%);
  border: 2px solid #d4af37;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), inset 0 1px 2px rgba(212, 175, 55, 0.4);
}
.dynamic-flyer-canvas.style-3d-architectural .df-value-title {
  color: #ffffff;
}
.dynamic-flyer-canvas.style-3d-architectural .df-value-sub {
  color: #a3c2b5;
}
.dynamic-flyer-canvas.style-3d-architectural .df-typology-card {
  background: rgba(0, 26, 18, 0.75);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transform: translateZ(8px);
}
.dynamic-flyer-canvas.style-3d-architectural .df-typology-card.popular {
  border: 2px solid #d4af37;
  background: rgba(0, 45, 30, 0.85);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5), 0 0 15px rgba(212, 175, 55, 0.25);
}
.dynamic-flyer-canvas.style-3d-architectural .df-typ-name {
  color: #ffffff;
}
.dynamic-flyer-canvas.style-3d-architectural .df-typ-size {
  color: #a3c2b5;
}
.dynamic-flyer-canvas.style-3d-architectural .df-typ-price {
  color: #e5b83b;
}
.dynamic-flyer-canvas.style-3d-architectural .df-typ-rent {
  color: #2ecc71;
}
.dynamic-flyer-canvas.style-3d-architectural .df-footer {
  background: #001910;
  border-top: 2.5px solid #d4af37;
}


/* Expanded global style picker */
.style-picker-intro {
  margin: -2px 0 10px;
  color: #9bb4a8;
  font-size: 11px;
  line-height: 1.45;
}
#flyerStyleSelector .ratio-btn {
  min-height: 54px;
  position: relative;
  overflow: hidden;
  padding: 8px 7px 8px 11px;
  text-align: left;
  line-height: 1.2;
}
#flyerStyleSelector .ratio-btn::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--style-accent, #d4af37);
}
#flyerStyleSelector .ratio-btn small {
  color: #7f998d;
  font-size: 9px;
  font-weight: 600;
}
#flyerStyleSelector .ratio-btn.global-style {
  background: linear-gradient(120deg, var(--style-preview) 0 28%, #09120e 28% 100%);
}
#flyerStyleSelector .ratio-btn.active,
#flyerStyleSelector .ratio-btn:hover {
  border-color: var(--style-accent, var(--brand-gold));
  box-shadow: inset 0 0 0 1px var(--style-accent, var(--brand-gold));
}
#flyerStyleSelector .ratio-btn.active small,
#flyerStyleSelector .ratio-btn:hover small { color: #dbe7e1; }

/* Theme 7: Dubai Noir - cinematic black and champagne metal */
.dynamic-flyer-canvas.style-dubai-noir { background:#080808; color:#f7f0df; border:1px solid #d9b86c; }
.dynamic-flyer-canvas.style-dubai-noir .df-header,
.dynamic-flyer-canvas.style-dubai-noir .df-footer { background:#050505; border-color:#d9b86c; }
.dynamic-flyer-canvas.style-dubai-noir .df-brand-names h2,
.dynamic-flyer-canvas.style-dubai-noir .df-feature-title,
.dynamic-flyer-canvas.style-dubai-noir .df-value-title,
.dynamic-flyer-canvas.style-dubai-noir .df-typ-name { color:#f8f3e8; }
.dynamic-flyer-canvas.style-dubai-noir .df-hero::after { background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.08)); }
.dynamic-flyer-canvas.style-dubai-noir .df-strip { background:linear-gradient(90deg,#15100a,#050505); border-color:#d9b86c; }
.dynamic-flyer-canvas.style-dubai-noir .df-bullet-item,
.dynamic-flyer-canvas.style-dubai-noir .df-typology-card { background:#12110e; border-color:#4f432d; color:#e8dfcc; }
.dynamic-flyer-canvas.style-dubai-noir .df-check,
.dynamic-flyer-canvas.style-dubai-noir .df-typ-badge { background:#d9b86c; color:#090909; }
.dynamic-flyer-canvas.style-dubai-noir .df-value-showcase { background:linear-gradient(145deg,#17130b,#050505); border-color:#d9b86c; }
.dynamic-flyer-canvas.style-dubai-noir .df-typ-price,
.dynamic-flyer-canvas.style-dubai-noir .df-value-hero-price strong { color:#e6c77d; }

/* Theme 8: Tokyo Neon - electric pink and cyan digital future */
.dynamic-flyer-canvas.style-tokyo-neon {
  background-color:#080922;
  background-image:linear-gradient(rgba(44,226,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(44,226,255,.07) 1px,transparent 1px);
  background-size:22px 22px;
  color:#effcff;
  border:2px solid #29e2ff;
}
.dynamic-flyer-canvas.style-tokyo-neon .df-header { background:#0c0c2b; border-bottom:4px solid #ff2e88; }
.dynamic-flyer-canvas.style-tokyo-neon .df-header-badge { background:#ff2e88; color:#fff; border:0; border-radius:0; }
.dynamic-flyer-canvas.style-tokyo-neon .df-strip { background:#11143c; border-color:#29e2ff; transform:skewY(-1deg); }
.dynamic-flyer-canvas.style-tokyo-neon .df-strip-item { transform:skewY(1deg); }
.dynamic-flyer-canvas.style-tokyo-neon .df-feature-title,
.dynamic-flyer-canvas.style-tokyo-neon .df-typ-price { color:#29e2ff; border-color:#ff2e88; }
.dynamic-flyer-canvas.style-tokyo-neon .df-bullet-item,
.dynamic-flyer-canvas.style-tokyo-neon .df-typology-card { background:rgba(15,18,57,.9); border:1px solid rgba(41,226,255,.35); border-left:4px solid #ff2e88; color:#eafcff; }
.dynamic-flyer-canvas.style-tokyo-neon .df-check,
.dynamic-flyer-canvas.style-tokyo-neon .df-typ-badge { background:#ff2e88; color:#fff; border-radius:0; }
.dynamic-flyer-canvas.style-tokyo-neon .df-value-showcase { background:linear-gradient(135deg,#11143c,#220b32); border:2px solid #29e2ff; box-shadow:7px 7px 0 #ff2e88; }
.dynamic-flyer-canvas.style-tokyo-neon .df-value-title,
.dynamic-flyer-canvas.style-tokyo-neon .df-typ-name { color:#fff; }
.dynamic-flyer-canvas.style-tokyo-neon .df-footer { background:#07081e; border-color:#ff2e88; }

/* Theme 9: Swiss Grid - disciplined editorial paper and signal red */
.dynamic-flyer-canvas.style-swiss-grid { background:#f4f1e8; color:#111; border:8px solid #111; }
.dynamic-flyer-canvas.style-swiss-grid .df-header { background:#f4f1e8; border-bottom:8px solid #111; }
.dynamic-flyer-canvas.style-swiss-grid .df-brand-names h2,
.dynamic-flyer-canvas.style-swiss-grid .df-feature-title,
.dynamic-flyer-canvas.style-swiss-grid .df-value-title,
.dynamic-flyer-canvas.style-swiss-grid .df-typ-name { color:#111; letter-spacing:-.03em; }
.dynamic-flyer-canvas.style-swiss-grid .df-header-badge,
.dynamic-flyer-canvas.style-swiss-grid .df-check,
.dynamic-flyer-canvas.style-swiss-grid .df-typ-badge { background:#ff3b30; color:#fff; border:0; border-radius:0; }
.dynamic-flyer-canvas.style-swiss-grid .df-strip { background:#111; border:0; }
.dynamic-flyer-canvas.style-swiss-grid .df-bullet-item { background:transparent; border:0; border-bottom:2px solid #111; border-radius:0; color:#111; }
.dynamic-flyer-canvas.style-swiss-grid .df-value-showcase { background:#f4f1e8; border:5px solid #111; border-radius:0; box-shadow:12px 12px 0 #ff3b30; }
.dynamic-flyer-canvas.style-swiss-grid .df-typology-card { background:transparent; border:2px solid #111; border-radius:0; }
.dynamic-flyer-canvas.style-swiss-grid .df-typ-price { color:#ff3b30; }
.dynamic-flyer-canvas.style-swiss-grid .df-footer { background:#ff3b30; border:0; }

/* Theme 10: Scandi Calm - airy Nordic restraint and moss green */
.dynamic-flyer-canvas.style-scandi-calm { background:#edf0e8; color:#24332f; }
.dynamic-flyer-canvas.style-scandi-calm .df-header { background:#edf0e8; border-bottom:1px solid #9baaa2; }
.dynamic-flyer-canvas.style-scandi-calm .df-brand-names h2,
.dynamic-flyer-canvas.style-scandi-calm .df-feature-title,
.dynamic-flyer-canvas.style-scandi-calm .df-value-title,
.dynamic-flyer-canvas.style-scandi-calm .df-typ-name { color:#24332f; font-weight:700; }
.dynamic-flyer-canvas.style-scandi-calm .df-header-badge { background:#dce3d7; color:#315c55; border:1px solid #8ca29a; border-radius:999px; }
.dynamic-flyer-canvas.style-scandi-calm .df-strip { background:#315c55; border:0; }
.dynamic-flyer-canvas.style-scandi-calm .df-bullet-item,
.dynamic-flyer-canvas.style-scandi-calm .df-typology-card { background:#f8f8f3; border:1px solid #cad2cb; border-left:1px solid #cad2cb; border-radius:14px; color:#40534d; }
.dynamic-flyer-canvas.style-scandi-calm .df-check { background:#d5dfd1; color:#315c55; }
.dynamic-flyer-canvas.style-scandi-calm .df-value-showcase { background:#f8f8f3; border:1px solid #91a49b; border-radius:20px; box-shadow:none; }
.dynamic-flyer-canvas.style-scandi-calm .df-typ-price { color:#315c55; }
.dynamic-flyer-canvas.style-scandi-calm .df-footer { background:#24332f; border:0; }

/* Theme 11: Mediterranean - sun-washed cobalt and terracotta */
.dynamic-flyer-canvas.style-mediterranean { background:#f7edd9; color:#183f59; }
.dynamic-flyer-canvas.style-mediterranean .df-header { background:#fff8e9; border-bottom:4px solid #176b87; }
.dynamic-flyer-canvas.style-mediterranean .df-brand-names h2,
.dynamic-flyer-canvas.style-mediterranean .df-feature-title,
.dynamic-flyer-canvas.style-mediterranean .df-value-title,
.dynamic-flyer-canvas.style-mediterranean .df-typ-name { color:#183f59; }
.dynamic-flyer-canvas.style-mediterranean .df-header-badge,
.dynamic-flyer-canvas.style-mediterranean .df-check,
.dynamic-flyer-canvas.style-mediterranean .df-typ-badge { background:#e8663b; color:#fff8e9; border:0; }
.dynamic-flyer-canvas.style-mediterranean .df-strip { background:#176b87; border-color:#e8663b; }
.dynamic-flyer-canvas.style-mediterranean .df-bullet-item,
.dynamic-flyer-canvas.style-mediterranean .df-typology-card { background:#fff8e9; border:1px solid #e4cfa9; border-left:5px solid #e8663b; color:#27495c; }
.dynamic-flyer-canvas.style-mediterranean .df-value-showcase { background:#fff8e9; border:3px solid #176b87; box-shadow:8px 8px 0 #e8663b; }
.dynamic-flyer-canvas.style-mediterranean .df-typ-price { color:#d94f29; }
.dynamic-flyer-canvas.style-mediterranean .df-footer { background:#176b87; border-color:#e8663b; }

/* Theme 12: New York Editorial - high-contrast property magazine */
.dynamic-flyer-canvas.style-new-york-editorial { background:#f7f6f2; color:#111; }
.dynamic-flyer-canvas.style-new-york-editorial .df-header { background:#f7f6f2; border-top:10px solid #111; border-bottom:2px solid #111; }
.dynamic-flyer-canvas.style-new-york-editorial .df-brand-names h2,
.dynamic-flyer-canvas.style-new-york-editorial .df-feature-title,
.dynamic-flyer-canvas.style-new-york-editorial .df-value-title,
.dynamic-flyer-canvas.style-new-york-editorial .df-typ-name { color:#111; text-transform:uppercase; }
.dynamic-flyer-canvas.style-new-york-editorial .df-header-badge { background:#d71920; color:#fff; border:0; border-radius:0; transform:rotate(-2deg); }
.dynamic-flyer-canvas.style-new-york-editorial .df-strip { background:#111; border:0; }
.dynamic-flyer-canvas.style-new-york-editorial .df-bullet-item { background:#fff; border:0; border-top:1px solid #111; border-radius:0; color:#1d1d1d; }
.dynamic-flyer-canvas.style-new-york-editorial .df-check { background:#d71920; color:#fff; border-radius:50%; }
.dynamic-flyer-canvas.style-new-york-editorial .df-value-showcase { background:#fff; border:6px double #111; border-radius:0; }
.dynamic-flyer-canvas.style-new-york-editorial .df-value-badge,
.dynamic-flyer-canvas.style-new-york-editorial .df-typ-price { color:#d71920; }
.dynamic-flyer-canvas.style-new-york-editorial .df-typology-card { background:#fff; border:1px solid #111; border-radius:0; }
.dynamic-flyer-canvas.style-new-york-editorial .df-typ-badge { background:#111; color:#fff; border-radius:0; }
.dynamic-flyer-canvas.style-new-york-editorial .df-footer { background:#111; border-top:8px solid #d71920; }

/* Theme 13: Lagos Afrofuture - acid lime, violet and Afropolitan energy */
.dynamic-flyer-canvas.style-lagos-afrofuture {
  background-color:#251341;
  background-image:radial-gradient(circle at 10% 20%,rgba(216,255,62,.14) 0 3px,transparent 4px),linear-gradient(135deg,transparent 45%,rgba(255,93,143,.09) 45% 55%,transparent 55%);
  background-size:34px 34px,68px 68px;
  color:#fff;
}
.dynamic-flyer-canvas.style-lagos-afrofuture .df-header { background:#1b0d31; border-bottom:5px solid #d8ff3e; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-header-badge,
.dynamic-flyer-canvas.style-lagos-afrofuture .df-check,
.dynamic-flyer-canvas.style-lagos-afrofuture .df-typ-badge { background:#d8ff3e; color:#251341; border:0; border-radius:0 14px 0 14px; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-strip { background:#ff5d8f; border:0; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-strip-item b { color:#251341; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-feature-title,
.dynamic-flyer-canvas.style-lagos-afrofuture .df-typ-price { color:#d8ff3e; border-color:#ff5d8f; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-bullet-item,
.dynamic-flyer-canvas.style-lagos-afrofuture .df-typology-card { background:rgba(52,25,88,.9); border:1px solid rgba(216,255,62,.4); border-left:5px solid #ff5d8f; color:#fff; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-value-showcase { background:#351a59; border:3px solid #d8ff3e; box-shadow:10px 10px 0 #ff5d8f; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-value-title,
.dynamic-flyer-canvas.style-lagos-afrofuture .df-typ-name { color:#fff; }
.dynamic-flyer-canvas.style-lagos-afrofuture .df-footer { background:#1b0d31; border-color:#d8ff3e; }

/* Theme 14: Nairobi Eco - biophilic green, lime and organic cards */
.dynamic-flyer-canvas.style-nairobi-eco { background:#e9efe6; color:#17372f; }
.dynamic-flyer-canvas.style-nairobi-eco .df-header { background:#17372f; border-bottom:5px solid #b7d33d; }
.dynamic-flyer-canvas.style-nairobi-eco .df-brand-names h2 { color:#fff; }
.dynamic-flyer-canvas.style-nairobi-eco .df-header-badge { background:#b7d33d; color:#17372f; border:0; border-radius:18px 4px 18px 4px; }
.dynamic-flyer-canvas.style-nairobi-eco .df-strip { background:#275b4d; border:0; }
.dynamic-flyer-canvas.style-nairobi-eco .df-feature-title,
.dynamic-flyer-canvas.style-nairobi-eco .df-value-title,
.dynamic-flyer-canvas.style-nairobi-eco .df-typ-name { color:#17372f; border-color:#b7d33d; }
.dynamic-flyer-canvas.style-nairobi-eco .df-bullet-item,
.dynamic-flyer-canvas.style-nairobi-eco .df-typology-card { background:#f7faf5; border:1px solid #bfd0c4; border-left:5px solid #6d9d57; border-radius:16px 4px 16px 4px; color:#294a41; }
.dynamic-flyer-canvas.style-nairobi-eco .df-check,
.dynamic-flyer-canvas.style-nairobi-eco .df-typ-badge { background:#b7d33d; color:#17372f; }
.dynamic-flyer-canvas.style-nairobi-eco .df-value-showcase { background:linear-gradient(145deg,#f7faf5,#dfe9dc); border:2px solid #6d9d57; border-radius:22px 5px 22px 5px; box-shadow:none; }
.dynamic-flyer-canvas.style-nairobi-eco .df-typ-price { color:#326d59; }
.dynamic-flyer-canvas.style-nairobi-eco .df-footer { background:#17372f; border-color:#b7d33d; }

/* 3D Flyer Viewport & Interactive Parallax Tilt System */
.flyer-viewport-wrapper {
  perspective: 1500px;
}

.dynamic-flyer-canvas {
  transform-style: preserve-3d;
  transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.3, 1), box-shadow 0.25s ease;
  position: relative;
}

.dynamic-flyer-canvas.is-tilting {
  transition: transform 0.05s linear;
}

.df-3d-glare-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(circle at 50% 30%, rgba(255, 235, 170, 0.22) 0%, rgba(212, 175, 55, 0.06) 45%, rgba(0, 0, 0, 0) 70%);
  mix-blend-mode: overlay;
}

.dynamic-flyer-canvas:hover .df-3d-glare-overlay {
  opacity: 1;
}


@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* Canvas Footer */
.df-footer {
  background: #00261A;
  color: #ffffff;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2.5px solid var(--brand-gold);
  z-index: 10;
}

.df-footer-contacts b {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--brand-gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 2px;
}

.df-contact-row {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #d8e5df;
}

.df-footer-loc {
  font-size: 9.5px;
  color: #9cb5a8;
  margin-top: 2px;
}

.df-footer-btn {
  background: var(--brand-gold-gradient);
  color: #00261A;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   VIDEO GENERATOR WORKSPACE (30-60s SOCIAL REELS)
   ========================================================================= */

.video-player-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.video-canvas-wrapper {
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.8);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--brand-gold);
  background: #000000;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#socialVideoCanvas {
  display: block;
  background: #001f15;
  max-height: 65vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#videoRatioSelector {
  grid-template-columns: repeat(3, 1fr);
}

.video-controls-bar {
  width: 100%;
  max-width: 680px;
  background: var(--studio-panel);
  border: 1px solid var(--studio-border);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-scrub-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-time-label {
  font-family: monospace;
  font-size: 12px;
  color: var(--brand-gold-bright);
  font-weight: 700;
  min-width: 60px;
}

.video-progress-slider {
  flex: 1;
  height: 6px;
  accent-color: var(--brand-gold-bright);
  cursor: pointer;
}

.video-btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-transport-btns {
  display: flex;
  gap: 8px;
}

.transport-btn {
  background: #15271e;
  border: 1px solid var(--studio-border);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.transport-btn:hover, .transport-btn.active {
  background: var(--brand-gold-gradient);
  color: #00261A;
  border-color: var(--brand-gold);
}

.video-recorder-btn {
  background: #d62828;
  color: #ffffff;
  border: none;
  padding: 9px 18px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 15px rgba(214, 40, 40, 0.4);
  transition: all 0.2s ease;
}

.video-recorder-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.video-recorder-btn.recording {
  background: #ff0055;
  animation: pulseRecording 1.5s infinite;
}

@keyframes pulseRecording {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 0, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 85, 0); }
}

/* Scene Timeline Track & Dynamic Cards */
.timeline-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px 12px 4px;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-gold) rgba(0, 38, 26, 0.4);
}

.timeline-scene-card {
  flex-shrink: 0;
  width: 120px;
  background: var(--studio-card);
  border: 1.5px solid var(--studio-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.timeline-scene-card:hover {
  border-color: rgba(197, 155, 39, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.timeline-scene-card.active {
  border-color: var(--brand-gold);
  box-shadow: 0 0 14px rgba(197, 155, 39, 0.45);
  background: #002b1d;
}

.scene-thumb-container {
  position: relative;
  width: 100%;
  height: 64px;
  overflow: hidden;
  background: #05140f;
}

.scene-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.timeline-scene-card:hover .scene-thumb {
  transform: scale(1.05);
}

.scene-change-btn-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 14, 0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  gap: 4px;
  backdrop-filter: blur(2px);
}

.scene-thumb-container:hover .scene-change-btn-overlay {
  opacity: 1;
}

.scene-change-badge {
  background: var(--brand-gold-gradient);
  color: #001f15;
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.scene-info {
  padding: 5px 6px 2px 6px;
  font-size: 10px;
  font-weight: 700;
  color: #e6f4ee;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scene-dur-pill {
  font-size: 9px;
  color: var(--brand-gold);
  background: rgba(197, 155, 39, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

.scene-hook-subtext {
  padding: 0 6px 4px 6px;
  font-size: 8.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

.scene-card-actions {
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.25);
}

.scene-card-action-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #a3c2b5;
  padding: 4px 0;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-card-action-btn:hover {
  background: rgba(197, 155, 39, 0.25);
  color: var(--brand-gold-bright);
}

.scene-card-action-btn.delete:hover {
  background: rgba(255, 77, 77, 0.2);
  color: #ff6b6b;
}

/* Timeline Add Scene End Card */
.timeline-scene-card.add-card {
  border: 1.5px dashed var(--brand-gold);
  background: rgba(197, 155, 39, 0.06);
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--brand-gold);
  cursor: pointer;
}

.timeline-scene-card.add-card:hover {
  background: rgba(197, 155, 39, 0.16);
  border-color: #ffd700;
  box-shadow: 0 0 14px rgba(197, 155, 39, 0.35);
  transform: translateY(-2px);
}

.timeline-scene-card.add-card .add-icon {
  font-size: 24px;
  line-height: 1;
}

.timeline-scene-card.add-card .add-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Scene Photo Gallery Modal */
.scene-gallery-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 10, 0.85);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.scene-gallery-modal-content {
  background: #002217;
  border: 1.5px solid var(--brand-gold);
  border-radius: 12px;
  width: 100%;
  max-width: 840px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.scene-gallery-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--studio-border);
}

.scene-gallery-close-btn {
  background: transparent;
  border: none;
  color: #a3c2b5;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.scene-gallery-close-btn:hover {
  color: #ff6b6b;
}

.scene-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  overflow-y: auto;
  padding-right: 6px;
  max-height: 62vh;
}

.scene-gallery-item {
  background: var(--studio-card);
  border: 1.5px solid var(--studio-border);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.scene-gallery-item:hover {
  border-color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scene-gallery-item.selected {
  border-color: var(--brand-gold-bright);
  box-shadow: 0 0 12px rgba(197, 155, 39, 0.5);
  background: #002b1d;
}

.scene-gallery-item-thumb {
  width: 100%;
  height: 105px;
  object-fit: cover;
  display: block;
}

.scene-gallery-item-info {
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.scene-gallery-item-title {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scene-gallery-item-cat {
  font-size: 9px;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   ADVANCED TOOLS: ROI CALCULATOR, 3-CARD STORIES, DIASPORA CONVERTER
   ========================================================================== */

.roi-calculator-box {
  background: var(--studio-panel);
  border: 1.5px solid var(--studio-border);
  border-radius: 12px;
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
}

.calc-slider-card {
  background: var(--studio-card);
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
}

.calc-slider {
  width: 100%;
  accent-color: var(--brand-gold-bright);
}

.calc-result-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-kpi-tile {
  background: #06110c;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-kpi-tile.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #00261A 0%, #00150e 100%);
  border-color: var(--brand-gold);
}

.calc-kpi-tile small {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-gold-bright);
  font-weight: 700;
  margin-bottom: 4px;
}

.calc-kpi-tile strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.calc-kpi-tile span {
  font-size: 11px;
  color: #92ab9f;
}

/* 3-Card WhatsApp Status Carousel Generator */
.story-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.story-card-item {
  background: #00261A;
  border: 2px solid var(--brand-gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
}

.story-card-header {
  padding: 10px 14px;
  background: #001a12;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.story-card-preview {
  height: 380px;
  position: relative;
  overflow: hidden;
}

.story-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0, 31, 21, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #ffffff;
}

.story-card-overlay h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.story-card-overlay p {
  font-size: 11.5px;
  color: #d1ded7;
  line-height: 1.4;
}

/* Voiceover Scripts */
.script-card {
  background: var(--studio-card);
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.script-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.script-tag {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-gold-bright);
  background: rgba(197, 155, 39, 0.15);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid var(--brand-gold);
}

.script-content {
  background: #060b08;
  padding: 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: #e5ede9;
  font-family: monospace;
}

/* Modal for Image Preview & Direct Saving */
.download-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.download-modal-backdrop.active {
  display: flex;
}

.download-modal-content {
  background: #00261A;
  border: 2px solid var(--brand-gold);
  border-radius: 12px;
  max-width: 580px;
  width: 100%;
  padding: 24px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0,0,0,0.9);
}

.modal-img-preview {
  max-height: 55vh;
  width: auto;
  border-radius: 8px;
  border: 1.5px solid var(--brand-gold);
  margin: 16px auto;
  display: block;
}

/* Captions & Hashtags Layout */
.captions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.caption-box-card {
  background: var(--studio-panel);
  border: 1.5px solid var(--studio-border);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.caption-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.caption-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197, 155, 39, 0.15);
  color: var(--brand-gold-bright);
  border: 1px solid var(--brand-gold);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.caption-copy-btn {
  background: #172a22;
  color: #ffffff;
  border: 1px solid var(--studio-border);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.caption-copy-btn:hover {
  background: var(--brand-gold-gradient);
  color: #00261A;
  border-color: var(--brand-gold);
}

.caption-content-area {
  background: #070d0a;
  border: 1px solid var(--studio-border);
  border-radius: 8px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
  color: #e2ede7;
  font-family: var(--font-body);
  white-space: pre-wrap;
  min-height: 180px;
  max-height: 280px;
  overflow-y: auto;
  user-select: all;
}

.hashtags-cluster-card {
  grid-column: span 2;
  background: var(--studio-panel);
  border: 1.5px solid var(--studio-border);
  border-radius: 10px;
  padding: 20px;
}

.hashtag-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.hashtag-chip {
  background: #10211a;
  color: #79d4a8;
  border: 1px solid #1a3c2e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hashtag-chip:hover {
  background: var(--brand-green);
  color: #ffffff;
  border-color: var(--brand-gold);
}

/* Toast Notifications */
.studio-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--brand-gold-gradient);
  color: #00261A;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.studio-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .studio-workspace {
    flex-direction: column;
  }
  .studio-stage {
    order: 1;
    width: 100%;
    overflow-x: hidden;
  }
  .studio-sidebar {
    order: 2;
    width: 100%;
    height: auto;
    position: static;
  }
  .captions-grid {
    grid-template-columns: 1fr;
  }
  .hashtags-cluster-card {
    grid-column: span 1;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .story-cards-row {
    grid-template-columns: 1fr;
  }
  .stage-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .export-btn-group {
    width: 100%;
    flex-wrap: wrap;
  }
  .export-btn-group .action-btn {
    flex: 1 1 150px;
    justify-content: center;
  }
  .flyer-export-readiness { grid-template-columns: 1fr; margin-top: 0; }
  .export-format-specs { justify-content: flex-start; }
}

@media (max-width: 992px) {
  .studio-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 12px 16px;
    height: auto;
  }
  .header-brand,
  .studio-brand-group {
    justify-content: center;
    text-align: center;
  }
  .header-nav-tabs,
  .studio-nav-tabs {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    padding-bottom: 4px;
    justify-content: flex-start;
    border-radius: 10px;
  }
  .header-actions,
  .studio-header-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .studio-main-stage {
    padding: 16px 12px;
  }
  .flyer-stage-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .stage-actions-group {
    flex-wrap: wrap;
    justify-content: stretch;
  }
  .stage-actions-group .btn-gold,
  .stage-actions-group .btn-emerald,
  .stage-actions-group .btn-secondary {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
    justify-content: center;
  }
  .dynamic-flyer-canvas { max-width: none; }
  .video-stage-wrapper {
    padding: 16px 10px;
  }
  .video-player-container {
    width: 100%;
    max-width: 100%;
  }
  .calc-results-card {
    padding: 18px;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-title h1 {
    font-size: 16px;
  }
  .header-tagline {
    font-size: 10px;
  }
  .nav-tab-btn {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .form-row-2, .form-row-3 {
    grid-template-columns: 1fr;
  }
  .studio-sidebar {
    padding: 14px 12px;
  }
  .sidebar-panel-header h3 {
    font-size: 13px;
  }
  .quick-presets-ribbon {
    gap: 6px;
    padding: 6px 10px;
  }
  .preset-pill {
    padding: 6px 12px;
    font-size: 11px;
  }
  .stage-actions-group .btn-gold,
  .stage-actions-group .btn-emerald,
  .stage-actions-group .btn-secondary {
    flex: 1 1 100%;
  }
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .video-controls-toolbar {
    flex-direction: column;
  }
  .video-controls-left, .video-controls-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   INTERVIEW & CUSTOM VIDEO PRODUCTION SUITE STYLES
   ========================================================================== */
#customVideoEditorControls .panel-section {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#customVideoEditorControls .panel-section:hover {
  border-color: var(--brand-gold) !important;
  box-shadow: 0 4px 18px rgba(0, 45, 30, 0.4);
}

#btnAutoColorGrade {
  box-shadow: 0 2px 8px rgba(197, 155, 39, 0.4);
  transition: transform 0.15s ease, filter 0.15s ease;
}

#btnAutoColorGrade:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
}

#btnAutoColorGrade:active {
  transform: translateY(1px);
}

.trim-marker-badge {
  display: inline-block;
  padding: 2px 6px;
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid var(--brand-gold);
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--brand-gold-bright);
}

#btnApplyInterviewPreset {
  background: linear-gradient(135deg, #004d35 0%, #002b1e 100%);
  border: 1.5px solid var(--brand-gold);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(0, 63, 44, 0.4);
  transition: all 0.2s ease;
}

#btnApplyInterviewPreset:hover {
  background: linear-gradient(135deg, #006042 0%, #003827 100%);
  border-color: #ffd875;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-1px);
}

#videoCustomColorSliders input[type="range"]::-webkit-slider-thumb {
  background: var(--brand-gold);
  border: 1.5px solid #ffffff;
}

/* ==========================================================================
   PRO KEYBOARD SHORTCUTS HINTS & AVATAR SUITE
   ========================================================================== */
.keyboard-shortcuts-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(0, 20, 14, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #9cb5a8;
  user-select: none;
}

.kbd-key {
  display: inline-block;
  background: #003623;
  color: var(--brand-gold-bright);
  font-family: monospace;
  font-weight: 800;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.kbd-sep {
  color: rgba(212, 175, 55, 0.4);
  font-weight: bold;
}

.speaker-avatar-preview {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--brand-gold);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 5-Slide Carousel Pack Button Animation */
#exportCarouselBtn {
  background: linear-gradient(135deg, #004d35 0%, #002b1e 100%);
  border-color: var(--brand-gold);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.2s ease;
}

#exportCarouselBtn:hover {
  background: linear-gradient(135deg, #006b4a 0%, #003827 100%);
  border-color: #ffd875;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

/* ==========================================================================
   TRENDING HASHTAGS & SOCIAL COPY STUDIO STYLING
   ========================================================================== */
.hashtags-cluster-card {
  background: var(--studio-card);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hashtag-cluster-box {
  background: #001a12;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  transition: all 0.2s ease;
}

.hashtag-cluster-box:hover {
  border-color: rgba(212, 175, 55, 0.45);
  background: #002218;
}

.hashtag-cluster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.hashtag-cluster-title {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hashtag-cluster-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hashtag-reach-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #7ef5a3;
  background: rgba(46, 204, 113, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(46, 204, 113, 0.3);
}

.hashtag-score-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: #ffd875;
  background: rgba(212, 175, 55, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
}

.hashtag-cluster-copy-btn {
  background: rgba(0, 38, 26, 0.9);
  border: 1px solid var(--brand-gold);
  color: var(--brand-gold-bright);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hashtag-cluster-copy-btn:hover {
  background: var(--brand-gold);
  color: #00261A;
}

.hashtag-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hashtag-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 38, 26, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: #a8d5c2;
  font-size: 11.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 14px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.hashtag-chip:hover {
  background: rgba(212, 175, 55, 0.2);
  color: #ffffff;
  border-color: var(--brand-gold-bright);
  transform: translateY(-1px);
}

.hashtag-chip:active {
  transform: scale(0.96);
}
