/* =============================================
   MEHADSHOP - Custom CSS
   v2 - 2026-05-31 - badge removed
   ============================================= */

/* --- فونت پایه --- */
body {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

/* --- اصلاح کلاس‌های responsive که Panda همه را hidden تعریف کرده --- */
@media (max-width: 767px) {
    .hidden-sm-down  { display: none !important; }
    .hidden-md-up    { display: block !important; }
    .hidden-lg-up    { display: block !important; }
    .hidden-md-down  { display: none !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm-down  { display: block !important; }
    .hidden-md-up    { display: none !important; }
    .hidden-lg-up    { display: block !important; }
    .hidden-md-down  { display: none !important; }
}
@media (min-width: 992px) {
    .hidden-sm-down  { display: block !important; }
    .hidden-md-up    { display: none !important; }
    .hidden-lg-up    { display: none !important; }
    .hidden-md-down  { display: block !important; }
}

/* =============================================
   هدر: تراز، فاصله، اندازه
   ============================================= */

/* نوار بالایی */
#top_bar {
    font-size: 0.85rem;
    line-height: 1;
    padding: 4px 0;
}
#top_bar_row {
    align-items: center;
    min-height: 36px;
}
#nav_left, #nav_right, #nav_center {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* هدر اصلی: کاهش ارتفاع اضافه */
#header_primary {
    padding: 8px 0;
}
#header_primary_row {
    align-items: center;
    min-height: 70px;
}

/* لوگو: محدود کردن ارتفاع */
#header_left .logo,
#header_left img.logo,
#header_center .logo,
#header_center img.logo {
    max-height: 70px !important;
    width: auto !important;
}
.logo_box {
    display: flex;
    align-items: center;
}

/* جستجو: عریض‌تر و متمرکزتر */
#search_widget {
    width: 100%;
    max-width: 420px;
}
#search_widget form {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}
#search_widget input[type="text"] {
    flex: 1;
    border: none;
    padding: 9px 14px;
    font-size: 0.95rem;
    outline: none;
    background: transparent;
    direction: rtl;
}
#search_widget button {
    border: none;
    background: #c00;
    color: #fff;
    padding: 9px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#search_widget button:hover {
    background: #a00;
}

/* سبد خرید: تراز عمودی */
#header_right_top,
#header_right_bottom {
    align-items: center;
    gap: 10px;
}
#header_right .top_bar_item,
#header_right .header_item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* منوی موبایل */
#mobile_bar {
    z-index: 1000;
}
#mobile_bar_top {
    align-items: center;
    min-height: 50px;
}

/* --- حذف بلاک نظرات مشتریان (steasycontent شماره ۱) --- */
#easycontent_container_1,
#easycontent_1 {
    display: none !important;
}

/* --- حذف باکس نظرات و امتیاز محصول (stproductcomments) --- */
.pccomment_block,
section.pccomment_block,
.rating_box,
div.rating_box,
.st_product_comment_wrap,
.pcomments_block,
.pcomments_slider,
.comment_number,
#product_comments_block_tab,
.product-comments,
li.nav-item a[data-module="stproductcomments"],
li.nav-item:has(a[data-module="stproductcomments"]),
div[id^="extra-"] .pccomment_block,
.tab-pane .pccomment_block,
.tab-pane-body .pccomment_block {
    display: none !important;
    visibility: hidden !important;
}

/* --- حذف بخش محصولات ویژه / حراج (ps_specials) --- */
section.featured-products,
.featured-products,
.featured-products.clearfix {
    display: none !important;
}

/* --- حذف ویجت نقد و بررسی شناور (ets_reviewticker) --- */
.ets_reviewticker,
#ets_reviewticker_wrap,
.ets_rt_close,
.ets_rt_item {
    display: none !important;
}

/* --- حذف باکس عضویت در خبرنامه --- */
.block_newsletter,
.st_news_letter,
.st_news_letter_popup_wrap {
    display: none !important;
}
