/* 3. RENDU DE L'AFFICHE
   Design graphique, Mise en page, Thèmes, Impression
*/

/* ==========================================================================
   STRUCTURE DE BASE (FORMATS, POLICES)
   ========================================================================== */
.A5, .A4 {
  width: 148mm;
  height: 210mm;
}

#affiche.landscape {
  width: 210mm;
  height: 148mm;
}

#affiche {
  width: 148mm;
  height: 210mm;
  background: white;
  position: relative;
  overflow: hidden;
  border: 0.1em solid; 
  border-radius: 15px;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: center center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  font-size: 10pt;
}

/* --- Éléments Communs Végétal --- */
.latin-name {
  font-family: 'Montserrat', sans-serif;
  background: #333333;
  color: white;
  padding: 0.3em 0.6em;
  text-align: center;
  width: 100%;
  font-size: 1.7em;
  height: 1.9em;
}

.common-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2.8em;
  text-align: center;
  line-height: 1;
  min-height: 1.5em;
  word-break: break-word;
  color: #333333;
  display: flex;
  padding: 0 0.5em;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.affiche:not(.non-vegetal) .common-name {
  height: 3em;
}

.image-wrapper {
  width: 100%;
  height: 70mm;
  position: relative;
  overflow: hidden;
  flex-grow: 1; 
  display: block;
}

.plant-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.style-logo {
  position: absolute;
  top: 1.5em;
  width: 7em;
  border-radius: 5px;
  z-index: 10;
  opacity: 1;
}

.style-1 .style-logo { left: 1.5em; right: auto; }
.style-2 .style-logo { right: 1.5em; left: auto; }

.style-logo-filigrane {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 20em;
  z-index: 1;
  opacity: 0.2;
  border-radius: 5px;
}

/* ==========================================================================
   TYPE "CONSEIL - DÉTAIL" (GRILLE INFOS)
   ========================================================================== */
.type-conseil #infoGrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 0.5em;
  grid-gap: 0.3em;
  flex-shrink: 0;
}

.type-conseil .info-item {
  display: flex;
  padding: 0.2em;
  gap: 0.05em;
  flex-direction: column;
  background-color: rgba(0,0,0,0.01);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.type-conseil .info-icon {
  width: 2.2em;
  height: 2.2em;
}

.info-details {
  display: flex;
  flex: 1;
  justify-content: flex-start;
  flex-direction: row;
  text-align: center;
}

.info-header hr {
  line-height: 0.5em;
  color: #386641;
  font-weight: 1000;
  margin: 0 0 0 0.5em;
  height: 4px;
  border: 0;
  background-color: #386641;
}

.info-header {
  margin-bottom: 0em;
  align-content: center;
}

.info-header img { display: none; }

.info-header span {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1em;
  color: #386641;
  margin-left: 0.5em;
}

.info-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9em;
  line-height: 1.3;
  flex-grow: 1;
  padding: 0 0.5em 0.2em 0.5em;
}

.type-prix .poster-grid-icones, .type-promo .poster-grid-icones {
  flex-grow: 0;
  height: auto;
  padding-bottom: 0.3em;
  padding-top: 0.3em;
  row-gap: 0.5em;
}

.type-prix .icon-item {
  width: 4.9em;
  height: 4.9em;
  padding: 0.3em;
}

.type-prix .icon-item-img {
  width: 3em;
  height: 3em;
  margin-bottom: 0.3em;
}

.type-prix .icon-item-text {
  font-size: 0.55em;
}

.type-promo .icon-item {
  width: 4.9em;
  height: 4.9em;
  padding: 0.3em;
}

.type-promo .icon-item-img {
  width: 3em;
  height: 3em;
  margin-bottom: 0.3em;
}

.type-promo .icon-item-text {
  font-size: 0.55em;
}

/* ==========================================================================
   TYPE "CONSEIL - ICÔNES" (GRILLE ICÔNES)
   ========================================================================== */
.resume-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1em;
  text-align: center;
  line-height: 1.3;
  color: #4a4a4a;
  margin: 1em 1em 0em 1em;
  padding: 0.8em;
  border-width: 1px;
  border-style: solid;
  border-radius: 12px;
  box-sizing: border-box;
}

.poster-grid-icones {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 1.2em;
  padding: 1.5em 1em 1.5em 1em;
  width: 100%;
  box-sizing: border-box;
  flex-grow: 1;
  align-content: center;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  text-align: center;
}

.icon-item-img {
  object-fit: contain;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
}

.icon-item-text {
  line-height: 1.3;
  color: #374151;
  margin: 0;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* --- Tailles dynamiques des icônes --- */
.type-conseil .grid-size-xsmall .icon-item {
  width: 6.5em;
  height: 6.5em;
  padding: 0.35em;
}
.type-conseil .grid-size-xsmall .icon-item-img {
  width: 4.5em;
  height: 4.5em;
  margin-bottom: 0.4em;
}
.type-conseil .grid-size-xsmall .icon-item-text {
  font-size: 0.7em;
}

.type-conseil .grid-size-small .icon-item {
  width: 7em;
  height: 7em;
  padding: 0.5em;
}
.type-conseil .grid-size-small .icon-item-img {
  width: 5em;
  height: 5em;
  margin-bottom: 0.5em;
}
.type-conseil .grid-size-small .icon-item-text {
  font-size: 0.8em;
}

.type-conseil .grid-size-medium .icon-item {
  width: 7.5em;
  height: 7.5em;
  padding: 0.5em;
}
.type-conseil .grid-size-medium .icon-item-img {
  width: 5.3em;
  height: 5.5em;
  margin-bottom: 0.55em;
}
.type-conseil .grid-size-medium .icon-item-text {
  font-size: 0.85em;
}

.type-conseil .grid-size-large .icon-item {
  width: 10em;
  height: 10em;
  padding: 1em;
}
.type-conseil .grid-size-large .icon-item-img {
  width: 8em;
  height: 8em;
  margin-bottom: 0.6em;
}
.type-conseil .grid-size-large .icon-item-text {
  font-size: 1em;
}

/* ==========================================================================
   TYPE "PRIX"
   ========================================================================== */
.type-prix #infoGrid {
  flex-grow: 0;
  height: auto;
}

.price-section {
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
}

.plant-size {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2em;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  width: 90%;
  color: #333333;
}

.product-info {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.2em;
  text-align: center;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5em;
  margin-bottom: 0.5em;
  width: 90%;
  line-height: 1.2;
}

.product-info-condensed {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.6em;
  text-align: center;
  margin-top: 0.5em;
  color: #4a4a4a;
}

.product-info-complementaire {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 2.0em;
  text-align: center;
  margin-top: 0.2em;
  line-height: 1.2;
  padding: 0 1em;
  opacity: 0.9;
  word-break: break-word;
}

.plant-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  text-align: center;
  line-height: 1;
  font-size: 7em;
  color: #333333;
}

.promo-offert-main {
  color: #D75000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.prix-harmonise-int {
  font-size: 1em;
  line-height: 0.7em;
}

.prix-harmonise-cents {
  font-size: 0.9em;
  margin-left: 0.1em;
  vertical-align: 0.2em;
  position: relative;
}

.type-promo .prix-harmonise-int {
  font-size: 1.4em;
  line-height: 0.8em;	
}
.type-promo .prix-harmonise-cents {
  font-size: 1em;
  line-height: 0.8em;	
}
.type-promo:not(.non-vegetal) .prix-harmonise-int {
  font-size: 1.4em;
  line-height: 0.8em;	
}
.type-promo:not(.non-vegetal) .prix-harmonise-cents {
  font-size: 1em;
  line-height: 0.8em;	
}
.type-prix .prix-harmonise-int {
  font-size: 0.8em;
  line-height: 0.8em;	
}
.type-prix .prix-harmonise-cents {
  font-size: 0.6em;
  line-height: 0.8em;	
}
.type-prix:not(.non-vegetal) .prix-harmonise-int {
  font-size: 1.4em;
  line-height: 0.8em;	
}
.type-prix:not(.non-vegetal) .prix-harmonise-cents {
  font-size: 1em;
  line-height: 0.8em;	
}

.type-prix.non-vegetal .plant-price {
  font-size: 11em;
}

.price-per-unit {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 2.2em;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.1;
  color: #4a4a4a;
}

.type-prix.non-vegetal .common-name {
  font-size: 3.5em;
  margin: 0.5em;
  padding-top: 0.5em;
  color: #333333;
}

.type-prix.non-vegetal .price-section {
  padding-top: 0.5em;
  padding-bottom: 2em;
}


/* ==========================================================================
   TYPE "PROMO"
   ========================================================================== */
.type-promo {
  font-family: 'Poppins', sans-serif;
}

.type-promo #infoGrid {
  flex-grow: 0;
  height: auto;
  padding-bottom: 0;
}

.promo-section {
  position: relative;
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1em;
  text-align: center;
  line-height: 1.2;
  border-top-width: 0.5em;
  border-top-style: solid;
}

/* --- Styles de Promo (Végétal) --- */
.style-1 .promo-section {
  background: #FFFFFF;
  color: #333333;
  border-color: #D75000 !important;
}


.style-1 .type-promo:not(.non-vegetal) .promo-price-main .prix-harmonise-int, 
.style-1 .type-promo:not(.non-vegetal) .promo-price-main .prix-harmonise-cents, 
.style-1 .type-promo:not(.non-vegetal) .promo-price-new .prix-harmonise-int, 
.style-1 .type-promo:not(.non-vegetal) .promo-price-new .prix-harmonise-cents, 
.style-1 .promo-offert-main {
  color: #D75000;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.style-1 .type-promo:not(.non-vegetal) .promo-price-old, 
.style-1 .type-promo:not(.non-vegetal) .promo-disclaimer, 
.style-1 .type-promo:not(.non-vegetal) .promo-price-sub, 
.style-1 .type-promo:not(.non-vegetal) .promo-unit-price, 
.style-1 .type-promo:not(.non-vegetal) .promo-size {
  color: #333;
  opacity: 0.9;
}

.style-2 .promo-section {
  background: #FFFFFF;
  color: #333333;
  border-color: #D75000 !important;
}


.style-2 .type-promo:not(.non-vegetal) .promo-price-main .prix-harmonise-int, 
.style-2 .type-promo:not(.non-vegetal) .promo-price-main .prix-harmonise-cents, 
.style-2 .type-promo:not(.non-vegetal) .promo-price-new .prix-harmonise-int, 
.style-2 .type-promo:not(.non-vegetal) .promo-price-new .prix-harmonise-cents, 
.style-2 .promo-offert-main {
  color: #D75000;
}

.style-2 .type-promo:not(.non-vegetal) .promo-price-old, 
.style-2 .type-promo:not(.non-vegetal) .promo-disclaimer, 
.style-2 .type-promo:not(.non-vegetal) .promo-price-sub, 
.style-2 .type-promo:not(.non-vegetal) .promo-unit-price, 
.style-2 .type-promo:not(.non-vegetal) .promo-size {
  color: #333333;
  opacity: 0.9;
}

/* --- Styles de Promo (Non-Végétal) --- */
.style-1 .type-promo .promo-section {
  border-top: none;
  border: 0.25em dashed #D75000;
  border-radius: 15px;
}


.style-1 .type-promo .prix-harmonise-int, 
.style-1 .type-promo .prix-harmonise-cents {
  color: #D75000;
}

.style-2 .type-promo .promo-section {
  border-top: none;
  border: 0.25em dashed #386641;
  border-radius: 15px;
}


.style-2 .type-promo .prix-harmonise-int, 
.style-2 .type-promo .prix-harmonise-cents {
  color: #D75000;
}

/* --- Éléments de Promo Communs --- */
.type-promo.non-vegetal .common-name {
  font-size: 3.2em;
  margin: 0 0.5em;
  padding-top: 0em;
}

.type-promo.non-vegetal .promo-section {
  margin-top: 1em;
  padding-top: 3em;
  justify-content: center;
  padding-bottom: 2em;
}

.type-promo.non-vegetal .promo-title { font-size: 3em; }
.type-promo.non-vegetal .promo-offert-main { font-size: 3.5em; }
.type-promo.non-vegetal .promo-offert-main span { font-size: 1.5em; }
.type-promo.non-vegetal .promo-remise-percent { font-size: 8em; }
.type-promo.non-vegetal .promo-price-old { font-size: 4em; }
.type-promo.non-vegetal .promo-price-new { font-size: 6em; }
.type-promo.non-vegetal .promo-lot-details { font-size: 5em; }
.type-promo.non-vegetal .promo-price-main { font-size: 6em; }

.promo-title {
  font-weight: 900;
  font-size: 2.5em;
  text-transform: uppercase;
  padding: 0.1em 0.3em;
  border-radius: 5px;
	position: absolute;
	top:10px;
	margin:auto;
	  background-color: #D75000;
	color:white;
}

.vegetal-content .promo-title { margin-top: 0em; }
.non-vegetal-content .promo-title { margin-top: 0.5em; }

.promo-size {
  font-weight: 600;
  font-size: 1.8em;
  margin: 2.2em 0 0.5em 0;
  word-break: break-word;
}

.promo-unit-price {
  font-weight: 400;
  font-size: 2em;
  margin-bottom: 0.33em;
}

.promo-price-main {
  font-weight: 900;
  font-size: 6em;
  margin: 0.1em 0;
}

.promo-price-new {
  font-size: 5em;
  font-weight: 900;
  line-height: 1;
}

.promo-price-sub {
  font-weight: 400;
  font-size: 1em;
}

.promo-remise-percent {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 7em;
  line-height: 1;
  margin: 0.3em 0 0 0;
}

.promo-remise-details {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2em;
  margin: 0.2em 0;
  position: relative;
  right: 3em;
}

.non-vegetal .promo-remise-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
  margin: 0 0;
  right: 0;
}

.promo-price-old {
  font-size: 2em !important;
  font-weight: 200;
  color: #373737;
  text-decoration: line-through;
  line-height: 1;
}

.promo-disclaimer {
  font-size: 1em;
  margin-top: 1em;
  color: #555;
}

.promo-lot-details {
  font-size: 4.5em;
  font-weight: 600;
  color: #333333;
  padding: 0.1em 0.3em;
  border-radius: 5px;
}

.promo-lot-details span {
  font-size: 2.5em;
  font-weight: 800;
  vertical-align: middle;
}

.promo-offert-main {
  font-size: 3em;
  font-weight: 800;
  line-height: 1.1;
}

.promo-offert-main span {
  font-size: 1.8em;
  font-weight: 900;
  vertical-align: middle;
}

.promo-offert-main sup {
  font-size: 0.5em;
  font-weight: 600;
  vertical-align: top;
  top: 0.6em;
  position: relative;
}

.nsup { font-size: 4em; }

/* ==========================================================================
   TYPE "NON VÉGÉTAL" (TEXTE)
   ========================================================================== */
.type-non-vegetal { padding: 0; }

.non-vegetal-header {
  width: 100%;
  padding: 1em;
  text-align: center;
  position: relative;
}

.affiche.landscape .non-vegetal-header { padding: 0.5em; }

.style-logo-nv {
  height: 6em;
  width: auto;
  filter: brightness(0) invert(1);
}

.affiche.landscape .style-logo-nv { height: 4em; }

.vegetal-content {
  flex-grow: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1em;
  flex-direction: column;
}

.non-vegetal-content {
  flex-grow: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  flex-direction: column;
}

.affiche.landscape .non-vegetal-content {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.promo-remise-globale-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.8em;
  text-align: center;
  margin-top: 0.5em;
  line-height: 1.2;
  padding: 0 1em;
  word-break: break-word;
}

.simpletexte {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 4em;
  text-align: center;
  line-height: 1.2;
}

.non-vegetal-content.landscape .simpletexte { font-size: 3.5em; }
.A4 .non-vegetal-content.landscape .simpletexte { font-size: 3.5em; }

.non-vegetal-content .advanced-text-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  text-align: left;
  font-size: 1.8em;
  line-height: 1.3;
  font-family: 'Open Sans', sans-serif;
  padding: 0.5em;
  word-break: break-word;
}

.tox.tox-tinymce { height: 350px !important; }

.advanced-text-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5em;
  font-weight: 700;
}

.advanced-text-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.0em;
  font-weight: 700;
}

.advanced-text-content p { font-size: 1em; }

/* Styles pour l'affiche HORAIRES */
.horaires-container {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.5em;
}

.horaires-titre {
  font-size: 3.5em;
  font-weight: 800;
  text-align: center;
  line-height: 1.1;
  border-bottom: 0.1em solid #333;
  padding-bottom: 0.3em;
}

.landscape .horaires-titre {
  font-size: 2.5em;
  font-weight: 800;
  line-height: 0.8;
  border-bottom: 0.05em solid #333;
  padding-bottom: 0.15em;
}

.horaires-ligne {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 2.2em;
  line-height: 1.2;
}

.horaires-jours {
  font-weight: 600;
  text-align: center;
  flex: 1;
  margin-top: 0.5em;
}
.landscape .horaires-jours {
  margin-top: 0.2em;
  font-size: 0.8em;
}

.horaires-heures {
  font-weight: 800;
  text-align: center;
  flex: 1;
  margin: 0.5em;
  font-size: 1.8em;
  color: #386641;
}
.landscape .horaires-heures {
  font-weight: 800;
  margin: 0.3em;
  font-size: 1em;
}

.horaires-exceptionnel {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  line-height: 1.2;
}

.horaires-ex-titre {
  font-size: 3em;
  font-weight: 600;
  margin-bottom: 0em;
}
.landscape .horaires-ex-titre {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 0.3em;
}

.horaires-ex-jour {
  font-size: 5em;
  font-weight: 900;
  margin: 0.3em;
}
.landscape .horaires-ex-jour {
  font-size: 3.5em;
  font-weight: 800;
  margin: 0em;
}

.horaires-ex-jour.ferme { color: #D75000; }
.horaires-ex-jour.ouvert { color: #386641; }

.horaires-ex-sub {
  font-size: 2.5em;
  font-weight: 600;
  margin-top: 1em;
}
.landscape .horaires-ex-sub {
  font-size: 2em;
  font-weight: 600;
  margin-top: 0.5em;
}

.tox-tinymce {
  border-radius: 8px !important;
  border: 1px solid #ccc !important;
  margin-top: 5px;
}

/* ==========================================================================
   THÈMES (COULEURS SPÉCIFIQUES AUX STYLES)
   ========================================================================== */
/* --- THÈME 1 : LCV --- */
.style-1 #affiche { border-color: #003a19; }
.style-1 .latin-name { background: #003a19; }
.style-1 .common-name { color: #333333; }
.style-1 .info-header span { color: #386641; }
.style-1 .non-vegetal-header { background: #003a19; }
.style-1 .plant-price { color: #D75000; }
.style-1 .price-per-unit { color: #4a4a4a; }
.style-1 .product-info { color: #333333; }
.style-1 .product-info-complementaire { color: #4a4a4a; }

/* --- THÈME 2 : GARDEN --- */
.style-2 #affiche { border-color: #386641; }
.style-2 .latin-name { background: #386641; }
.style-2 .common-name { color: #333333; }
.style-2 .info-header span { color: #386641; }
.style-2 .non-vegetal-header { background: #386641; }
.style-2 .plant-price { color: #386641; }
.style-2 .price-per-unit { color: #4a4a4a; }
.style-2 .product-info { color: #333333; }
.style-2 .product-info-complementaire { color: #4a4a4a; }

/* ==========================================================================
   AFFICHE : CLASSES DE TAILLE DE POLICE DYNAMIQUES
   ========================================================================== */
.plant-size.font-small { font-size: 1.6em !important; }
.plant-size.font-medium { font-size: 2.0em !important; }
.plant-size.font-large { font-size: 2.4em !important; }

.common-name.font-small { font-size: 3.0em !important; }
.common-name.font-medium { font-size: 3.5em !important; }
.common-name.font-large { font-size: 4.0em !important; }

.product-info-complementaire.font-small { font-size: 1.6em !important; }
.product-info-complementaire.font-medium { font-size: 2.0em !important; }
.product-info-complementaire.font-large { font-size: 2.4em !important; }

.product-info.font-small { font-size: 1.8em !important; }
.product-info.font-medium { font-size: 2.2em !important; }
.product-info.font-large { font-size: 2.6em !important; }

.simpletexte.font-small { font-size: 3.0em !important; }
.simpletexte.font-medium { font-size: 4.0em !important; }
.simpletexte.font-large { font-size: 5.0em !important; }

.non-vegetal-content.landscape .simpletexte.font-small { font-size: 2.5em !important; }
.non-vegetal-content.landscape .simpletexte.font-medium { font-size: 3.5em !important; }
.non-vegetal-content.landscape .simpletexte.font-large { font-size: 4.5em !important; }

.promo-size.font-small { font-size: 1.4em !important; }
.promo-size.font-medium { font-size: 1.8em !important; }
.promo-size.font-large { font-size: 2.2em !important; }

/* ==========================================================================
   IMPRESSION
   ========================================================================== */
@media print {
  /* 1. Masque l'interface */
  #loginModal, .config-panel, .input-panel, #pdfBtnGroup, .modal-overlay {
    display: none !important;
    visibility: hidden !important;
  }
  /* 2. Réinitialise le layout */
  body, .container, .main-content, .preview-wrapper, .printContainer, .preview-area {
    background: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }
  /* 3. Affiche l'affiche */
  #affiche, #affiche * {
    visibility: visible !important;
    print-color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  /* 4. Positionne l'affiche */
  #affiche {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    border-width: 0.2em !important;
    border-style: solid !important;
    border-radius: 15px;
  }
  /* 5. Force les couleurs des thèmes (bordures, fonds) */
  .style-1 #affiche { border-color: #003a19 !important; }
  .style-2 #affiche { border-color: #386641 !important; }
  .style-1 .latin-name { background: #003a19 !important; }
  .style-2 .latin-name { background: #386641 !important; }
  .style-1 .non-vegetal-header { background: #003a19 !important; }
  .style-2 .non-vegetal-header { background: #386641 !important; }
  .info-item { border: 1px solid rgba(0, 0, 0, 0.15) !important; }
  .icon-item { border: 1px solid rgba(0, 0, 0, 0.15) !important; }
  
  /* 6. Définit la taille de la page */
  @page { margin: 0; }
  
  /* 7. Force les dimensions physiques */
  #affiche.A5 { width: 148mm !important; height: 210mm !important; }
  #affiche.A4 { width: 210mm !important; height: 297mm !important; }
  #affiche.A5.landscape { width: 210mm !important; height: 148mm !important; }
  #affiche.A4.landscape { width: 297mm !important; height: 210mm !important; }