/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Version: 1.0.0
*/

/* استایل‌های اختصاصی تو از اینجا شروع می‌شه */

/* لیستینگ محصول main */
.woocommerce .elementor-950 .elementor-element.elementor-element-dd38792 .price {
    color: var(--e-global-color-primary);
    font-family: "iranyekan-fa", Sans-serif;
    
    font-weight: 400;
    line-height: 2.2em;
    margin: 0px;
}

/* لیستینگ محصول محصولات مشابه main */

.woocommerce .elementor-140 .elementor-element.elementor-element-2d7fa0a .price {
    color: var(--e-global-color-primary);
    font-family: "iranyekan-fa", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 2.2em;
    margin: 0px;
}







/* 🎨  استایل‌های اختصاصی برای ویجت گالری محصول در قالب محصول تکی*/
.product-gallery-widget .woocommerce-product-gallery__trigger {
  display: none;
}

.product-gallery-widget .woocommerce-product-gallery {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}


/*مشخص کننده دسته بندی در قالب صفحه محصول تتکی*/

.product-category-list a{
color: #FFFFFF;
}
.sharaiet a:hover{
color: #F3601A;
}

/*ویژگی های کوتاه محصول در قالب صفحه تکی محصول*/
.product-features-list ul{
    
    padding-inline-start: 0px;
    list-style-position: inside;
}


/* ============================
   استایل فرم افزودن به سبد خرید
   مخصوص محصولات متغیر ووکامرس
============================ */

/* حذف پدینگ و مارجین اضافی از جدول ویژگی‌ها */
.variations th.label,
.variations td.value,
.variations select,
.variations .reset_variations {
    padding: 0 !important;
    margin: 0 !important;
}

/* قرار دادن ردیف ویژگی‌ها به صورت افقی */
.variations tr {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* استایل عنوان ویژگی (مثلاً سایز گوشواره) */
.variations th.label {
    font-size: 16px !important;
    color: #F3601A !important;
    background-color: #141414 !important;
    padding: 5px 10px !important;
    border-radius: 5px;
    white-space: nowrap;
    align-self: flex-start;
}

/* استایل فیلد انتخاب (select) */
.variations select {
    background-color: #232323 !important;
    color: #ffffff !important;
   
    padding: 7px !important;
    border: 1px solid #F3601A !important;
    border-radius: 5px;
    margin-top: 5px !important;
 

}


/* استایل گزینه‌های داخل Dropdown */
.variations select option {
    background-color: #141414 !important;
    color: #ffffff !important;
    border-radius: 8px;
}

/* استایل ردیف‌های فرد جدول */
table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: #141414 !important;
}

/* نمایش قیمت در هنگام انتخاب ویژگی */
.woocommerce-variation-price {
    text-align: end;
    padding-bottom: 10px;
}

.woocommerce-variation-price bdi {
    color: #F42D1B !important;
    font-size: 16px !important;
    font-family: 'iranyekan-fa' !important;
    padding: 10px;
}

/* تنظیم پهنای ستون مقدار */
td.value {
    width: -webkit-fill-available;
}

/* استایل دکمه بازنشانی انتخاب ویژگی‌ها */
.woocommerce div.product form.cart .reset_variations {
    font-size: 12px !important;
    font-family: 'iranyekan-fa' !important;
    color: #ffffff !important;
}
















/* ============================
   استایل‌های عمومی سایت
============================ */

/* لینک‌ها داخل توضیح کوتاه محصول */
.description-text a {
    color: #F3601A;
}

/* تیترهای داخل توضیح کوتاه محصول */
.description-text h2,
.description-text h3 {
    color: #F3601A;
    font-size: 18px;
    font-weight: 400;
}

/* مخفی کردن پیام ووکامرس */
.woocommerce-message {
    display: none;
}


/* ============================
   بخش نظرات کاربران
============================ */

/* لیست نظرات */
.commentlist {
    padding: 0;
    margin: 0;
    list-style: none;
}

.commentlist li {
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commentlist li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* مشخصات نویسنده */
.comment-author {
    font-weight: bold;
    color: #F3601A;
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
}

.comment-meta {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 10px;
}

.comment-content {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.7;
}

/* دکمه پاسخ به نظر */
.comment-reply-link {
    color: #F3601A;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
}

.comment-reply-link:hover {
    color: #ff6d2d;
}


/* ============================
   فرم ارسال نظر
============================ */

.comment-form {
    background: #1e1e1e;
    padding: 25px;
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"] {
    background: #121212;
    border: 1px solid #333;
    color: #fff;
    padding: 12px 15px;
    border-radius: 10px;
    width: 100%;
    margin-bottom: 20px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.comment-form textarea:focus,
.comment-form input:focus {
    border-color: #F3601A;
    outline: none;
}

.comment-form .form-submit input {
    background: #F3601A;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

.comment-form .form-submit input:hover {
    background: #d94e0a;
}


/* ============================
   ستاره و امتیاز
============================ */

.stars span,
.stars span a {
    color: #F3601A !important;
    font-size: 18px;
}

.star-rating {
    color: #F3601A !important;
}

.meta {
    color: #F3601A !important;
}


/* ============================
   باکس متن نظر ووکامرس
============================ */

.woocommerce #reviews #comments ol.commentlist li .comment-text {
    border: none;
    border-radius: 10px;
    background-color: #232323;
    padding: 15px;
}


/* تغییر رنگ لینک‌ها در دسته‌بندی محصول و توضیح کوتاه هنگام هاور */
.product-category-list a:hover,
.description-text a:hover {
    color: #FC3A3A;
}

/* افکت تغییر نرم رنگ */
.product-category-list a,
.description-text a {
    transition: color 0.3s ease;
}

/* ویجت توضیحات محصول در صفحه تکی محصول */
.description-text p strong{
    font-weight:400;
}
.description-text img {
  display: block;
  margin: auto; /* فاصله عمودی و وسط‌چین کردن افقی */
  max-width: 100%; /* جلوگیری از خارج شدن عکس از محدوده */
  height: auto;
}

/* ویجت توضیحات محصول در صفحه ارشیو محصول */
.des-archive-pro p strong{
    font-weight:400;
}


.des-archive-pro img {
  display: block;
  margin: auto; /* فاصله عمودی و وسط‌چین کردن افقی */
  max-width: 100%; /* جلوگیری از خارج شدن عکس از محدوده */
  height: auto;
}