/* از قالب product_category_expand_2.tpl.html (بلوک <style> درون‌خطی) به فایل جدا آمد تا کش شود -- مرحله‌ی ۱۱٫۴، ۱۴۰۵/۰۷/۱۵ */
/* Temporary debugging styles */
        * {
            /* border: 1px solid red !important; */
        }
        /* End temporary debugging styles */
        
        /* بهبود ریسپانسیو بودن برای موبایل */
        @media (max-width: 767px) {
            .price_levels_2023 .panel-title-items > div {
                margin-bottom: 15px;
                text-align: center;
            }
            .price_levels_2023 .panel-title-items img {
                max-width: 100%;
                height: auto;
            }
            
            /* بهبود کارت محصولات برای موبایل */
            .hp-prolist {
                padding-left: 20px;
                padding-right: 20px;
            }
            .hp-proitem {
                min-height: 380px !important;
                height: auto !important;
                padding: 15px !important;
                margin-bottom: 2px !important;
                display: flex !important;
                flex-direction: column !important;
                justify-content: space-between !important;
            }
            
            .hp-proitem > div:first-child {
                text-align: center !important;
                margin-bottom: 15px !important;
            }
            
            .hp-proitem .title {
                min-height: 60px !important;
                margin-bottom: 15px !important;
                line-height: 1.4 !important;
                font-size: 13px !important;
                overflow: hidden !important;
                display: block !important;
            }
            
            .hp-proitem .title a {
                display: block !important;
                word-wrap: break-word !important;
                hyphens: auto !important;
            }
            
            .hp-prolist-price {
                margin-top: 15px !important;
                margin-bottom: 8px !important;
                font-size: 15px !important;
                font-weight: bold !important;
                clear: both !important;
            }
            
            .hp-prolist-state {
                margin-bottom: 15px !important;
                clear: both !important;
            }
            
            .hp-proitem img {
                margin-bottom: 20px !important;
                max-height: 185px !important;
                max-width: 185px !important;
                height: auto !important;
            }
            
            /* فضای بیشتر برای متن محصول */
            .hp-proitem-details {
                min-height: 60px !important;
                margin-bottom: 20px !important;
                overflow: hidden !important;
            }
            
            .hp-proitem-details p {
                font-size: 12px !important;
                line-height: 1.3 !important;
                margin-bottom: 10px !important;
            }
            
            /* تنظیمات ویژه برای حالت grid */
            .product.mode-grid .hp-proitem {
                min-height: 290px !important;
                border-radius: 12.4px
            }
            
            /* فضای کافی برای المان‌های آخر */
            .hp-proitem > div:last-child {
                margin-top: auto !important;
                padding-top: 10px !important;
            }


        .pages {
            text-align: center;
            text-align-last: center;
        }
        .show-more-button {
            display: inline-flex !important;
            align-items: center;
            gap: 8px;
            color: #00a79f; /* indigo-700 */
            background: none;
            border: none;
            padding: 8px 0;
            cursor: pointer;
            margin: 20px 0;
            font-size: 16px;
            font-family: byekan;
            font-weight: bold;
        }

        .show-more-button:hover {
            color: #00a79f; /* A darker indigo */
        }

        /* مقاوم‌سازی با !important تا فلش بزرگ/سیاه نشود حتی اگر قانون عمومیِ svg تداخل کند */
        .show-more-button .arrow-icon {
            width: 16px !important;
            height: 16px !important;
            stroke: currentColor !important;
            stroke-width: 2;
            fill: none !important;
        }
        
        .scroll-detector{
            height: 48px;
            width: 100%;
            background-image: url("/client/css/images/ajaxloaderbprshop.gif");
            background-repeat: no-repeat;
            background-position: center center;
            display: block;
        }
        
        .pages .scroll-place {
            display: none !important;
            text-align: center;
        }
        .pages.loading .show-more-button {
            display: none !important;
        }
        .pages.loading .scroll-place {
            display: block !important;
        }
        
        #show-more-loader-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 999999;
            background-color: rgba(255, 255, 255, 0.1);
        }
        #show-more-loader-overlay img {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            margin: 0 auto;
            transform: translateY(-50%);
            width: 90px;
            height: 90px;
        }

        [dir="rtl"] .row.producs .product {
            padding-left: 2px !important;
            padding-right: 2px !important;
        }

        .product {
            margin: 0 !important;
        }
