/* =========================
   General
========================= */

.mobile-only-image { 
    display: none !important;
}

.socialbox{
    display: none !important;
}

.page-id-4694 #content {
    padding-top: 120px !important;
}


/* =========================
   General Responsive
========================= */
@media (max-width: 768px){

    /* حذف المان‌های تزئینی منو */
    #menu-item-5094 .link-txt::before,
    #menu-item-5094 .link-txt::after,
    .link-txt::before,
    .link-txt::after{
        content: none !important;
        display: none !important;
    }
}


/* =========================
   Product Page Responsive
========================= */
@media (max-width: 768px){

    .product-banner{
        background: none !important;
        background-image: none !important;
        background-color: transparent !important;
        height: auto !important;
        min-height: auto !important;
        padding-top: 20px !important;
    }

    .mobile-only-image , .mobile-only-image-home{
        display: block !important;
        margin-bottom: 30px !important;
        width: 100% !important;
    }

    .mobile-only-image img{
        border-radius: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .product-button-row .btn{
        width:100% !important;
        display:block !important;
        text-align:center !important;
    }

    .product-button-row .vc_column-inner{
        padding-left:5px !important;
        padding-right:5px !important;
    }

    .mobile-icon-boxes .vc_column_inner{
        width:100% !important;
        margin-bottom:20px !important;
        text-align:center !important;
    }

    .hide-on-mobile{
        display:none !important;
    }

    .product-discription{
        padding:0 15px !important;
        line-height:1.8 !important;
    }

    .vc_row{
        font-size:12px !important;
    }

    .product-body .vc_empty_space{
        display:none !important;
    }

    .product-section-abutment,
    .product-section-bone-level-analog{
        padding:0 20px !important;
        margin:0 10px !important;
    }

    .product-section-bone-level-analog .ra-heading h3,
    .product-section-bone-level-analog .ra-heading h2,
    .product-section-bone-level-analog .ra-heading-title,
    .product-section-abutment .ra-heading h3,
    .product-section-abutment .ra-heading h2,
    .product-section-abutment .ra-heading-title{
        font-size:20px !important;
        line-height:1.4 !important;
    }

    .product-discription,
    .product-section-bone-level-analog,
    .product-discription blockquote{
        font-size:14px !important;
        line-height:1.9 !important;
        padding:0 5px !important;
    }

    .product-button-row{
        margin-top:20px !important;
    }

    .product-button-row .vc_column_container{
        max-width:50% !important;
    }

    .product-discription h3,
    .section-title-thick h2,
    .section-title-thick2 h2{
        font-size:28px !important;
    }

    .space-box{
        display:none !important;
    }

    .page-id-4694 main#content{
        padding-top:0 !important;
    }

    .catalog-slider , .product-image-detail{
      margin-top: 10% !important;
    }

    
}

.catalog-slider{
  display: none !important;
}
/* =========================
   Footer Responsive
========================= */

footer .license-section{
  max-width: fit-content;
  display: flex !important;
  flex-direction: row;
  gap: 24px;
  margin-right: auto;
  margin-left: auto;  
  
}

footer .license-section div{
  /* background-color: pink !important; */
  max-width: fit-content;
  display: flex !important;
  margin-right: auto;
  margin-left: auto;  
}

footer .license-section .vc_row{
  display: flex !important;
  
}

footer .contact-info-section{
  display: flex !important;
  flex-direction: row;
  justify-content: space-between;
}

footer .contact-info-section div{
  max-width: fit-content;
}


@media (max-width: 768px){

    footer{
        margin-top:32px !important;
        display: flex;
        flex-direction: column;
    }

    footer .contact-info-section{
        display: flex;
        flex-direction: column;
        max-width: fit-content;
        margin-right: auto;
        margin-left: auto;
      
    }

    footer .contact-info-section .icon-box{
      max-width: fit-content;
      margin-right: auto;
      margin-left: auto;
    }

    footer .contact-info-section .icon-box h3{
      font-size: 12px;
    }

    footer .contact-info-section .icon-box i{
      font-size: 24px;
    }

    footer .license-section{
      /* background-color: pink !important; */
      display: flex !important;
      margin-right: auto;
      margin-left: auto;
      max-width: fit-content;
      margin-bottom: 32px;
      margin-left: 0px !important;
    }

    footer .license-section .vc_row{
      max-width: fit-content;   
      
    }


    .license-section .wpb_column{
      display: flex !important;
      flex-direction: row !important;
      max-width: 40% !important;
    }

    footer .place-holder{
      display: none;
    }


}


/* =========================
   Events Page Responsive
========================= */
@media (max-width: 768px){

    .post-5092 .vc_empty_space{
        display:none !important;
    }

    /*.post-5092 .section-title{
        margin-top:24px !important;
    }*/

    #Newsletter button{
        max-width:40% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

    #Newsletter .wysija-paragraph{
        max-width:100% !important;
        padding: 8px 12px !important;
    }

    .events-into{
        margin-bottom:24px !important;
    }

    .post-5092 form{
        gap:24px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .vc_single_image-img {
      margin-bottom: 5%;
    }
}


/* =========================
   Home Page Responsive
========================= */

.home-mobile-hero-img{
  display: none !important;
}

.home-cta-title{
    width:40% !important;
}

#home-hero-row{
    height:100vh;
}

#home-hero-row h4,#home-hero-row h3{
  color: white !important;
  text-align: right !important;

}

#home-hero-row a , #home-hero-row i{
  margin-top: 5% !important;
  color: white !important;

}

#home-hero-row .vc_column-inner {
  display: flex !important;
  flex-direction: column !important;
  right: 0px !important;
}

@media (max-width:768px){
    #home-hero-row{
        background-image:none !important;
        padding:0 0 30px !important;
        height:fit-content !important;
    }

    #home-hero-row .mobile-hide,
    .home-mobile-spacer{
        display:none !important;
    }

    #home-hero-row .vc_column-inner {
      padding: 0px !important;
    }

    .home-hero-row .vc_column-inner,
    .home-hero-row .wpb_wrapper{
        padding:0 !important;
    }

    .home-mobile-hero-img{
        display:block !important;
        width:100vw !important;
        margin:0 calc(50% - 50vw) 20px !important;
    }

    .home-hero-title h3,
    .home-hero-subtitle h4{
        text-align:center !important;
        padding:0 20px;
        line-height:1.4 !important;
        color: rgb(59, 62, 121) !important;
    }

    #home-hero-row h3{
        font-size:24px !important;
        color: rgb(59, 62, 121) !important;
    }

    #home-hero-row h4{
        font-size:16px !important;
        color: rgb(59, 62, 121) !important;
        text-align: center !important;
    }

    #home-hero-row a{
        color: rgb(59, 62, 121) !important;
        font-weight: 400 !important;
    }
  
    #home-hero-row i{
        color: rgb(59, 62, 121) !important;
    }



    .content-box-content{
       margin: 10px 0px !important;
       padding: 12px 8px !important;
   }

    .content-box-content h3{
        font-size: 24px !important;
    }

    .content-box-content li{
        font-size:16px !important;
    }
  
    .content-box-content p{
        font-size:16px !important;
    }

    .page-id-9 .weight-normal{
        font-size: 24px !important;
    }

    .vc_custom_1777405276145 h3{
         font-size: 24px !important;  
    }
  
    .home-cta-title {
         font-size: 24px !important;
         line-height: 1.6 !important;
         width: 100% !important;
         text-align: center;
    }

    h3.home-cta-title {
          font-size: 18px !important;
    }

    figure.col-md-6.no-padding{
        width:100% !important;
        min-height:300px;
        background-size:cover !important;
        background-position:center center !important;
        background-repeat:no-repeat !important;
        display:block;
    }

    .row > .col-md-6 {
        display: flex;
        flex-direction: column;
    }

    /* ستون عکس باید اول نمایش داده شود */
    figure.col-md-6.no-padding {
        order: -1;
    }

    figure.col-md-6.no-padding,
    .content-box-content {
        margin: 0 !important;
        padding: 14px 18px !important;
    }

    .content-box-content p {
        font-size: 14px !important;
        line-height: 1.8;
    }

    .home-products-section p {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px lightgray solid;
    }

  .home-products-section{
    margin-bottom: 10% !important;
  }


}


/* Hero spacing adjustments */
@media (max-width: 768px) {
    .home-mobile-spacer {
        height: 40px !important; /* از 150 به 40 کاهش */
    }

    .vc_empty_space.mobile-hide {
        display: none !important;
    }
}

/* Hero image fix */
@media (max-width: 768px) {
    .home-mobile-hero-img img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}

/* Hero text center + proper spacing */
@media (max-width: 768px) {
    .home-hero-title {
        font-size: 20px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        margin-top: 20px !important;
    }

    .home-hero-subtitle h4 {
        font-size: 15px !important;
        text-align: center !important;
        margin-top: 10px !important;
    }
}

/* CTA button full-width on mobile */
@media (max-width: 768px) {
    .home-hero-btn {
        display: block !important;
        width: 90% !important;
        max-width: 300px !important;
        margin: 20px auto !important;
        text-align: center !important;
        padding: 14px 20px !important;
        border-radius: 8px !important;
    }
}

/* =========================
   MOBILE HERO FIX
========================= */

@media (max-width: 768px){

    /* Hero wrapper */
    .wpb_wrapper {
        text-align: center !important;
    }

    /* Spacer fix */
    .home-mobile-spacer {
        height: 40px !important;
    }

    .mobile-hide {
        display: none !important;
    }

    /* Hero image */
    .home-mobile-hero-img img {
        width: 100% !important;
        max-width: 320px !important;
        height: auto !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Main title */
    h3.home-hero-title {
        font-size: 22px !important;
        line-height: 1.8 !important;
        text-align: center !important;
        color: #ffffff !important;
        margin-top: 20px !important;
        padding: 0 20px !important;
    }

    /* Subtitle */
    .home-hero-subtitle h4 {
        font-size: 16px !important;
        line-height: 1.6 !important;
        text-align: center !important;
        color: #3b3e79 !important;
        padding: 0 20px !important;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

    /* CTA button */
    .home-hero-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 90% !important;
        max-width: 320px !important;

        margin: 24px auto !important;
        padding: 14px 18px !important;

        border-radius: 10px !important;

        text-align: center !important;
    }

    /* Button icon spacing */
    .home-hero-btn i {
        margin-right: 8px !important;
        margin-left: 0 !important;
    }
}



/* =========================
   Contact Page Responsive
========================= */

@media (max-width:768px){

    #post-4137 h2{
        margin-top:10% !important;
    }



    /* ردیف اطلاعات تماس */
    .info-area{
        display:flex !important;
        flex-direction:column !important;
    }

    /* ستون آیکون‌ها */
    .info-area .vc_col-sm-3{
        order:-1;
        width:100% !important;
        text-align:center !important;
        margin-bottom:20px !important;
    }

    /* آیکون‌ها کنار هم */
    .info-area .vc_col-sm-3 .wpb_wrapper{
        display:flex !important;
        justify-content:center !important;
        align-items:center !important;
        flex-direction:row !important;
        gap:15px !important;
        margin-top:5% !important;
    }

    /* حذف فاصله اضافی آیکون‌ها */
    .info-area .vc_col-sm-3 .wpb_single_image{
        margin:0 !important;
    }

    /* حذف spacer ها */
    .info-area .vc_empty_space{
        display:none !important;
    }

    /* ستون متن */
    .info-area .vc_col-sm-9{
        width:100% !important;
        text-align:center !important;
    }

    /* متن آدرس و تماس */
    .info-area p{
        font-size:14px !important;
        line-height:2 !important;
        padding:0 15px !important;
    }

}

.mobile-only-image-home{
  display: none;
}

@media (max-width:768px){
  .mobile-only-image-home{
    display:block !important;
  }
}

.social-icon-row{
  display: flex;
  justify-content: center; /* وسط‌چین افقی */
  align-items: center;
  gap: 12px; /* فاصله بین آیکن‌ها */
  max-width: fit-content;
  margin-right: auto;
  margin-left: auto;
}

.social-icon-row div{
  max-width: fit-content;
  
}

@media (max-width:768px){
    .social-icon-row .vc_single_image-img {
    margin-top: 16px;
    margin-bottom: 16px;
  }
}

.social-icon-row .vc_single_image-img{
  height: 40px !important;
  width: 40px !important;
}
 
}

.megamenu .nav-item-children{
  left: 30% !important; 
}

@media (max-width:768px){
  .megamenu .nav-item-children{
  left: 0% !important; 
    
}
}

@media (max-width:768px){
  .comments-area{
    margin-right: 5%;
    margin-left: 5%;
  }

  .comments-area form{
    display: flex;
    flex-direction: column-reverse;
  }
  .comments-area .submit{
    margin-right: auto;
    margin-left: auto;
  }

  
}



.comments-area form{
  direction: rtl;
  display: grid !important;
  grid-template-columns: 1fr;
  
  
}

.comments-area form textarea{
  margin-right: 2%;
}


@media (max-width: 768px){
  .about-use-paragraph{
    margin-bottom: 25%;
  }
}


.comment-form-url{
  display: none !important;
}

.comment-form-comment { order: 3; }
.comment-form-author { order: 1; }
.comment-form-email { order: 2; }
.form-submit { order: 4; }




