@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=Boogaloo&display=swap');

/* FONTES LOCAIS CARTAZISTA PROFISSIONAL */
@font-face {
  font-family: 'NumerosCartazista';
  src: url('/fonts/NumerosCartazistaonline-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CaixaAlta';
  src: url('/fonts/CaixaAlta_Cartazistaonline-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'CartazistaOficial';
  src: url('/fonts/Cartazista.online-oficial.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'LetraQuina';
  src: url('/fonts/LetraQuinta_Cartazistaonline-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* General resets */
html, body {
  margin: 0;
  padding: 0;
}

/* POSTER CANVAS DISPLAY */
.poster-canvas {
  width: 440px;
  height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Impact', 'Montserrat', 'Arial Black', sans-serif;
  user-select: none;
  transition: transform 0.2s ease, width 0.2s ease, height 0.2s ease;
  padding-top: 6px;
}

/* Story Format in Live Preview (9:16 Aspect Ratio) */
.poster-canvas.format-story {
  width: 350px;
  height: 622px;
  padding-top: 8px;
}

.poster-canvas.format-story .poster-header {
  width: calc(100% - 24px);
  margin: 6px auto 4px auto;
  padding: 6px 12px;
  font-size: 48px;
  border-radius: 12px;
}

.poster-canvas.format-story .poster-body {
  width: 94%;
  padding: 4px 2px;
  justify-content: space-around;
}

.poster-canvas.format-story .poster-title {
  font-size: 36px !important;
  line-height: 0.98;
}

.poster-canvas.format-story .poster-body:not(.has-image) .poster-title {
  font-size: 42px !important;
  line-height: 0.98;
}

.poster-canvas.format-story .poster-complement {
  font-size: 14px !important;
  margin-top: 2px;
  margin-bottom: 4px;
}

.poster-canvas.format-story .poster-price-row {
  max-width: 96%;
  box-sizing: border-box;
  justify-content: center;
  align-items: flex-start;
  margin: 4px 0;
}

.poster-canvas.format-story .poster-price-row .price-whole,
.poster-canvas.format-story .poster-body:not(.has-image) .poster-price-row .price-whole {
  font-size: 130px !important;
  letter-spacing: -2px;
  line-height: 0.82;
}

.poster-canvas.format-story .poster-price-row .currency,
.poster-canvas.format-story .poster-body:not(.has-image) .poster-price-row .currency {
  font-size: 30px !important;
  margin-top: 10px;
  margin-right: 3px;
  flex-shrink: 0;
}

.poster-canvas.format-story .cents-unit-col,
.poster-canvas.format-story .poster-body:not(.has-image) .cents-unit-col {
  margin-top: 10px;
  margin-left: 3px;
  flex-shrink: 0;
}

.poster-canvas.format-story .cents-unit-col .price-cents,
.poster-canvas.format-story .poster-body:not(.has-image) .cents-unit-col .price-cents {
  font-size: 60px !important;
  line-height: 0.85;
}

.poster-canvas.format-story .cents-unit-col .unit-box,
.poster-canvas.format-story .poster-body:not(.has-image) .cents-unit-col .unit-box {
  font-size: 10px !important;
  padding: 2px 6px;
  margin-top: 3px;
}

.poster-canvas.format-story .price-splash-box {
  width: 94% !important;
  padding: 6px 10px 4px 10px !important;
}

.poster-canvas.format-story .promo-box-banner {
  font-size: 11px;
  padding: 3px 10px;
}

.poster-canvas.format-story .promo-dual-val {
  font-size: 46px;
}

.poster-canvas.format-story .promo-dual-col {
  padding: 4px 10px;
}

.poster-canvas.format-story .promo-dual-lbl {
  font-size: 11px;
}

/* THEMES */
/* 1. Amarelo Tradicional */
.poster-canvas.theme-amarelo {
  background-color: #FFD100;
  color: #111111;
}
.poster-canvas.theme-amarelo .poster-header {
  background: #D90429;
  color: #FFFFFF;
}
.poster-canvas.theme-amarelo .price-whole,
.poster-canvas.theme-amarelo .price-cents,
.poster-canvas.theme-amarelo .currency {
  color: #D90429;
  text-shadow: 2px 2px 0px #000;
}

/* 2. Açougue */
.poster-canvas.theme-acougue {
  background: radial-gradient(circle, #3d0505 0%, #170000 100%);
  color: #FFFFFF;
}
.poster-canvas.theme-acougue .poster-header {
  background: #9d0208;
  color: #FFD100;
}
.poster-canvas.theme-acougue .price-whole,
.poster-canvas.theme-acougue .price-cents,
.poster-canvas.theme-acougue .currency {
  color: #FFD100;
  text-shadow: 2px 2px 0px #000;
}
.poster-canvas.theme-acougue .poster-complement {
  color: #FFB703;
}

/* 3. Hortifrúti */
.poster-canvas.theme-hortifruti {
  background: #E9F5ED;
  color: #081C15;
}
.poster-canvas.theme-hortifruti .poster-header {
  background: #2D6A4F;
  color: #FFFFFF;
}
.poster-canvas.theme-hortifruti .price-whole,
.poster-canvas.theme-hortifruti .price-cents,
.poster-canvas.theme-hortifruti .currency {
  color: #1B4332;
  text-shadow: 1px 1px 0px #fff;
}

/* 4. Oferta Relâmpago */
.poster-canvas.theme-relampago {
  background: #FFD60A;
  color: #000814;
}
.poster-canvas.theme-relampago .poster-header {
  background: #000814;
  color: #FFC300;
}
.poster-canvas.theme-relampago .price-whole,
.poster-canvas.theme-relampago .price-cents,
.poster-canvas.theme-relampago .currency {
  color: #D90429;
  text-shadow: 2px 2px 0px #000;
}

/* 5. Cartazista Pincel Real (Estilo Cartazista.online) */
.poster-canvas.theme-cartazista-pincel {
  background: #FFE500 radial-gradient(circle, #FFF700 0%, #FFD000 100%);
  color: #000000;
  font-family: 'CaixaAlta', 'CartazistaOficial', cursive;
}
.poster-canvas.theme-cartazista-pincel .poster-header {
  background: #E00000;
  color: #FFFFFF;
  border: 3.5px solid #000;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  font-family: 'CaixaAlta', 'LetraQuina', cursive;
  letter-spacing: 2px;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.35);
}
.poster-canvas.theme-cartazista-pincel .poster-title {
  font-family: 'CaixaAlta', 'CartazistaOficial', cursive;
  letter-spacing: 0.5px;
  line-height: 1.0;
}
.poster-canvas.theme-cartazista-pincel .price-whole {
  font-family: 'NumerosCartazista', cursive;
  color: #E00000;
  text-shadow: 4px 4px 0px #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
  letter-spacing: -2px;
}
.poster-canvas.theme-cartazista-pincel .price-cents {
  font-family: 'NumerosCartazista', cursive;
  color: #E00000;
  text-shadow: 2px 2px 0px #000;
}
.poster-canvas.theme-cartazista-pincel .currency {
  font-family: 'NumerosCartazista', cursive;
  color: #E00000;
  text-shadow: 2px 2px 0px #000;
}
.poster-canvas.theme-cartazista-pincel .cents-unit-col .unit-box {
  background: #E00000;
  border: 1.5px solid #000;
  color: #FFF;
}

/* CLASSE DINÂMICA: PINCEL VAREJO (CARTAZISTA MANUAL) */
.poster-canvas.font-pincel .poster-title,
.poster-canvas.font-pincel .product-title,
.poster-canvas.font-pincel .bolsao-title,
.poster-canvas.font-pincel .gmt-title {
  font-family: 'CaixaAlta', 'CartazistaOficial', cursive !important;
  letter-spacing: 0.5px !important;
  font-weight: normal !important;
}
.poster-canvas.font-pincel .poster-header,
.poster-canvas.font-pincel .header-ribbon,
.poster-canvas.font-pincel .depor-ribbon {
  font-family: 'CaixaAlta', 'LetraQuina', cursive !important;
  font-weight: normal !important;
}
.poster-canvas.font-pincel .price-whole,
.poster-canvas.font-pincel .price-cents,
.poster-canvas.font-pincel .gmt-price,
.poster-canvas.font-pincel .gt-whole,
.poster-canvas.font-pincel .gt-cents {
  font-family: 'NumerosCartazista', cursive !important;
  letter-spacing: -2px !important;
  font-weight: normal !important;
}
.poster-canvas.font-pincel .currency,
.poster-canvas.font-pincel .currency-symbol,
.poster-canvas.font-pincel .gt-cur {
  font-family: 'NumerosCartazista', cursive !important;
}

/* CLASSE DINÂMICA: LETRA DE IMPACTO RETA (MODERNA / GEOMÉTRICA) */
.poster-canvas.font-impacto .poster-title,
.poster-canvas.font-impacto .product-title,
.poster-canvas.font-impacto .bolsao-title,
.poster-canvas.font-impacto .gmt-title {
  font-family: 'Archivo Black', 'Impact', sans-serif !important;
  letter-spacing: -1px !important;
}
.poster-canvas.font-impacto .poster-header,
.poster-canvas.font-impacto .header-ribbon {
  font-family: 'Archivo Black', 'Impact', sans-serif !important;
}
.poster-canvas.font-impacto .price-whole,
.poster-canvas.font-impacto .price-cents,
.poster-canvas.font-impacto .gmt-price,
.poster-canvas.font-impacto .gt-whole,
.poster-canvas.font-impacto .gt-cents {
  font-family: 'Archivo Black', 'Impact', sans-serif !important;
  letter-spacing: -4px !important;
}
.poster-canvas.font-impacto .currency,
.poster-canvas.font-impacto .currency-symbol,
.poster-canvas.font-impacto .gt-cur {
  font-family: 'Archivo Black', 'Impact', sans-serif !important;
}


/* POSTER INTERNAL ELEMENTS */
.poster-header {
  width: calc(100% - 28px);
  margin: 10px auto 4px auto;
  padding: 8px 16px;
  text-align: center;
  font-size: 52px;
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 14px;
  border: 3.5px solid #000;
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  box-sizing: border-box;
}

.store-mini-logo {
  max-height: 40px;
  object-fit: contain;
}

.poster-body {
  flex: 1;
  width: 96%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: 8px 4px;
}

.poster-title {
  font-size: 54px;
  line-height: 0.96;
  text-transform: uppercase;
  margin-bottom: 2px;
  word-break: break-word;
  width: 100%;
}

.poster-complement {
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  opacity: 0.9;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.poster-image-box {
  height: 150px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 0;
}

.poster-img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.35));
}

.poster-old-price {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #666;
  text-decoration: line-through;
  font-weight: bold;
}

.poster-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0.80;
  margin: 4px 0;
  width: 100%;
  max-width: 98%;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.poster-price-row.price-splash-box {
  background: #FFE500;
  border: 3.5px solid #000;
  border-radius: 18px;
  padding: 8px 14px 4px 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  width: 94%;
  box-sizing: border-box;
}

.poster-body:not(.has-image) .poster-title {
  font-size: 58px;
  line-height: 0.95;
}

.poster-body:not(.has-image) .poster-complement {
  font-size: 20px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.poster-body:not(.has-image) .poster-price-row .price-whole {
  font-size: 195px;
}

.poster-body:not(.has-image) .poster-price-row .price-cents {
  font-size: 88px;
}

.poster-body:not(.has-image) .poster-price-row .currency {
  font-size: 46px;
}

.poster-price-row .currency {
  font-size: 44px;
  margin-top: 16px;
  margin-right: 4px;
  flex-shrink: 0;
}

.poster-price-row .price-whole {
  font-size: 185px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 0.80;
}

.cents-unit-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 4px;
  margin-top: 16px;
  flex-shrink: 0;
}

.cents-unit-col .price-cents {
  font-size: 88px;
  font-weight: 900;
  line-height: 0.85;
}

.cents-unit-col .unit-box {
  background: #000;
  color: #FFF;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 6px;
  text-transform: uppercase;
}

.poster-footer {
  width: 100%;
  background: rgba(0,0,0,0.92);
  color: #FFFFFF;
  padding: 8px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-store-name {
  font-size: 12px;
  font-weight: bold;
  color: #FFD100;
}

.footer-address {
  opacity: 0.9;
}

.footer-disclaimer {
  font-size: 8px;
  opacity: 0.7;
}



/* ===================================================
   BACKGROUND COLOR VARIATIONS: AMARELO vs BRANCO
   =================================================== */
.poster-canvas.bg-fundo-branco {
  background: #FFFFFF !important;
  color: #000000 !important;
}
.poster-canvas.bg-fundo-branco .poster-header {
  background: #FFE500 !important;
  color: #D90429 !important;
  border: 3.5px solid #000 !important;
  text-shadow: none !important;
}
.poster-canvas.bg-fundo-branco .poster-title {
  color: #000000 !important;
}
.poster-canvas.bg-fundo-branco .price-splash-box {
  background: #FFE500;
  border: 3.5px solid #000;
  border-radius: 22px;
  padding: 10px 18px 6px 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  width: 95%;
  justify-content: center;
}
.poster-canvas.bg-fundo-branco .price-whole {
  text-shadow: none !important;
}
.poster-canvas.bg-fundo-branco .price-cents {
  text-shadow: none !important;
}

.poster-canvas.bg-fundo-amarelo {
  background: #FFE500 radial-gradient(circle, #FFF200 0%, #FFD000 100%) !important;
  color: #000000 !important;
}

/* ===================================================
   PROMOTIONAL TEMPLATES STYLING IN LIVE PREVIEW
   =================================================== */
.promo-box-banner {
  background: #000000;
  color: #FFE500;
  font-size: 13px;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 6px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-badge-tag {
  background: #D90429;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 900;
  padding: 3px 12px;
  border-radius: 6px;
  margin: 4px 0;
  text-transform: uppercase;
  border: 1.5px solid #000;
}
.promo-subprice-txt {
  font-size: 13px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #333;
  margin-top: 4px;
}
.promo-subprice-txt span {
  color: #D90429;
  text-decoration: line-through;
}
.promo-dual-lp {
  display: flex;
  gap: 12px;
  margin: 6px 0;
}
.promo-dual-col {
  background: #FFE500;
  border: 3px solid #000;
  border-radius: 12px;
  padding: 4px 18px;
  text-align: center;
}
.promo-dual-lbl {
  font-size: 14px;
  font-weight: 900;
  color: #D90429;
}
.promo-dual-val {
  font-size: 64px;
  font-weight: 900;
  line-height: 0.9;
  color: #000;
  font-family: 'Boogaloo', sans-serif;
}

/* Bolsão layout */
.bolsao-live-title {
  background: #FFE500;
  border: 4px solid #000;
  border-radius: 14px;
  padding: 12px;
  width: 100%;
  margin-bottom: 8px;
}
.bolsao-live-name {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.05;
  color: #000;
  text-transform: uppercase;
}

/* Landscape / Deitado Canvas (Formato Paisagem) */
.poster-canvas.format-landscape {
  width: 580px !important;
  height: 380px !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: center !important;
  overflow: hidden !important;
}

.poster-canvas.format-landscape .poster-header {
  width: calc(100% - 24px) !important;
  margin: 6px auto 3px auto !important;
  padding: 4px 18px 3px 18px !important;
  font-size: 30px !important;
  border-radius: 10px !important;
  border: 3px solid #000 !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
  flex-shrink: 0 !important;
}

.poster-canvas.format-landscape .poster-body {
  width: calc(100% - 20px) !important;
  height: 100% !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

.poster-canvas.format-landscape .deitado-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  align-items: center !important;
  width: 100% !important;
  height: 100% !important;
  gap: 10px !important;
  box-sizing: border-box !important;
}

.poster-canvas.format-landscape .deitado-left {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 0 4px 0 10px !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.poster-canvas.format-landscape .poster-title {
  font-size: 34px !important;
  line-height: 0.95 !important;
  text-transform: uppercase !important;
  color: #000000 !important;
  margin-bottom: 2px !important;
  word-break: break-word !important;
  max-width: 100% !important;
}

.poster-canvas.format-landscape .poster-complement {
  font-size: 14px !important;
  font-weight: 900 !important;
  color: #111111 !important;
  margin: 2px 0 3px 0 !important;
  text-transform: uppercase !important;
}

.poster-canvas.format-landscape .poster-image-box {
  max-height: 110px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 2px 0 !important;
}

.poster-canvas.format-landscape .poster-old-price {
  font-size: 14px !important;
  font-weight: bold !important;
  color: #555555 !important;
  text-decoration: line-through !important;
  margin-top: 2px !important;
}

.poster-canvas.format-landscape .deitado-right {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  padding-right: 6px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.poster-canvas.format-landscape .poster-price-row {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  line-height: 0.95 !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.poster-canvas.format-landscape .poster-price-row.price-splash-box {
  padding: 6px 14px !important;
  border-radius: 14px !important;
  width: auto !important;
  max-width: 96% !important;
}

.poster-canvas.format-landscape .currency,
.poster-canvas.format-landscape .poster-body .poster-price-row .currency,
.poster-canvas.format-landscape .poster-body:not(.has-image) .poster-price-row .currency {
  font-size: 26px !important;
  margin-top: 10px !important;
  margin-right: 8px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.poster-canvas.format-landscape .price-whole,
.poster-canvas.format-landscape .poster-body .poster-price-row .price-whole,
.poster-canvas.format-landscape .poster-body:not(.has-image) .poster-price-row .price-whole {
  font-size: 96px !important;
  letter-spacing: -2px !important;
  line-height: 0.95 !important;
  display: inline-block !important;
}

.poster-canvas.format-landscape .cents-unit-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  margin-left: 4px !important;
  margin-top: 8px !important;
  flex-shrink: 0 !important;
}

.poster-canvas.format-landscape .price-cents,
.poster-canvas.format-landscape .cents-unit-col .price-cents,
.poster-canvas.format-landscape .poster-body:not(.has-image) .poster-price-row .price-cents {
  font-size: 42px !important;
  line-height: 0.95 !important;
  font-weight: 900 !important;
}

.poster-canvas.format-landscape .unit-box,
.poster-canvas.format-landscape .cents-unit-col .unit-box {
  font-size: 11px !important;
  padding: 2px 7px !important;
  border-radius: 4px !important;
  margin-top: 8px !important;
  background: #000000 !important;
  color: #FFFFFF !important;
  border: none !important;
}

.poster-canvas.format-landscape .poster-footer {
  padding: 3px 10px !important;
  width: 100% !important;
  gap: 1px !important;
}

.poster-canvas.format-landscape .footer-store-name {
  font-size: 11px !important;
}

.poster-canvas.format-landscape .footer-address {
  font-size: 9px !important;
}

.poster-canvas.format-landscape .footer-disclaimer {
  font-size: 8px !important;
}

/* Gôndola Tags Miniature Grid Preview */
.gondola-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 6px;
  width: 100%;
  height: 100%;
  padding: 8px;
}
.gondola-mini-tag {
  border: 1.5px dashed #444;
  border-radius: 6px;
  padding: 4px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
}
.gmt-header {
  font-size: 8px;
  font-weight: 900;
  color: #D90429;
  text-transform: uppercase;
}
.gmt-title {
  font-size: 11px;
  font-weight: 900;
  color: #000;
  line-height: 1.1;
  text-transform: uppercase;
}
.gmt-price-row {
  display: flex;
  align-items: baseline;
  background: #FFE500;
  padding: 1px 4px;
  border-radius: 4px;
  width: fit-content;
}
.gmt-price {
  font-size: 18px;
  font-weight: 900;
  color: #D90429;
  font-family: 'Boogaloo', sans-serif;
  line-height: 1;
}
.gmt-unit {
  font-size: 8px;
  font-weight: 900;
  background: #000;
  color: #fff;
  padding: 0 3px;
  border-radius: 2px;
  margin-left: 3px;
}

/* PRINT DIRECT STYLES */
@media print {
  @page {
    margin: 5mm;
    size: auto;
  }
  body * {
    visibility: hidden;
  }
  #posterBoardContainer,
  #livePoster,
  #livePoster * {
    visibility: visible;
  }
  #posterBoardContainer {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #livePoster {
    width: 100vw !important;
    height: 100vh !important;
    padding: 6mm 8mm 10mm 8mm !important; /* Margem de segurança de impressão direta */
    box-sizing: border-box !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .poster-header {
    font-size: 60px;
    padding: 25px;
  }
  .poster-title {
    font-size: 70px;
  }
  .poster-price-row .price-whole {
    font-size: 240px;
  }
  .cents-unit-col .price-cents {
    font-size: 120px;
  }
  .poster-price-row .currency {
    font-size: 70px;
  }
  .poster-footer {
    padding: 15px;
    font-size: 16px;
  }
}

/* ===================================================
   6. ENCARTE VIP (AGÊNCIA DE VAREJO / SUPERMERCADO PRO)
   =================================================== */
.poster-canvas.theme-encarte-vip {
  background: radial-gradient(ellipse at 50% 30%, #0d2757 0%, #06152e 60%, #030a17 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  padding: 0 !important;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.poster-canvas.theme-encarte-vip .poster-header,
.poster-canvas.theme-encarte-vip .poster-footer {
  display: none !important;
}

/* 1. TOPO INSTITUCIONAL & MARCA */
.vip-top-brand {
  width: 100%;
  background: linear-gradient(180deg, rgba(3, 15, 34, 0.95) 0%, rgba(6, 21, 46, 0.85) 100%);
  border-bottom: 2px solid rgba(255, 215, 0, 0.4);
  padding: 8px 14px 6px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
}

.vip-brand-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-brand-logo {
  max-height: 28px;
  max-width: 70px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.vip-brand-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border: 1.5px solid #FFFFFF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 13px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  flex-shrink: 0;
}

.vip-brand-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.vip-brand-name {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  color: #FFEA00;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vip-brand-slogan {
  font-size: 9px;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.vip-top-badge-right {
  background: rgba(255, 234, 0, 0.15);
  border: 1px solid #FFEA00;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: 800;
  color: #FFEA00;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* 2. SUPER BANNER 3D RIBBON: OFERTA DO DIA */
.vip-campaign-wrapper {
  position: relative;
  z-index: 15;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 6px;
  margin-bottom: 2px;
}

.vip-campaign-ribbon {
  background: linear-gradient(180deg, #FF2A2A 0%, #D90429 50%, #8B0000 100%);
  border: 2px solid #FFE500;
  border-radius: 999px;
  padding: 4px 18px 3px 18px;
  box-shadow: 
    0 6px 16px rgba(0,0,0,0.5),
    inset 0 2px 4px rgba(255,255,255,0.4),
    inset 0 -2px 4px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-campaign-ribbon .ribbon-txt-white {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vip-campaign-ribbon .ribbon-txt-gold {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  color: #FFEA00;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* 3. HERO STAGE (PALCO PROFISSIONAL COM SPOTLIGHT RADIAL) */
.vip-stage-container {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  overflow: visible !important;
  padding: 4px 10px 0 10px;
  box-sizing: border-box;
}

/* Spotlight Glow central */
.vip-spotlight-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 234, 0, 0.22) 0%, rgba(255, 255, 255, 0.10) 35%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Título e Complemento do Produto no topo do palco */
.vip-product-info-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 96%;
  margin-top: 2px;
}

.vip-product-title-txt {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  line-height: 1.05;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 1px 2px rgba(0,0,0,0.9);
  max-width: 98%;
  word-break: break-word;
}

.vip-product-pill-comp {
  background: #FFEA00;
  color: #000000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
  margin-top: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  border: 1.5px solid #000;
}

/* Palco 3D Iluminado (Podium Elíptico) */
.vip-podium-platform {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 48px;
  background: radial-gradient(ellipse at 50% 30%, #ffd700 0%, #d49b00 45%, #7a5200 85%, #382400 100%);
  border-radius: 50%;
  border: 2px solid #fff59d;
  box-shadow: 
    0 15px 25px rgba(0,0,0,0.7),
    0 0 25px rgba(255,215,0,0.3),
    inset 0 4px 8px rgba(255,255,255,0.6);
  z-index: 2;
}

.vip-podium-shadow {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.75) 0%, transparent 70%);
  z-index: 1;
}

/* Packshot Container do Produto */
.vip-packshot-wrap {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center bottom;
  width: 85%;
  height: 68%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 3;
  pointer-events: none;
  overflow: visible !important;
}

.vip-packshot-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 15px rgba(0,0,0,0.65));
  transform-origin: center bottom;
}

/* STORY FORMAT SPECIFIC FOR VIP */
.poster-canvas.format-story.theme-encarte-vip .vip-stage-container {
  padding: 6px 14px 0 14px;
}

.poster-canvas.format-story.theme-encarte-vip .vip-product-title-txt {
  font-size: 26px;
  line-height: 1.1;
  max-width: 95%;
  margin-top: 4px;
}

.poster-canvas.format-story.theme-encarte-vip .vip-product-pill-comp {
  font-size: 11px;
  padding: 3px 14px;
  margin-top: 6px;
}

.poster-canvas.format-story.theme-encarte-vip .vip-spotlight-glow {
  width: 320px;
  height: 320px;
  top: 50%;
  left: 50%;
}

.poster-canvas.format-story.theme-encarte-vip .vip-podium-platform {
  bottom: 45px;
  width: 290px;
  height: 52px;
}

.poster-canvas.format-story.theme-encarte-vip .vip-podium-shadow {
  bottom: 30px;
  width: 310px;
  height: 26px;
}

.poster-canvas.format-story.theme-encarte-vip .vip-packshot-wrap {
  bottom: 60px;
  width: 88%;
  height: 74%;
  overflow: visible !important;
  transform-origin: center bottom;
}

.poster-canvas.format-story.theme-encarte-vip .vip-price-badge-medal {
  bottom: 30px;
  right: 10px;
  width: 135px;
  height: 135px;
}

/* Selo de Preço Medalha 3D (Supermercado Premium) */
.vip-price-badge-medal {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 125px;
  height: 125px;
  background: radial-gradient(circle at 35% 30%, #FF2A2A 0%, #D90429 55%, #7A0010 100%);
  border: 3.5px solid #FFD700;
  outline: 2px solid #8B6508;
  border-radius: 50%;
  box-shadow: 
    0 10px 24px rgba(0,0,0,0.6),
    inset 0 3px 6px rgba(255,255,255,0.5),
    inset 0 -3px 6px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  text-align: center;
  color: #FFF;
}

.vip-price-old-txt {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  text-decoration: line-through;
  line-height: 1;
  margin-bottom: 1px;
}

.vip-price-por-txt {
  font-family: 'Archivo Black', sans-serif;
  font-size: 8px;
  color: #FFEA00;
  letter-spacing: 0.5px;
  line-height: 1;
  text-transform: uppercase;
}

.vip-price-main-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 0.85;
  margin: 1px 0;
}

.vip-price-cur {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  color: #FFEA00;
  margin-top: 3px;
  margin-right: 1px;
  text-shadow: 0 1px 2px #000;
}

.vip-price-inteiro {
  font-family: 'Archivo Black', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.vip-price-cents-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3px;
  margin-left: 1px;
  line-height: 0.9;
}

.vip-price-centavos {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.vip-price-unit-pill {
  background: #000000;
  color: #FFEA00;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-top: 1px;
}

.vip-badge-discount-tag {
  position: absolute;
  top: -4px;
  left: -4px;
  background: #00C853;
  color: #FFFFFF;
  font-family: 'Archivo Black', sans-serif;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 999px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  transform: rotate(-10deg);
}

/* 4. RODAPÉ DE CONVERSÃO / INFORMAÇÕES */
.vip-footer-card {
  width: 100%;
  background: linear-gradient(180deg, rgba(5, 18, 38, 0.96) 0%, rgba(2, 8, 18, 1) 100%);
  border-top: 2px solid rgba(255, 215, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.vip-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px 12px;
  align-items: center;
}

.vip-zap-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 8px;
  padding: 4px 6px;
}

.vip-zap-icon {
  width: 22px;
  height: 22px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.vip-zap-details {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-align: left;
}

.vip-zap-title {
  font-size: 7px;
  font-weight: 800;
  color: #25D366;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vip-zap-number {
  font-size: 10px;
  font-weight: 900;
  color: #FFFFFF;
  margin-top: 1px;
}

.vip-address-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 234, 0, 0.08);
  border: 1px solid rgba(255, 234, 0, 0.3);
  border-radius: 8px;
  padding: 4px 6px;
  text-align: left;
}

.vip-address-icon {
  width: 22px;
  height: 22px;
  background: #FFD700;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.vip-address-details {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  overflow: hidden;
}

.vip-address-title {
  font-size: 7px;
  font-weight: 800;
  color: #FFD700;
  text-transform: uppercase;
}

.vip-address-street {
  font-size: 9px;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vip-address-neigh {
  font-size: 7px;
  font-weight: 700;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tarja de Cartões e Formas de Pagamento */
.vip-payments-bar {
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vip-payments-lbl {
  font-size: 7px;
  font-weight: 800;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.vip-payments-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.vip-pay-pill {
  font-size: 8px;
  font-weight: 900;
  padding: 1.5px 5px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.vip-pay-pill.card-visa { background: #1a1f71; color: #FFFFFF; }
.vip-pay-pill.card-master { background: #000000; color: #ff5f00; border: 1px solid rgba(255,255,255,0.2); }
.vip-pay-pill.card-elo { background: #000000; color: #ffea00; }
.vip-pay-pill.card-pix { background: #32bcad; color: #FFFFFF; }
.vip-pay-pill.card-vr { background: #00a859; color: #FFFFFF; }
.vip-pay-pill.card-hiper { background: #8c141e; color: #FFFFFF; }

.vip-bottom-disclaimer {
  background: #000000;
  color: #94A3B8;
  font-size: 7px;
  text-align: center;
  padding: 2px 4px;
  letter-spacing: 0.3px;
}



/* VIP 3D REAL BACKGROUND THEMES */
.poster-canvas.theme-encarte-vip {
  background-size: cover !important;
  background-position: center bottom !important;
  background-repeat: no-repeat !important;
}

.poster-canvas.theme-encarte-vip.vip-theme-vermelho {
  background-image: url('/img/vip-bg-vermelho.png') !important;
}

.poster-canvas.theme-encarte-vip.vip-theme-verde {
  background-image: url('/img/vip-bg-verde.jpg') !important;
}

.poster-canvas.theme-encarte-vip.vip-theme-churrasco {
  background-image: url('/img/vip-bg-churrasco.jpg') !important;
}

/* Ribbons for VIP Themes */
.vip-campaign-ribbon.ribbon-green {
  background: linear-gradient(180deg, #22c55e 0%, #15803d 50%, #14532d 100%) !important;
  border-color: #86efac !important;
}

.vip-campaign-ribbon.ribbon-fire {
  background: linear-gradient(180deg, #ea580c 0%, #b91c1c 50%, #7f1d1d 100%) !important;
  border-color: #fed7aa !important;
}

/* Pedestal contact shadow underneath product packshot */
.vip-pedestal-contact-shadow {
  position: absolute;
  bottom: 85px;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 75%);
  z-index: 2;
  pointer-events: none;
}

.poster-canvas.format-story.theme-encarte-vip .vip-pedestal-contact-shadow {
  bottom: 100px;
  width: 290px;
  height: 35px;
}


/* ==========================================================================
   DIRETOR DE ARTE DESIGN SYSTEM - CLEAN & MODERN SAAS STYLES
   ========================================================================== */

:root {
  --art-bg-dark: #070b14;
  --art-card-bg: rgba(15, 23, 42, 0.75);
  --art-card-border: rgba(255, 255, 255, 0.08);
  --art-card-hover-border: rgba(245, 158, 11, 0.4);
  --art-gold-primary: #f59e0b;
  --art-gold-glow: rgba(245, 158, 11, 0.25);
}

/* Smooth custom scrollbars */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

/* Modern Studio Cards */
.art-studio-card {
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  border-radius: 1.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.art-studio-card:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

/* Bento Grid Cards */
.art-bento-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.45) 0%, rgba(15, 23, 42, 0.75) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.art-bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}

.art-bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6), 0 0 25px -5px rgba(245, 158, 11, 0.15);
}

/* Modern inputs */
.art-input {
  background: rgba(8, 13, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  color: #f8fafc;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  transition: all 0.2s ease;
  outline: none;
}

.art-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
  background: rgba(11, 18, 35, 0.95);
}

.art-input::placeholder {
  color: #64748b;
}

/* High Conversion Buttons */
.art-btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #0f172a;
  font-weight: 800;
  border-radius: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.art-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(245, 158, 11, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  filter: brightness(1.06);
}

.art-btn-primary:active {
  transform: translateY(0);
}

.art-btn-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 60%, #059669 100%);
  color: #022c22;
  font-weight: 800;
  border-radius: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
  transition: all 0.25s ease;
}

.art-btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -5px rgba(16, 185, 129, 0.5);
  filter: brightness(1.05);
}

/* Clean Canvas Studio Stage */
.art-studio-stage {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, rgba(10, 15, 29, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) inset;
  position: relative;
}

/* Subtle glow badge */
.art-badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fcd34d;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 0 15px -3px rgba(245, 158, 11, 0.15);
}

/* Soft floating animation */
@keyframes artFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.art-floating {
  animation: artFloat 6s ease-in-out infinite;
}


/* ==========================================================================
   LOVABLE & LINEAR STYLE LUXURY DESIGN SYSTEM
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --bg-space: #05070e;
  --bg-surface: #0a0e1c;
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(245, 158, 11, 0.45);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-space);
  color: #f1f5f9;
  -webkit-font-smoothing: antialiased;
}

/* Clean Smooth Canvas */
.bg-grid-pattern {
  background-image: none !important;
}

.bg-radial-hero {
  background: radial-gradient(circle 800px at 50% -100px, rgba(245, 158, 11, 0.15), transparent 80%),
              radial-gradient(circle 600px at 80% 20%, rgba(16, 185, 129, 0.08), transparent 70%);
}

/* Glass Panels with 1px top highlight */
.luxury-glass {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.7),
    0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
  border-radius: 1.25rem;
}

.luxury-glass:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Luxury Input Fields */
.luxury-input {
  background: rgba(6, 10, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 0.875rem;
  color: #ffffff;
  padding: 0.75rem 1.1rem;
  font-size: 0.875rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}

.luxury-input:focus {
  outline: none;
  border-color: #f59e0b;
  background: rgba(8, 14, 30, 0.95);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2) inset;
}

.luxury-input::placeholder {
  color: #64748b;
}

/* Luxury Buttons */
.luxury-btn-primary {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 60%, #d97706 100%);
  color: #05070e;
  font-weight: 800;
  border-radius: 0.875rem;
  box-shadow: 
    0 10px 25px -5px rgba(245, 158, 11, 0.4),
    0 1px 0 0 rgba(255, 255, 255, 0.4) inset;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.luxury-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 30px -5px rgba(245, 158, 11, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
  filter: brightness(1.05);
}

.luxury-btn-primary:active {
  transform: translateY(0);
}

.luxury-btn-emerald {
  background: linear-gradient(180deg, #34d399 0%, #10b981 60%, #059669 100%);
  color: #022c22;
  font-weight: 800;
  border-radius: 0.875rem;
  box-shadow: 
    0 10px 25px -5px rgba(16, 185, 129, 0.4),
    0 1px 0 0 rgba(255, 255, 255, 0.4) inset;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.luxury-btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 15px 30px -5px rgba(16, 185, 129, 0.55),
    0 1px 0 0 rgba(255, 255, 255, 0.6) inset;
  filter: brightness(1.05);
}

.luxury-btn-emerald:active {
  transform: translateY(0);
}

.luxury-btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #e2e8f0;
  font-weight: 700;
  border-radius: 0.875rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.luxury-btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Studio Easel Canvas Stage */
.studio-easel {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, rgba(5, 7, 14, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8) inset;
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* Floating Action Dock */
.studio-floating-dock {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7);
  border-radius: 1.25rem;
}

/* Model Selector Pills */
.model-card-item {
  border-radius: 1rem !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: rgba(10, 15, 30, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.model-card-item:hover {
  border-color: rgba(245, 158, 11, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.5) !important;
}

.model-card-item.active {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
  box-shadow: 0 0 20px -4px rgba(245, 158, 11, 0.3) !important;
}


/* Visual Model Selector - Premium Dark Preview Cards */
.model-card-item {
  position: relative;
  background: #090d18 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 14px !important;
  padding: 8px !important;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: none;
}
.model-card-item:hover {
  border-color: rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 158, 11, 0.15) !important;
}
.model-card-item.active {
  border-color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.08) !important;
  box-shadow: 0 0 0 1px #f59e0b, 0 0 20px rgba(245, 158, 11, 0.25) !important;
}
.model-card-check {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background: #f59e0b;
  color: #000;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 10;
}
.model-card-item.active .model-card-check {
  display: flex;
}
.model-thumb-preview {
  width: 100%;
  height: 64px;
  background: #0d1222;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4px 3px;
  overflow: hidden;
  margin-bottom: 6px;
  position: relative;
  transition: all 0.2s ease;
}
.model-card-item:hover .model-thumb-preview {
  border-color: rgba(245, 158, 11, 0.3);
  background: #11182c;
}
.model-card-item.active .model-thumb-preview {
  border-color: rgba(245, 158, 11, 0.5);
  background: #131c33;
}
.thumb-tag-ribbon {
  background: #ef4444;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
  width: 90%;
  text-align: center;
  border-radius: 3px;
  letter-spacing: 0.5px;
  padding: 0.5px 0;
  line-height: 1.1;
}
.thumb-title {
  font-size: 7.5px;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  text-transform: uppercase;
}
.thumb-price-splash {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  padding: 1px 5px;
  display: flex;
  align-items: baseline;
}
.thumb-price {
  color: #fbbf24;
  font-size: 13px;
  font-weight: 900;
  font-family: 'Boogaloo', sans-serif;
  line-height: 1;
}
.thumb-subprice {
  font-size: 6.5px;
  color: #94a3b8;
  font-weight: 700;
  line-height: 1;
}
.model-card-label {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  transition: color 0.2s;
  line-height: 1.2;
}
.model-card-item:hover .model-card-label,
.model-card-item.active .model-card-label {
  color: #ffffff;
}

/* Studio Easel & Live Poster Canvas Enhancements */
.studio-easel {
  background: radial-gradient(circle 600px at 50% 40%, rgba(30, 41, 67, 0.45), rgba(7, 11, 22, 0.95)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.8), 0 25px 60px -15px rgba(0, 0, 0, 0.8) !important;
}

.poster-canvas {
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5) !important;
  border-radius: 6px;
}
