/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

 /* =====================================
   فونت اصلی سایت: Peyda
===================================== */

@font-face {
    font-family: "Estedad";
    src: url("assets/fonts/Estedad-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("assets/fonts/Estedad-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("assets/fonts/Estedad-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Estedad";
    src: url("assets/fonts/Estedad-Black.woff2") format("woff2");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* فونت سراسری سایت */
html,
body,
body button,
body input,
body textarea,
body select,
body .elementor,
body .elementor *,
body .site,
body .site *,
body .e-con,
body .e-con *,
body .dialog-widget,
body .dialog-widget * {
    font-family: "Estedad", Tahoma, Arial, sans-serif !important;
}




 /* فاصله و تورفتگی پاسخ به دیدگاه‌ها */
.comment-list .children {
    list-style: none;
    margin-top: 1.25rem;
    margin-right: 2.5rem;
    padding: 0;
}

.comment-list .children .children {
    margin-right: 1.5rem;
}

@media (max-width: 640px) {
    .comment-list .children {
        margin-right: 1rem;
    }
}





/* استایل لینک پاسخ دیدگاه */
.evo-comment-reply a {
    color: #5546c7 !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.evo-comment-reply a:hover {
    color: #30258c !important;
}


/*وبلاگ*/

  .custom-pagination .page-numbers {
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s;
  }
  .custom-pagination .page-numbers.current {
    background-color: #4f46e5; /* رنگ برند */
    color: #ffffff;
    border-color: #4f46e5;
  }
  .custom-pagination .page-numbers:hover:not(.current) {
    border-color: #a5b4fc;
    color: #4f46e5;
  }


  /* استایل دکمه "مشاهده سبد خرید" ووکامرس */
.woocommerce-message a.button {
    background-color: #4b47c2 !important; /* رنگ برند شما */
    color: #ffffff !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 8px !important; /* گوشه‌های گرد */
    font-weight: bold !important;
    text-decoration: none !important;
    margin-left: 10px !important; /* فاصله از پیام */
    display: inline-block !important; /* اطمینان از نمایش صحیح */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.woocommerce-message a.button:hover {
    background-color: #3a379a !important; /* رنگ تیره‌تر برای هاور */
    box-shadow: 0 4px 15px rgba(75, 71, 194, 0.25) !important;
}

/* استایل خود پیام ووکامرس برای برجسته‌تر شدن */
.woocommerce-message {
    background-color: #e0e0ff !important; /* پس‌زمینه ملایم */
    border-left: 5px solid #4b47c2 !important; /* خط کناری همرنگ برند */
    padding: 15px !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important; /* برای اینکه دکمه در سمت راست قرار بگیرد */
}

/* استایل آیکون سبد خرید در پیام */
.woocommerce-message::before {
    content: ''; /* لازم نیست آیکون اینجا باشد چون در خود لینک هست */
    display: none;
}

/* اگر پیام در یک div دیگر قرار گرفته باشد */
.entry-content .woocommerce-message {
    margin-top: 20px;
    margin-bottom: 20px;
}
