.pf-fal-hafez-btn{
  font-family: inherit;
  cursor: pointer;
  border: 0 !important;
  padding: 10px 16px;
  border-radius: 10px;
  line-height: 1;
	background: red !important;
   color: white !important;
}
.pf-fal-hafez .pf-fal-result img{
  display:inline-block;
}

/* Responsive image fix */
.pf-fal-hafez{max-width:100%;}
.pf-fal-hafez .pf-fal-result{max-width:100%; overflow:hidden; text-align:center;}
.pf-fal-hafez .pf-fal-result img{max-width:100% !important; height:auto !important; display:block; margin:0 auto;}

/* === Responsive overrides (v1.0.2) ===
   The upstream style.css sets fixed widths (960px) + negative right offset on .top_leafs.
   These rules make the widget fully responsive inside Elementor.
*/
.pf-fal-hafez{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.pf-fal-hafez #main_container{
  width:100% !important;
  margin:0 auto !important;
  padding:0 16px;
  box-sizing:border-box;
}

.pf-fal-hafez.is-full #main_container{
  max-width:none;
}

/* Header wrapper in the original CSS is fixed-width */
.pf-fal-hafez #header{
  width:100% !important;
  background-size:cover;
  background-position:center top;
}
.pf-fal-hafez.is-full #header{
  max-width:none;
}

/* The decorative leaves were positioned with right:-12px which creates horizontal overflow */
.pf-fal-hafez .top_leafs{
  right:0 !important;
  max-width:35vw;
}
.pf-fal-hafez .top_leafs img{
  max-width:100% !important;
  height:auto !important;
  display:block;
}

/* Make images responsive without forcing small icons to stretch */
.pf-fal-hafez img{
  max-width:100% !important;
  height:auto !important;
}
.pf-fal-hafez .pf-fal-img{
  width:100%;
  max-width:100% !important;
  height:auto !important;
  display:block;
  margin:0 auto;
}

/* Prevent long Persian text from causing overflow */
.pf-fal-hafez h2,
.pf-fal-hafez p{
  overflow-wrap:anywhere;
  word-break:break-word;
}

@media (max-width: 767px){
  .pf-fal-hafez #main_container{
    padding:0 12px;
  }
  /* safest option on small screens: hide decorative leaves */
  .pf-fal-hafez .top_leafs{
    display:none !important;
  }
}

/* Optional full-bleed mode inside boxed containers */
.pf-fal-hafez.is-full{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}


.pf-fal-hafez h2, .pf-fal-hafez p {
    line-height: 1.8em !important;
    text-align: center !important;
}


.pf-fal-hafez h2, .pf-fal-hafez {
    line-height: 1.7em !important;
    text-align: center !important;
}