/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 14 2026 | 23:19:09 */
/* =======================================================
   MetNet Premium Empty Cart (V 2.0.0 - Zero-HTTP Inline SVG)
   Architecture: Pure Vector Illustration, Zero Network Overhead
   ======================================================= */

/* 1. تنظیم کادر اصلی سبد خرید */
html body .wd-empty-mini-cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 46px 20px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

/* حذف آیکون و متن‌های پیش‌فرض وودمارت */
html body .wd-empty-mini-cart::before,
html body .wd-empty-mini-cart::after {
    display: none !important;
}

/* 2. استایل آیکون SVG و متن پیام خالی بودن */
html body .woocommerce-mini-cart__empty-message {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    font-size: 0 !important;
    margin-bottom: 28px !important;
    border: none !important;
    padding: 0 !important;
    width: 100% !important;
}

/* تزریق آیکون برداری (SVG) اختصاصی مت‌نت با صفر درخواست شبکه */
html body .woocommerce-mini-cart__empty-message::before {
    content: "" !important;
    display: block !important;
    width: 170px !important;
    height: 170px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23eff6ff'/%3E%3Cstop offset='100%25' stop-color='%23dbeafe'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%2393c5fd' stop-opacity='.35'/%3E%3Cstop offset='100%25' stop-color='%233b82f6' stop-opacity='.15'/%3E%3C/linearGradient%3E%3ClinearGradient id='c' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232563eb'/%3E%3Cstop offset='100%25' stop-color='%231e40af'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='100' cy='100' r='82' fill='url(%23a)'/%3E%3Ccircle cx='100' cy='100' r='68' stroke='%23bfdbfe' stroke-width='1.5' stroke-dasharray='5 5'/%3E%3Cellipse cx='105' cy='157' rx='42' ry='5.5' fill='%23bfdbfe' opacity='.65'/%3E%3Ccircle cx='48' cy='58' r='5' fill='%2360a5fa' opacity='.5'/%3E%3Ccircle cx='156' cy='136' r='4' fill='%233b82f6' opacity='.4'/%3E%3Cpath d='M148 42v10M143 47h10' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'/%3E%3Cpath d='M66 74h82a5 5 0 0 1 4.9 6.1l-8.8 39a11 11 0 0 1-10.7 8.6H83.5a11 11 0 0 1-10.8-8.8L66 74Z' fill='url(%23b)'/%3E%3Cpath d='M88 86v26M107 86v26M126 86v26' stroke='%2360a5fa' stroke-width='3.5' stroke-linecap='round' opacity='.65'/%3E%3Cpath d='M44 58h14a6 6 0 0 1 5.9 4.8l8.8 56.1a11 11 0 0 0 10.8 8.8h49.9a11 11 0 0 0 10.7-8.6l8.8-39A5 5 0 0 0 148 74H66' stroke='url(%23c)' stroke-width='5.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M80 127.7l-3 9.3a4.5 4.5 0 0 0 4.3 5.9h53.7' stroke='%231e3a8a' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='85' cy='148' r='9.5' fill='%231e3a8a'/%3E%3Ccircle cx='85' cy='148' r='3.8' fill='%23fff'/%3E%3Ccircle cx='127' cy='148' r='9.5' fill='%231e3a8a'/%3E%3Ccircle cx='127' cy='148' r='3.8' fill='%23fff'/%3E%3Ccircle cx='138' cy='68' r='15' fill='%232563eb' stroke='%23fff' stroke-width='3.5'/%3E%3Cpath d='M138 62v12M132 68h12' stroke='%23fff' stroke-width='2.8' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: transparent !important;
    margin-bottom: 22px !important;
}

/* تزریق متن دلخواه شما */
html body .woocommerce-mini-cart__empty-message::after {
    content: "سبدت خالیه! بیا یه نگاهی به محصولات بنداز" !important;
    display: block !important;
    text-align: center !important;
    font-size: 1.02rem !important;
    color: #334155 !important;
    font-weight: 800 !important;
    font-family: var(--wd-text-font, "Vazirmatn"), "Vazirmatn", Tahoma, sans-serif !important;
    line-height: 1.65 !important;
    max-width: 240px !important;
}

/* 3. دکمه بازگشت به فروشگاه */
html body .wd-empty-mini-cart .return-to-shop {
    margin: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

html body .wd-empty-mini-cart .wc-backward {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    padding: 14px 40px !important;
    border-radius: 50px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.4) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    font-family: var(--wd-text-font, "Vazirmatn"), "Vazirmatn", Tahoma, sans-serif !important;
    font-size: 0 !important;
    border: none !important;
    touch-action: manipulation !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* تزریق متن تمیز برای دکمه */
html body .wd-empty-mini-cart .wc-backward::before {
    content: "مشاهده محصولات" !important;
    font-size: 1.02rem !important;
    line-height: 1.4 !important;
}

/* افکت هاور دکمه فقط در دسکتاپ */
@media (hover: hover) and (pointer: fine) {
    html body .wd-empty-mini-cart .wc-backward:hover {
        transform: translate3d(0, -3px, 0) !important;
        box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.6) !important;
        color: #ffffff !important;
    }
}

/* بازخورد لمسی در موبایل */
html body .wd-empty-mini-cart .wc-backward:active {
    transform: scale(0.97) !important;
    color: #ffffff !important;
}

/* فوکوس کیبورد */
html body .wd-empty-mini-cart .wc-backward:focus-visible {
    outline: 2px solid #2563eb !important;
    outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {
    html body .wd-empty-mini-cart .wc-backward,
    html body .wd-empty-mini-cart .wc-backward:hover,
    html body .wd-empty-mini-cart .wc-backward:active {
        transition: none !important;
        transform: none !important;
    }
}