/* ==========================================================================
   REGISTRATION DOMAIN FOR STYLE (نسخه کاملاً تراز پیکسلی و بدون اسکرول افقی موبایل)
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: Tahoma, sans-serif; }

body {
    background-color: #f8fafc;
    direction: rtl;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 80px;
    overflow-x: hidden; /* جلوگیری از اسکرول‌های ریز ناخواسته بدنه */
}

/* هدر مینی‌مال جهانی */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}
.nav-right, .nav-left { display: flex; align-items: center; gap: 40px; }
.logo { font-weight: 800; color: #0052cc; font-size: 19px; letter-spacing: 0.5px; display: flex; align-items: center; gap: 6px; }
.menu { display: flex; gap: 25px; }
.menu a { text-decoration: none; color: #64748b; font-size: 13.5px; font-weight: 600; transition: all 0.2s ease; }
.menu a:hover, .menu a.active { color: #1455d9 !important; }
.btn-login { background: #1455d9; color: white; border: none; padding: 10px 22px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: bold; transition: all 0.2s; }
.btn-login:hover { background: #003d99; transform: translateY(-1px); }
.btn-register { background: none; border: none; color: #475569; cursor: pointer; font-size: 12.5px; font-weight: bold; }

/* مخفی‌سازی مطلق المان‌های موبایل در مانیتورهای دسکتاپ بزرگ */
.hamburger-menu-btn, .mobile-sidebar, .sidebar-overlay { display: none !important; }

/* نوار راهنما کاملاً به راست چسبیده */
.breadcrumb {
    font-size: 11px;
    color: #94a3b8;
    text-align: right !important;
    width: 100% !important;
    max-width: 1160px;
    margin: 10px auto -10px auto;
    font-weight: bold;
    padding-right: 0 !important;
    display: block !important;
}
.breadcrumb a { text-decoration: none; color: #94a3b8; transition: color 0.2s; }
.breadcrumb a:hover { color: #1455d9; }

/* بخش هیرو دسکتاپ */
.hero-domain {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 320px;
    background-color: #f8fafc;
    gap: 40px;
    width: 100%;
    padding: 0;
}
.hero-text-domain { width: 50%; text-align: right; display: flex; flex-direction: column; padding-right: 0 !important; margin-right: 0 !important; }
.hero-text-domain h1 { font-size: 42px; font-weight: 800; color: #0f172a; line-height: 1.1; margin: 0 0 8px 0 !important; }
.hero-text-domain .sub-title-blue { color: #1455d9; font-size: 24px; font-weight: bold; line-height: 1.2; margin: 0 0 18px 0 !important; }
.hero-text-domain p { max-width: 480px; line-height: 1.8; font-size: 13.5px; color: #64748b; margin: 0 !important; }

.hero-image-domain { width: 45%; display: flex; justify-content: center; align-items: center; }
.hero-image-domain img { width: 100%; max-width: 380px; height: auto; object-fit: contain; mix-blend-mode: multiply; }

/* کانتینر ۶ کارت قیمت پسوندها در دسکتاپ */
.domain-pricing-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 15px;
    margin-top: 10px;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.domain-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}
.domain-card h3 { font-size: 20px; font-weight: 800; color: #0f172a; }
.domain-price-box .amount { font-size: 16px; font-weight: bold; color: #334155; display: block; }
.domain-price-box .period { font-size: 11px; color: #94a3b8; display: block; margin-top: 2px; }

/* باکس جستجوی بزرگ وسط صفحه */
.main-search-wrapper {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
    text-align: center;
    width: 100%;
    max-width: 1160px;
    margin: 15px auto;
}
.search-title { font-size: 14px; font-weight: bold; color: #1e293b; margin-bottom: 20px; }
.big-search-bar { display: flex; border: 1px solid #cbd5e1; border-radius: 10px; overflow: hidden; width: 100%; max-width: 800px; margin: 0 auto; background: #ffffff; }
.big-search-bar .input-container { display: flex; align-items: center; flex: 1; padding: 0 15px; }
.big-search-bar input { border: none; outline: none; width: 100%; font-size: 14px; color: #334155; padding: 14px 0; text-align: right; }
.clear-icon { color: #cbd5e1; cursor: pointer; font-size: 16px; }
#btn-main-search { background: #1455d9; color: white; border: none; padding: 0 40px; font-size: 14px; font-weight: bold; cursor: pointer; transition: 0.2s; }
#btn-main-search:hover { background: #003d99; }

/* ویژگی‌های ۵ گانه دسکتاپ */
.domain-bottom-features {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 15px;
    width: 100%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}
.domain-bottom-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: white; padding: 20px 10px; border-radius: 14px; border: 1px solid #e2e8f0; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01); text-align: center; }
.domain-bottom-item i { font-size: 20px; color: #1455d9; margin-bottom: 5px; }
.domain-bottom-item h4 { font-size: 12px; font-weight: bold; color: #1e293b; }
.domain-bottom-item p { font-size: 10px; color: #94a3b8; margin-top: 2px; }

/* باکس نوار پایانی همراه با دکمه آبی */
.all-extensions-bar { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; font-size: 13px; color: #475569; font-weight: bold; }
.btn-all-ext { background-color: #1455d9 !important; color: white !important; border: none !important; padding: 10px 30px !important; border-radius: 25px !important; font-size: 13px !important; font-weight: bold !important; cursor: pointer !important; transition: all 0.2s ease !important; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(20, 85, 217, 0.15); }
.btn-all-ext:hover { background-color: #0c3fb3 !important; transform: translateY(-1px); box-shadow: 0 6px 15px rgba(20, 85, 217, 0.25); }

/* ==========================================================================
   تنظیمات ۱۰۰٪ ریسپانسیو موبایل (تراز لبه به لبه مطلق بدون بیرون زدگی)
   ========================================================================== */
@media (max-width: 992px) {
    body { padding: 15px 20px !important; gap: 20px; }

    /* هدر واکنش‌گرا و لوگوی ثابت وسط */
    .navbar {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: center !important;
        height: 60px !important; 
        padding: 0 10px !important; 
        border-bottom: none; 
    }
    .nav-right { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 0 !important;
    }
    .logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 auto !important;
        font-size: 18px !important;
        z-index: 5;
    }
    .navbar .menu, .navbar .nav-left { display: none !important; }

    /* نمایش دکمه ۳خط همبرگری سمت راست هدر */
    .hamburger-menu-btn { 
        display: block !important; 
        background: none !important; 
        border: none !important; 
        font-size: 24px !important; 
        color: #0f172a !important; 
        cursor: pointer !important;
        order: 2 !important;
    }
    .breadcrumb { text-align: center !important; }

    /* استایل و انیمیشن سایدبار کشویی موبایل */
    .mobile-sidebar {
        display: flex !important;
        position: fixed !important; 
        top: 0 !important; 
        right: -290px !important;
        width: 280px !important; 
        height: 100vh !important; 
        background: #ffffff !important; 
        z-index: 9999 !important;
        flex-direction: column !important; 
        padding: 25px 20px !important;
        box-shadow: -5px 0 25px rgba(0,0,0,0.08) !important;
        transition: right 0.3s ease-in-out !important;
    }
    .mobile-sidebar.open { right: 0 !important; }
    .sidebar-header { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; margin-bottom: 25px !important; border-bottom: 1px solid #f1f5f9 !important; padding-bottom: 15px !important; }
    .close-sidebar-btn { background: none !important; border: none !important; font-size: 22px !important; color: #94a3b8 !important; cursor: pointer !important; }
    .sidebar-menu { display: flex !important; flex-direction: column !important; gap: 18px !important; width: 100% !important; text-align: right !important; }
    .sidebar-menu a { text-decoration: none !important; color: #334155 !important; font-size: 14px !important; font-weight: bold !important; padding: 4px 0 !important; display: block !important; }
    .sidebar-hr { border: none !important; border-top: 1px solid #f1f5f9 !important; margin: 10px 0 !important; }
    .btn-sidebar-login { background: #1455d9 !important; color: white !important; border: none !important; padding: 12px !important; border-radius: 8px !important; font-weight: bold !important; width: 100% !important; margin-top: 10px !important; }
}