/**
Theme Name: astra-child-hall
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-hall
Template: astra
*/









/* ==========================================================================
   JetEngine Listing Grid - Global Slider Arrows Custom Styling
   ========================================================================== */
.jet-listing-grid__slider-icon.swiper-arrow,
.jet-listing-grid__slider-icon.slick-arrow {
    width: 3.125rem !important;
    height: 3.125rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 50px !important;
    box-sizing: border-box;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}

.jet-listing-grid__slider-icon.swiper-arrow svg,
.jet-listing-grid__slider-icon.slick-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: #fff;
}

.jet-listing-grid__slider-icon.prev-arrow.swiper-arrow,
.jet-listing-grid__slider-icon.prev-arrow.slick-arrow {
    transform: rotate(0deg) !important;
    left: 0.9375rem;
}

.jet-listing-grid__slider-icon.next-arrow.swiper-arrow,
.jet-listing-grid__slider-icon.next-arrow.slick-arrow {
    transform: rotate(180deg) !important;
    right: 0.9375rem;
}

.jet-listing-grid__slider-icon.prev-arrow.swiper-arrow:hover,
.jet-listing-grid__slider-icon.prev-arrow.slick-arrow:hover,
.jet-listing-grid__slider-icon.next-arrow.swiper-arrow:hover,
.jet-listing-grid__slider-icon.next-arrow.slick-arrow:hover {
    background-color: #2980b9;
}

.jet-listing-grid__slider-icon.prev-arrow.swiper-arrow:hover,
.jet-listing-grid__slider-icon.prev-arrow.slick-arrow:hover {
    transform: rotate(0deg) scale(1.1) !important;
}

.jet-listing-grid__slider-icon.next-arrow.swiper-arrow:hover,
.jet-listing-grid__slider-icon.next-arrow.slick-arrow:hover {
    transform: rotate(180deg) scale(1.1) !important;
}





/* ==========================================================================
   Elementor Icon Box - Keep hover colors when wrapped with links
   ========================================================================== */
.elementor-icon-box-wrapper a,
.elementor-icon-box-wrapper a:hover {
    color: inherit;
}

/* ==========================================================================
   Logout Notice
   ========================================================================== */
.logout-notice {
    position: fixed;
    bottom: 3rem;
    left: 1.5rem;
    z-index: 999999;
    padding: 1rem 1.5rem;
    background-color: #28a745;
    color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.2);
    font-family: "DanaFaNum", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.logout-notice.hide {
    opacity: 0;
    transform: translateY(1.25rem);
}

@media (max-width: 48rem) {
    .logout-notice {
        bottom: 2rem;
        left: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}




/* ==========================================================================
   Elementor Icon Box - Keep hover colors when wrapped with links
   ========================================================================== */
.elementor-icon-box-wrapper a,
.elementor-icon-box-wrapper a:hover {
    color: inherit;
}




/* ==========================================================================
   WooCommerce Notices
   ========================================================================== */

/* Remove top border from WooCommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info,
.woocommerce-notice {
    border-top: none !important;
}

/* Style notice/action buttons on single product pages */
.single-product .woocommerce-error .button,
.single-product .woocommerce-message a.wc-forward {
    background-color: #374151;
    color: #fff;
    border-radius: 8px;
    padding: 0.4375rem 0.875rem 0.375rem;
    font-size: 0.8125rem;
    white-space: nowrap;
}








/* ==========================================================================
   SlideHall - Lightweight & High Performance Form Styles
   ========================================================================== */

.dokan-dashboard .sh-dokan-fullwidth-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    margin-top: 24px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

.dokan-dashboard .sh-dokan-specs-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
}

.dokan-dashboard .sh-dokan-specs-box .dokan-section-heading {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.dokan-dashboard .sh-dokan-specs-box .dokan-section-heading h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.6rem;
}

.dokan-dashboard .sh-dokan-specs-box .dokan-section-heading p {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.6rem;
}

.dokan-dashboard .sh-general-fields-wrapper {
    margin-bottom: 24px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 16px;
}

.dokan-dashboard .sh-field-group {
    display: grid !important;
    grid-template-columns: 200px 1fr;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.dokan-dashboard .sh-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.6rem;
    margin: 0;
    text-align: right;
}

.dokan-dashboard .sh-field-control {
    width: 100%;
}

/* هاور و فوکوس بسیار سبک بدون ایجاد سربار رندر */
.dokan-dashboard .sh-field-control input[type="text"],
.dokan-dashboard .sh-field-control input[type="number"],
.dokan-dashboard .sh-field-control select,
.dokan-dashboard .sh-field-control textarea {
    width: 100% !important;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #1e293b;
    background-color: #f8fafc;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.dokan-dashboard .sh-field-control textarea {
    height: auto;
    min-height: 85px;
    line-height: 1.6rem;
}

.dokan-dashboard .sh-field-control input:focus,
.dokan-dashboard .sh-field-control select:focus,
.dokan-dashboard .sh-field-control textarea:focus {
    border-color: #0284c7;
    background-color: #ffffff;
    outline: none;
}

.dokan-dashboard .sh-field-description {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-top: 6px;
    line-height: 1.6rem;
}

/* --- اصلاح دقیق چک‌باکس و کلیک‌پذیری --- */
.dokan-dashboard .sh-checkbox-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #334155;
    user-select: none;
    line-height: 1.6rem;
    margin: 0 !important;
    padding: 6px 0 !important;
    width: auto !important;
}

.dokan-dashboard .sh-checkbox-wrapper input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    appearance: auto !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    accent-color: #0284c7;
    float: none !important;
    display: inline-block !important;
    position: static !important;
}

.dokan-dashboard .sh-checkbox-wrapper .sh-checkbox-text {
    cursor: pointer;
    display: inline-block;
}

/* تب‌بندی با هاور کاملا سبک و بهینه */
.dokan-dashboard .sh-tabs-container {
    display: flex;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    min-height: 260px;
}

.dokan-dashboard .sh-tabs-nav {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 200px;
    flex-shrink: 0;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
}

.dokan-dashboard .sh-tabs-nav li {
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    border-right: 3px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1.6rem;
	padding: 14px 16px !important;
}

.dokan-dashboard .sh-tabs-nav li:hover {
    background-color: #f1f5f9;
    color: #0f172a;
	padding: 14px 16px;
}

.dokan-dashboard .sh-tabs-nav li.active {
    background: #ffffff;
    color: #0284c7;
	padding: 14px 16px;
    border-right-color: #0284c7;
}

.dokan-dashboard .sh-tabs-panels {
    flex-grow: 1;
    padding: 20px;
    background: #ffffff;
}

.dokan-dashboard .sh-tab-panel {
    display: none;
}

.dokan-dashboard .sh-tab-panel.active {
    display: block;
}

/* ریسپانسیو */
@media (max-width: 860px) {
    .dokan-dashboard .sh-field-group {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .dokan-dashboard .sh-tabs-container {
        flex-direction: column;
    }

    .dokan-dashboard .sh-tabs-nav {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        overflow-x: auto;
    }

    .dokan-dashboard .sh-tabs-nav li {
        flex: 1 0 auto;
        text-align: center;
        border-right: none;
        border-bottom: 3px solid transparent;
        padding: 10px 14px;
    }

    .dokan-dashboard .sh-tabs-nav li.active {
        border-bottom-color: #0284c7;
    }


}



/* ==========================================================================
   SlideHall - چیدمان بخش «گزینه‌های دانلود» داشبورد دکان (v3 - بر اساس HTML واقعی)
   نصب: انتهای style.css چایلد تم
   ساختار: هر ردیف ۳ سلول دارد:
     ۱) input نام
     ۲) <p> شامل input آدرس (.wc_file_url) + دکمه «انتخاب فایل» (.upload_file_button)
     ۳) <p> شامل دکمه «پاک کردن» (.dokan-product-delete)
   هدر هم ۳ ستون (نام | آدرس فایل | اقدام) دارد، پس هر ردیف یک Grid سه‌ستونه است.
   ========================================================================== */

/* ۱) جدول = ستون Flex (tfoot در HTML قبل از thead است؛ order آن را پایین می‌برد) */
.dokan-download-wrapper table.dokan-table {
    display: flex !important;
    flex-direction: column;
    width: 100% !important;
    margin: 0 0 20px;
    border: 0;
}
.dokan-download-wrapper table.dokan-table thead { display: block !important; order: 1; }
.dokan-download-wrapper table.dokan-table tbody { display: block !important; order: 2; }
.dokan-download-wrapper table.dokan-table tfoot { display: block !important; order: 3; }

/* ۲) هر ردیف (هدر و بدنه) = Grid با ستون‌های یکسان */
.dokan-download-wrapper table.dokan-table thead tr,
.dokan-download-wrapper table.dokan-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) 104px;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    background: transparent !important;
    border: 0;
}

.dokan-download-wrapper table.dokan-table th,
.dokan-download-wrapper table.dokan-table td {
    display: block !important;
    width: auto !important;
    float: none !important;
    margin: 0;
    padding: 0;
    text-align: start;
    background: transparent !important;
    border: 0 !important;
    box-sizing: border-box;
}

/* هدر */
.dokan-download-wrapper table.dokan-table thead tr {
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}
.dokan-download-wrapper table.dokan-table thead th {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    line-height: 1.6rem;
}

/* خط جداکننده بین ردیف‌ها */
.dokan-download-wrapper table.dokan-table tbody tr + tr {
    border-top: 1px solid #f1f5f9;
}

/* ۳) داخل سلول‌ها: <p> دوم و سوم = ردیف Flex (margin/padding قالب و المنتور خنثی می‌شود) */
.dokan-download-wrapper table.dokan-table td > p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
}

/* ۴) فیلدها (همان ظاهر فرم اصلی) */
.dokan-download-wrapper input[type="text"],
.dokan-download-wrapper input[type="url"],
.dokan-download-wrapper input[type="number"] {
    width: 100% !important;
    height: 42px;
    margin: 0 !important;      /* margin-right:8px اینلاینِ input آدرس را هم خنثی می‌کند */
    padding: 6px 12px;
    font-size: 13px;
    color: #1e293b;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}
.dokan-download-wrapper input[type="text"]:focus,
.dokan-download-wrapper input[type="url"]:focus,
.dokan-download-wrapper input[type="number"]:focus {
    border-color: #0284c7;
    background-color: #ffffff;
    outline: none;
}

/* input آدرس کنار دکمه: باقی‌مانده فضا را بگیرد (کلاس dokan-w8 عرض ثابت می‌داد) */
.dokan-download-wrapper table.dokan-table td > p input.wc_file_url {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    direction: ltr;
    text-align: left;
}

/* ۵) دکمه‌ها: هم‌قد فیلدها */
.dokan-download-wrapper table.dokan-table td .dokan-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 0 !important;
    padding: 0 14px !important;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    border-radius: 6px;
    box-sizing: border-box;
}
.dokan-download-wrapper table.dokan-table td .upload_file_button { flex: 0 0 auto; }
.dokan-download-wrapper table.dokan-table td .dokan-product-delete { width: 100%; }

/* ۶) دکمه «افزودن فایل» پایین جدول */
.dokan-download-wrapper table.dokan-table tfoot tr,
.dokan-download-wrapper table.dokan-table tfoot th {
    display: block !important;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    text-align: start;
}
.dokan-download-wrapper table.dokan-table tfoot .insert-file-row {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 42px;
    margin: 12px 0 0 !important;
    padding: 0 18px !important;
    font-size: 13px;
    border-radius: 6px;
}

/* ۷) محدودیت و انقضای دانلود: دو ستون هم‌تراز */
.dokan-download-wrapper > .dokan-clearfix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.dokan-download-wrapper > .dokan-clearfix::before,
.dokan-download-wrapper > .dokan-clearfix::after { display: none; }
.dokan-download-wrapper > .dokan-clearfix .content-half-part {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.dokan-download-wrapper > .dokan-clearfix label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

/* ۸) موبایل: هدر مخفی (placeholder کافی است)، نام تمام‌عرض، سپس آدرس+انتخاب و دکمه حذف */
@media (max-width: 700px) {
    .dokan-download-wrapper table.dokan-table thead { display: none !important; }

    .dokan-download-wrapper table.dokan-table tbody tr {
        grid-template-columns: minmax(0, 1fr) 96px;
    }
    .dokan-download-wrapper table.dokan-table tbody td:nth-child(1) { grid-column: 1 / -1; }

    .dokan-download-wrapper > .dokan-clearfix { grid-template-columns: 1fr; }
}




/* پیام خطای فرم ورود المنتوری برای کد رفع خطای ریدایرکت فرم موقع زدن رمز اشتباه به فرم ورود وردپرس*/
.slidehall-login-msg:not([hidden]) {
    display: block;
    margin-bottom: 16px;
    padding: 10px 14px;
    border: 1px solid rgba(239, 68, 68, .2);
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    font-size: 14px;
    text-align: center;
    margin5: 16px 0;
}





