/* =========================
   Fonts & Global
========================= */

*{

    font-family:'Vazirmatn',sans-serif;

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --primary:#FFC107;
    --primary-dark:#E6AF00;
    --dark:#111111;
    --light:#F8F9FA;
    --white:#FFFFFF;
    --text:#333333;
    --border:#E9ECEF;
}

body{
    font-family:'Vazirmatn',sans-serif;
    background:var(--light);
    color:var(--text);
    direction:rtl;
    overflow-x:hidden;
}

a{
    text-decoration:none;
    transition:.25s;
}

img{
    max-width:100%;
}

/* =========================
   Top Bar
========================= */

.top-bar{
    background:#111;
    color:#fff;
    font-size:14px;
}

.top-bar-content{
    min-height:50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.top-links,
.top-users{
    display:flex;
    align-items:center;
    gap:24px;
}

.top-bar a{
    color:#fff;
}

.top-bar a:hover{
    color:var(--primary);
}

.personal-btn{
    background:var(--primary);
    color:#000 !important;
    padding:10px 18px;
    border-radius:30px;
    font-weight:700;
}

/* =========================
   Main Navbar
========================= */

.main-navbar{
    background:var(--primary);
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    min-height:85px;
}

.logo-circle{

    width:140px;
    height:60px;

    border:4px solid #111;

    border-radius:999px;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    color:#111;
    background:transparent;

}

.logo-circle span{
    font-weight:900;
    font-size:22px;
    line-height:22px;
}

.logo-circle small{
    font-size:13px;
    font-weight:700;
}

.navbar-nav .nav-link{
    color:#111;
    font-size:18px;
    font-weight:700;
}

.navbar-nav .nav-link:hover{
    color:#555;
}





.navbar-toggler{
    border:none;
    font-size:30px;
}

.navbar-toggler:focus{
    box-shadow:none;
}

/* =========================
   Mobile Menu
========================= */

.offcanvas{
    width:280px;
}

.mobile-link{

    display:block;

    padding:15px 0;

    color:#222;

    font-weight:700;

    border-bottom:1px solid #eee;

}

/* =========================
   Hero
========================= */

.main-hero{

    margin-top:40px;

    border-radius:35px;

    background:linear-gradient(135deg,#ffd54f,#ffc107);

    padding:70px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.hero-text h1{

    font-size:46px;

    font-weight:900;

    color:#111;

}

.hero-text p{

    font-size:20px;

    margin-top:15px;

    color:#444;

}

.hero-btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 34px;

    border-radius:40px;

    background:#111;

    color:#fff;

    font-weight:700;

}

.hero-btn:hover{
    background:#000;
    color:#fff;
}

.hero-btn-outline{

    display:inline-block;

    margin-top:30px;
    margin-right:10px;

    border:2px solid #111;

    color:#111;

    padding:15px 34px;

    border-radius:40px;

}

/* =========================
   Sections
========================= */

.section-title{
    text-align:center;
    margin:70px 0 35px;
}

.section-title h2{
    font-size:34px;
    font-weight:900;
}

.section-title p{
    margin-top:10px;
    color:#777;
}

/* =========================
   Cards
========================= */

.product-card{

    background:#fff;

    border-radius:24px;

    padding:28px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    height:100%;

}

.product-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.featured-product{

    border:3px solid var(--primary);

}

.number-box{

    background:#f5f5f5;

    border-radius:18px;

    padding:18px;

    font-size:28px;

    font-weight:900;

}

.product-price{

    margin:20px 0;

    font-size:28px;

    color:#198754;

    font-weight:900;

}

/* =========================
   Footer
========================= */

footer{

    background:#111;

    color:#fff;

    margin-top:70px;

    padding:60px 0;

}

footer a{
    color:#fff;
}

/* =========================
   Responsive
========================= */

@media(max-width:991px){

    .top-bar{
        display:none;
    }

    .main-hero{

        padding:40px 25px;

        text-align:center;

        flex-direction:column;

        gap:30px;

    }

    .hero-text h1{
        font-size:34px;
    }

    .hero-text p{
        font-size:18px;
    }

}

.feature-card{

    background:#fff;

    border-radius:20px;

    padding:35px 25px;

    height:100%;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

    cursor:pointer;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 35px rgba(13,110,253,.18);

}

.feature-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:20px;

    background:linear-gradient(135deg,#0d6efd,#4f9cff);

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:35px;

}

.feature-card h4{

    font-weight:700;

    margin-bottom:15px;

}

.feature-card p{

    color:#666;

    line-height:1.8;

    margin:0;

}

.stat-card{

    background:#fff;

    border-radius:20px;

    padding:30px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.stat-card h2{

    color:#0d6efd;

    font-size:40px;

    font-weight:800;

}

.stat-card p{

    margin:0;

    font-size:18px;

}

.product-card{

    background:#fff;

    border-radius:22px;

    padding:30px;

    transition:.35s;

    border:none;

}

.product-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 40px rgba(13,110,253,.18);

}

.number-box{

    font-size:28px;

    font-weight:800;

    color:#0d6efd;

    margin-bottom:15px;

}

.operator{

    color:#666;

    font-size:17px;

    margin-bottom:20px;

}

.product-price{

    font-size:24px;

    font-weight:800;

    color:#198754;

    margin-bottom:20px;

}

.product-card .btn{

    border-radius:14px;

    font-weight:700;

    padding:12px;

}

.footer{

    background:#212529;

    color:#fff;

    padding:50px 0 20px;

}

.footer h4,
.footer h5{

    margin-bottom:20px;

    font-weight:700;

}

.footer a{

    color:#ddd;

    text-decoration:none;

    line-height:2.2;

}

.footer a:hover{

    color:#ffc107;

}

.footer hr{

    border-color:#555;

}

.footer p{

    color:#ccc;

}

body{

font-family:'Vazirmatn',sans-serif;

background:#f5f7fb;

}


.header{

background:#212529;

color:white;

padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}


.box{

background:white;

border-radius:20px;

padding:35px;

margin-top:40px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.sim-card{

background:#f8f9fa;

border-radius:15px;

padding:20px;

margin-bottom:20px;

}


.number{

font-size:25px;

font-weight:800;

color:#0d6efd;

}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#f5f7fb;

}


.header{

    background:#212529;

    color:white;

    padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}


.box{

    background:white;

    border-radius:20px;

    padding:30px;

    margin-top:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.news-card{

    border-radius:15px;

    padding:20px;

    background:#f8f9fa;

    margin-bottom:20px;

}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#f5f7fb;

}


.header{

    background:#212529;

    color:white;

    padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}

.box{

    background:white;

    border-radius:20px;

    padding:35px;

    margin-top:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.info{

    background:#f8f9fa;

    border-radius:15px;

    padding:20px;

    margin-bottom:15px;

}


.btn-send{

    border-radius:12px;

}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#f5f7fb;

}


.header{

    background:#212529;

    color:white;

    padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}


.box{

    background:white;

    border-radius:20px;

    padding:35px;

    margin-top:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.feature{

    background:#f8f9fa;

    border-radius:15px;

    padding:20px;

    margin-bottom:15px;

}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#f5f7fb;

}


.header{

    background:#212529;

    color:white;

    padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}


.box{

    background:white;

    border-radius:20px;

    padding:35px;

    margin-top:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.item{

    background:#f8f9fa;

    border-radius:15px;

    padding:20px;

    margin-bottom:15px;

}

body{

    font-family:'Vazirmatn',sans-serif;

    background:#f5f5f5;

}


.header{

    background:#212529;

    color:white;

    padding:20px;

}


.header a{

    color:white;

    text-decoration:none;

    padding:10px 18px;

    border-radius:12px;

    transition:all .3s ease;

}


.box{

    background:white;

    border-radius:20px;

    padding:35px;

    margin-top:40px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}


.item{

    background:#f8f9fa;

    border-radius:15px;

    padding:20px;

    margin-bottom:15px;

}

.header a:hover{

    background:rgba(255,255,255,.15);

    transform:translateY(-3px);

}

.header a:active{

    transform:scale(.95);

}

/* User Menu */

.dropdown-menu{

    background:linear-gradient(135deg,#202020,#111);

    border:1px solid rgba(255,215,0,.35);

    border-radius:20px;

    min-width:280px;

    padding:12px;

    box-shadow:0 5px 15px rgba(212,175,55,.15);

    animation:menuFade .25s ease;

}

@keyframes menuFade{

    from{

        opacity:0;

        transform:translateY(-10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.dropdown-item{

    transition:all .25s ease;

}

.dropdown-item:hover{

    transform:translateX(-6px);

}

.dropdown-menu{

    margin-top:12px;

}



.dropdown-item{

    color:#fff;

    border-radius:12px;

    padding:12px 15px;

    transition:.25s;

    font-weight:500;

}

.dropdown-item i{

    color:#d4af37;

    margin-left:10px;

}

.dropdown-item:hover{

    background:linear-gradient(90deg,#d4af37,#f8de7e);

    color:#111;

    transform:translateX(-4px);

}

.dropdown-divider{

    border-color:rgba(212,175,55,.2);

}

@keyframes menuFade{

    from{

        opacity:0;

        transform:translateY(-10px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.user-btn{

display:flex;

align-items:center;

gap:12px;

text-decoration:none;

color:#fff;

padding:8px 16px;

border-radius:50px;

transition:.3s;

}

.user-btn:hover{

background:rgba(212,175,55,.08);

}

.user-avatar{

width:48px;

height:48px;

border-radius:50%;

background:linear-gradient(135deg,#d4af37,#f8de7e);

display:flex;

align-items:center;

justify-content:center;

font-size:22px;

color:#111;

box-shadow:0 5px 20px rgba(212,175,55,.35);

}

.user-info{

display:flex;

flex-direction:column;

line-height:1.2;

}

.user-name{

font-weight:bold;

font-size:15px;

color:#fff;

}

.user-info small{

color:#c7c7c7;

font-size:12px;

}

.user-btn .bi-chevron-down{

color:#d4af37;

font-size:13px;

transition:.3s;

}

.user-btn:hover .bi-chevron-down{

transform:rotate(180deg);

}

.dropdown-menu .dropdown-item{

    color:#fff !important;

    font-size:16px;
    font-weight:500;

}

.dropdown-menu .dropdown-item:hover{

    color:#111 !important;

}

.user-avatar{

    width:42px;
    height:42px;

    font-size:18px;

}

.user-btn .bi-chevron-down{

    color:#111;

    font-size:14px;

}

.user-info small{

    display:inline-flex;

    align-items:center;

    gap:8px;

    margin-top:6px;

    padding:6px 14px;

    border-radius:50px;

    background:linear-gradient(135deg,#2a2a2a,#1b1b1b);

    border:1px solid rgba(212,175,55,.35);

    color:#ffffff;

    font-size:12px;

    font-weight:600;

    letter-spacing:1px;

    width:max-content;

}

.user-btn:hover .user-info small{

    background:rgba(212,175,55,.12);

    border-color:#d4af37;

}

.user-info small i{

    color:#ffd54a;

    font-size:14px;

}

/* Header Dropdown */

.user-dropdown-header{

    text-align:center;

    padding:18px 10px;

}

.profile-circle{

    width:70px;

    height:70px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(135deg,#d4af37,#f8de7e);

    color:#111;

    font-size:34px;

    font-weight:bold;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 10px 25px rgba(212,175,55,.35);

    margin-bottom:12px;

}

.user-dropdown-header h5{

    color:#fff;

    font-weight:700;

    margin-bottom:8px;

}

.user-dropdown-header span{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:6px 14px;

    border-radius:25px;

    background:rgba(255,255,255,.08);

    border:1px solid rgba(212,175,55,.25);

    color:#f2f2f2;

    font-size:13px;

}

.user-dropdown-header span i{

    color:#d4af37;

}

/* ===== Header Icons ===== */

.nav-icon{

    position:relative;

    width:48px;

    height:48px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    text-decoration:none;

    color:#fff;

    background:#1d1d1d;

    border:1px solid rgba(212,175,55,.2);

    transition:.3s;

    margin-left:10px;

}

.nav-icon:hover{

    background:linear-gradient(135deg,#d4af37,#f8de7e);

    color:#111;

    transform:translateY(-3px);

    box-shadow:0 10px 25px rgba(212,175,55,.35);

}

.nav-icon i{

    font-size:22px;

}

.cart-btn {
    position: relative !important;
}

.cart-count {
    position: absolute !important;

    top: -6px !important;
    right: -6px !important;

    width: 18px !important;
    height: 18px !important;

    min-width: 18px !important;
    max-width: 18px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: block !important;

    background: #dc3545 !important;
    color: #fff !important;

    border-radius: 50% !important;
    border: 2px solid #171717 !important;

    box-sizing: border-box !important;

    font-family: "Vazirmatn", Tahoma, Arial, sans-serif !important;
    font-size: 9px !important;
    font-weight: 900 !important;

    line-height: 14px !important;

    text-align: center !important;

    vertical-align: middle !important;

    z-index: 999 !important;
}

.header-actions{

    display:flex;
    align-items:center;
    gap:15px;

}

.user-info small{

    margin-top:6px;

}

.dropdown-toggle::after{
    display:none !important;
}

.user-btn .bi-chevron-down{

    color:#111;

    font-size:13px;

    margin-right:8px;

    transition:.3s;

}

.user-btn.show .bi-chevron-down{

    transform:rotate(180deg);

}

.user-info small{

    direction:ltr;

    unicode-bidi:isolate;

}

.user-info small{

    display:flex;
    align-items:center;
    gap:8px;
}

.user-info small span{

    direction:ltr;
    unicode-bidi:isolate;

}

.user-info small span{
    direction:ltr;
    unicode-bidi:isolate;
    font-weight:700;
    letter-spacing:1px;
}
.header-actions{

    display:flex;

    align-items:center;

    gap:20px;

    direction:ltr;

}
.user-btn{

    display:flex;

    align-items:center;

    gap:10px;

}
.header-actions{
    display:flex;
    align-items:center;
    gap:18px;
}


/* همه آیکون‌های هدر */
.header-actions .header-icon,
.header-actions .nav-icon{
    width:55px;
    height:55px;
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
}


/* آیکون سبد و جستجو */
.header-actions i{
    font-size:28px;
}


/* دکمه کاربر */
.user-btn{

    display:flex !important;
    align-items:center !important;
    gap:10px;

}


/* دایره کاربر */
.user-avatar{

    width:55px;
    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

}


/* متن کاربر */
.user-info{

    display:flex;
    flex-direction:column;
    justify-content:center;

}
.cart-btn{
    margin-top:5px;
}

.header-actions .bi-search{
    margin-top:3px;
}




/* جستجو و سبد خرید */
.nav-icon{

    width:55px;
    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

    position:relative;

}


.nav-icon i{

    font-size:28px;

}


/* سبد خرید */
.cart-btn{

    margin-top:0 !important;

}


/* پروفایل */
.user-btn{

    height:55px;

    display:flex !important;

    align-items:center !important;

    gap:10px;

}


/* آواتار */
.user-avatar{

    width:55px !important;

    height:55px !important;

    flex-shrink:0;

}


/* متن کاربر */
.user-info{

    line-height:1.3;

}


/* فلش */
.user-btn .bi-chevron-down{

    margin-right:5px;

    font-size:13px;

}

.dropdown-menu{

    min-width:300px !important;

    padding:20px !important;

    border-radius:25px !important;

}


.dropdown-item{

    padding:14px 18px !important;

    border-radius:12px;

    display:flex;

    align-items:center;

    gap:15px;

}


.dropdown-item:hover{

    background:#d4af37 !important;

    color:#111 !important;

}
.user-dropdown-header{

    padding-bottom:20px;

    border-bottom:1px solid rgba(212,175,55,.25);

}




/* پروفایل */
.user-btn{
    display:flex !important;
    align-items:center !important;
    gap:10px;
    white-space:nowrap;
}















.search-btn i,
.cart-btn i{

    font-size:30px;

}

.nav-tools{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center;
    gap:20px;
    width:auto;
}


/* همه آیتم‌های داخل هدر */
.nav-tools > a,
.nav-tools > div,
.nav-tools > .cart-btn{
    display:flex;
    align-items:center;
    justify-content:center;
}


/* پروفایل */
.user-btn{
    order:1;
}


/* سبد خرید */
.cart-btn{
    order:2;
    position:relative;
}


/* جستجو */
.search-btn{
    order:3;
}
.nav-tools .bi-search,
.nav-tools .bi-cart3{

    color:#111 !important;

    font-size:32px;

}

.nav-tools{

    display:flex;
    align-items:center;
    gap:25px;

}


.cart-btn,
.search-btn{

    width:55px;
    height:55px;

    display:flex;
    align-items:center;
    justify-content:center;

}

.nav-tools .bi-search{
    font-size:26px !important;
}


.nav-tools .bi-cart3{
    font-size:25px !important;
}


.user-avatar i{
    font-size:22px !important;
}

.user-avatar{

    width:50px !important;
    height:50px !important;

}

.user-avatar{

    width:48px;
    height:48px;

    border-radius:50%;

    background:linear-gradient(135deg,#d4af37,#8c6b10);

    color:#111;

    display:flex;

    align-items:center;

    justify-content:center;

}

.user-avatar i{

    font-size:22px;

}

.user-icon{

    font-size:26px !important;

    color:#111;

    cursor:pointer;

}

.nav-tools i{

    font-size:26px;

    color:#111;

}

.nav-tools{
    display:flex;
    align-items:center;
}


.nav-tools > a,
.nav-tools > .cart-btn,
.nav-tools > .user-btn{

    height:50px;

    display:flex;

    align-items:center;

    justify-content:center;

}


.nav-tools i{

    line-height:1;

    vertical-align:middle;

}

.bi-search{
    transform:translateY(1px);
}


.bi-cart3{
    transform:translateY(1px);
}


.user-icon{
    transform:translateY(1px);
}

/* آیکون‌های داخل منوی کاربر */
.dropdown-menu .dropdown-item i{

    color:#d4af37 !important;

    font-size:18px;

}


/* رنگ متن گزینه‌های منو */
.dropdown-menu .dropdown-item{

    color:#fff;

}


/* وقتی موس روی گزینه می‌رود */
.dropdown-menu .dropdown-item:hover i{

    color:#111 !important;

}

.profile-card{

    max-width:750px;

    margin:auto;

    background:#171717;

    border:1px solid rgba(212,175,55,.25);

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

.profile-header{

    padding:45px;

    text-align:center;

    background:linear-gradient(135deg,#1b1b1b,#111);

}

.profile-avatar{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:#d4af37;

    color:#111;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:42px;

    margin-bottom:20px;

}

.profile-header h2{

    color:#fff;

    margin-bottom:10px;

}

.profile-header span{

    color:#d4af37;

    font-size:15px;

}

.profile-body{

    padding:35px;

}

.profile-item{

    display:flex;

    justify-content:space-between;

    padding:18px 0;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.profile-item label{

    color:#999;

}

.profile-item p{

    color:#fff;

    margin:0;

    font-weight:bold;

}

.profile-header{

    text-align:center;

    padding:45px 30px;

    background:linear-gradient(180deg,#1b1b1b,#121212);

    border-bottom:1px solid rgba(212,175,55,.25);

}

.profile-avatar{

    width:90px;

    height:90px;

    margin:auto;

    border-radius:50%;

    background:linear-gradient(135deg,#d4af37,#b89016);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#111;

    font-size:38px;

    margin-bottom:18px;

}

.profile-header h2{

    color:#fff;

    font-weight:700;

    margin-bottom:6px;

}

.profile-level{

    color:#d4af37;

    margin-bottom:18px;

    letter-spacing:1px;

    font-size:14px;

}

.profile-phone{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:40px;

    background:#222;

    border:1px solid rgba(212,175,55,.25);

    color:#fff;

}

.profile-phone i{

    color:#d4af37;

}

.profile-phone span{

    direction:ltr;

    font-weight:600;

    letter-spacing:1px;

}

.profile-actions{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

    margin-top:35px;

}

.profile-action{

    background:#1b1b1b;

    border:1px solid rgba(212,175,55,.25);

    border-radius:18px;

    padding:30px 20px;

    text-align:center;

    text-decoration:none;

    transition:.3s;

}

.profile-action:hover{

    transform:translateY(-5px);

    border-color:#d4af37;

    box-shadow:0 10px 25px rgba(212,175,55,.15);

}

.profile-action i{

    font-size:34px;

    color:#d4af37;

    display:block;

    margin-bottom:15px;

}

.profile-action span{

    color:#fff;

    font-weight:bold;

}

.cart-card{

    max-width:700px;
    margin:auto;
    background:#171717;
    border:1px solid rgba(212,175,55,.25);
    border-radius:25px;
    padding:60px 40px;
    text-align:center;

}

.cart-icon{

    font-size:70px;
    color:#d4af37;
    margin-bottom:20px;

}

.cart-card h2{

    color:#fff;
    margin-bottom:15px;

}

.cart-card p{

    color:#bdbdbd;

}

.sim-card{

    background:#181818;
    border:1px solid rgba(212,175,55,.20);
    border-radius:18px;

    padding:20px;

    transition:.35s;

}

.sim-card:hover{

    transform:translateY(-6px);

    border-color:#d4af37;

    box-shadow:0 10px 25px rgba(212,175,55,.18);

}

.sim-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.operator{

    color:#d4af37;

    font-size:18px;

    font-weight:bold;

}

.sim-number{

    text-align:center;

    font-size:32px;

    font-weight:800;

    color:#fff;

    letter-spacing:3px;

    margin-bottom:12px;

}

.vip-text{

    text-align:center;

    color:#d4af37;

    font-size:16px;
    font-weight:600;

    margin-bottom:12px;

}

.sim-price{

    text-align:center;

    color:#d4af37;

    font-size:26px;

    font-weight:700;

    margin-bottom:18px;

}

.cart-btn{
    width:100%;
    height:50px;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    background:#ffc107;
    color:#000;
    border:none;
    border-radius:12px;

    font-size:17px;
    font-weight:700;

    text-decoration:none;
}

.cart-btn i{
    font-size:20px;
    line-height:1;
}

.cart-btn span{
    display:inline !important;
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
}

.cart-btn i{
    display:inline-block !important;
    position:static !important;
}

.cart-summary{

    background:#181818;

    border:1px solid rgba(212,175,55,.2);

    border-radius:20px;

    padding:25px;

    margin-top:30px;

    text-align:center;

}


.total-price{

    color:#d4af37;

    font-size:30px;

    font-weight:800;

    margin:15px 0;

}


.continue-btn,
.checkout-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:12px 25px;

    border-radius:12px;

    margin:5px;

    text-decoration:none;

    font-weight:bold;

}


.continue-btn{

    background:#333;

    color:#fff;

}


.checkout-btn{

    background:#d4af37;

    color:#000;

}

.operator-filter{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-bottom:30px;
    flex-wrap:wrap;
}


.filter-btn{

    background:#181818;
    color:#d4af37;

    border:1px solid rgba(212,175,55,.35);

    padding:10px 25px;

    border-radius:25px;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;

}


.filter-btn:hover{

    background:#d4af37;
    color:#111;

    transform:translateY(-3px);

    box-shadow:0 8px 20px rgba(212,175,55,.25);

}



.filter-btn.active{

    background:#d4af37;
    color:#111;

}

.price-filter{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;

    background:#181818;

    border:1px solid rgba(212,175,55,.2);

    padding:20px;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}


.price-filter input{

    width:220px;

    height:50px;

    background:#242424;

    color:#fff;

    border:1px solid #444;

    border-radius:15px;

    padding:0 20px;

    font-size:15px;

    transition:.3s;

}


.price-filter input::placeholder{

    color:#999;

}


.price-filter input:focus{

    outline:none;

    border-color:#d4af37;

    box-shadow:0 0 12px rgba(212,175,55,.25);

}


.price-filter input:hover{

    border-color:#d4af37;

}

.price-title{

    color:#d4af37;

    font-size:18px;

    font-weight:700;

}

/* حذف فلش input number در Chrome, Edge, Safari */
.price-filter input[type="number"]::-webkit-inner-spin-button,
.price-filter input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox number input fix */
.price-filter input[type="number"] {
    -moz-appearance: textfield;
}

.search-box{

    position:relative;

    max-width:600px;

    margin:0 auto 10px;

}


.search-box input{

    width:100%;

    height:55px;

    background:#181818;

    color:#fff;

    border:1px solid rgba(212,175,55,.25);

    border-radius:18px;

    padding:0 55px 0 20px;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}


.search-box input::placeholder{

    color:#aaa;

}


.search-box input:focus{

    outline:none;

    border-color:#d4af37;

    box-shadow:0 0 15px rgba(212,175,55,.25);

}


.search-box i{

    position:absolute;

    right:20px;

    top:50%;

    transform:translateY(-50%);

    color:#d4af37;

    font-size:22px;

}

.search-box{
    margin-top:0px;
}



.number-box {
    text-align: center;
    margin: 20px 0;
}

.copy-btn {
    margin-top: 10px;
    padding: 8px 18px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.copy-btn:hover {
    background: #d4af37;
    color: #000;
}

.share-btn {
    margin-top: 10px;
    margin-right: 8px;
    padding: 8px 18px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.share-btn:hover {
    background: #d4af37;
    color: #000;
}

/* ===== Details Page ===== */

.operator-box{
    text-align:center;
    margin-bottom:25px;
}


.operator-logo{
    width:90px;
    height:90px;
    object-fit:contain;
    background:#fff;
    padding:12px;
    border-radius:22px;
    box-shadow:0 0 25px rgba(212,175,55,.35);
}


.number-box h2,
#simNumber{
    font-size:42px;
    font-weight:800;
    letter-spacing:2px;
    color:#d4af37;
}


.copy-btn,
.share-btn{

    padding:10px 20px;
    border-radius:12px;
    border:1px solid #d4af37;
    background:transparent;
    color:#d4af37;
    transition:.3s;

}


.copy-btn:hover,
.share-btn:hover{

    background:#d4af37;
    color:#000;

}


.card{

    border-radius:20px;

}


.card:hover{

    transform:translateY(-5px);
    transition:.3s;

}


.btn-warning{

    background:#d4af37;
    border:none;
    color:#000;
    font-weight:700;

}


.btn-warning:hover{

    background:#f1c40f;
    color:#000;

}

.sold-btn{

    background:#dc3545;
    color:white;
    text-align:center;
    padding:12px;
    border-radius:12px;
    font-weight:bold;

}

/* =========================
   CART PAGE
========================= */

.cart-page-title {
    width: fit-content;
    margin: 0 auto 40px;

    padding: 14px 35px;

    position: relative;

    color: #171717;

    font-size: 30px;
    font-weight: 800;

    background: linear-gradient(
        135deg,
        #d4af37,
        #f1d477
    );

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(212, 175, 55, .22);

    text-align: center;
}

.cart-page-title::after {
    content: "";

    position: absolute;

    bottom: -8px;
    left: 50%;

    width: 55px;
    height: 4px;

    transform: translateX(-50%);

    background: #171717;

    border-radius: 10px;
}

.sim-card {
    background: linear-gradient(145deg, #171717, #242424);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    padding: 22px;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: 0.3s;
}

.sim-card:hover {
    transform: translateY(-4px);
    border-color: #d4af37;
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.sim-card h4 {
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 15px;
}

.sim-number {
    background: #0f0f0f;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 12px;
    padding: 12px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 1px;
}

.sim-price {
    margin-top: 15px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary {
    margin-top: 30px;
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(145deg, #171717, #222);
    border: 1px solid rgba(212, 175, 55, 0.4);
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.cart-summary h4 {
    color: #aaa;
    margin-bottom: 10px;
}

.total-price {
    color: #d4af37;
    font-size: 30px;
    font-weight: 900;
}

.continue-btn,
.checkout-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.continue-btn {
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    margin-left: 10px;
}

.continue-btn:hover {
    background: #d4af37;
    color: #000;
}

.checkout-btn {
    background: #d4af37;
    color: #000;
    border: 1px solid #d4af37;
}

.checkout-btn:hover {
    background: #f1c40f;
    color: #000;
    transform: translateY(-2px);
}

.sim-card .btn-danger {
    border-radius: 10px;
    font-weight: 600;
}

/* سبد خالی */
.cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: #171717;
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 20px;
    color: #fff;
}

/* =========================
   ORDER SUCCESS PAGE
========================= */

.success-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.12),
            transparent 45%
        ),
        #f5f5f5;
}

.success-card {

    width: 100%;
    max-width: 650px;

    padding: 50px 40px;

    text-align: center;

    background: linear-gradient(
        145deg,
        #171717,
        #242424
    );

    border: 1px solid rgba(212, 175, 55, 0.45);

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 35px rgba(212, 175, 55, 0.08);

}

.success-icon {

    width: 90px;
    height: 90px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #198754;

    color: white;

    font-size: 52px;
    font-weight: 900;

    box-shadow:
        0 0 0 8px rgba(25, 135, 84, 0.12),
        0 10px 30px rgba(25, 135, 84, 0.25);

}

.success-card h1 {

    margin-bottom: 15px;

    color: #d4af37;

    font-size: 32px;
    font-weight: 800;

}

.success-message {

    color: #cccccc;

    font-size: 17px;

    line-height: 2;

    margin-bottom: 30px;

}

.order-number {

    padding: 18px;

    margin: 0 auto 30px;

    max-width: 400px;

    background: #101010;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 15px;

}

.order-number span {

    display: block;

    color: #999;

    margin-bottom: 8px;

}

.order-number strong {

    display: block;

    color: #d4af37;

    font-size: 25px;

    direction: ltr;

}

.success-actions {

    display: flex;

    gap: 15px;

    justify-content: center;

}

.success-btn {

    padding: 13px 28px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;

}

.success-btn.primary {

    background: #d4af37;

    color: #000;

}

.success-btn.primary:hover {

    background: #f1c40f;

    transform: translateY(-2px);

}

.success-btn.secondary {

    background: transparent;

    color: #d4af37;

    border: 1px solid #d4af37;

}

.success-btn.secondary:hover {

    background: #d4af37;

    color: #000;

}


/* موبایل */

@media (max-width: 576px) {

    .success-card {

        padding: 40px 20px;

    }

    .success-card h1 {

        font-size: 25px;

    }

    .success-actions {

        flex-direction: column;

    }

    .success-btn {

        width: 100%;

    }

}

/* =========================================
   CHECKOUT PAGE
========================================= */

.checkout-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: #f5f5f5;

    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.checkout-card {
    width: 100%;
    max-width: 650px;

    background: #171717;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 25px;

    padding: 35px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.20);

    color: white;
}

.checkout-header {
    text-align: center;
    margin-bottom: 25px;
}

.checkout-icon {
    font-size: 55px;
    margin-bottom: 10px;
}

.checkout-header h1 {
    color: #d4af37;
    font-weight: 800;
    margin-bottom: 10px;
}

.checkout-header p {
    color: #aaa;
    margin: 0;
}


/* خطا */

.checkout-error {
    background: rgba(220, 53, 69, 0.12);
    border: 1px solid rgba(220, 53, 69, 0.5);

    color: #ff7b88;

    padding: 14px 18px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-weight: 600;
}


/* خلاصه سفارش */

.checkout-summary {
    display: flex;
    gap: 15px;

    margin-bottom: 25px;
}

.checkout-summary > div {
    flex: 1;

    background: #222;

    border: 1px solid #333;

    border-radius: 14px;

    padding: 15px;

    text-align: center;
}

.checkout-summary span {
    display: block;

    color: #999;

    font-size: 14px;

    margin-bottom: 8px;
}

.checkout-summary strong {
    display: block;

    color: #d4af37;

    font-size: 20px;
}


/* فرم */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    color: #d4af37;

    font-weight: 700;

    margin-bottom: 8px;
}

.form-group input {
    width: 100%;

    padding: 14px 16px;

    border-radius: 12px;

    border: 1px solid #444;

    background: #222;

    color: white;

    outline: none;

    transition: 0.3s;
}

.form-group input:focus {
    border-color: #d4af37;

    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.10);
}

.form-group input::placeholder {
    color: #777;
}

.form-group small {
    display: block;

    color: #888;

    margin-top: 7px;

    font-size: 12px;
}


/* دکمه ثبت */

.checkout-submit {
    width: 100%;

    border: none;

    border-radius: 13px;

    padding: 15px;

    background: #d4af37;

    color: #111;

    font-size: 18px;

    font-weight: 800;

    cursor: pointer;

    transition: 0.3s;
}

.checkout-submit:hover {
    background: #f1c40f;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.20);
}


/* برگشت */

.checkout-back {
    display: block;

    text-align: center;

    margin-top: 20px;

    color: #aaa;

    text-decoration: none;

    transition: 0.3s;
}

.checkout-back:hover {
    color: #d4af37;
}


/* =========================================
   SUCCESS PAGE
========================================= */

.success-page {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 30px;

    background:
        radial-gradient(
            circle at top,
            rgba(212, 175, 55, 0.12),
            transparent 45%
        ),
        #f5f5f5;
}

.success-card {
    width: 100%;
    max-width: 650px;

    padding: 50px 40px;

    text-align: center;

    background: linear-gradient(
        145deg,
        #171717,
        #242424
    );

    border: 1px solid rgba(212, 175, 55, 0.45);

    border-radius: 28px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        0 0 35px rgba(212, 175, 55, 0.08);
}

.success-icon {
    width: 90px;
    height: 90px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #198754;

    color: white;

    font-size: 52px;

    font-weight: 900;

    box-shadow:
        0 0 0 8px rgba(25, 135, 84, 0.12),
        0 10px 30px rgba(25, 135, 84, 0.25);
}

.success-card h1 {
    margin-bottom: 15px;

    color: #d4af37;

    font-size: 32px;

    font-weight: 800;
}

.success-message {
    color: #cccccc;

    font-size: 17px;

    line-height: 2;

    margin-bottom: 30px;
}

.order-number,
.success-total {
    padding: 18px;

    margin: 0 auto 15px;

    max-width: 400px;

    background: #101010;

    border: 1px solid rgba(212, 175, 55, 0.25);

    border-radius: 15px;
}

.order-number span,
.success-total span {
    display: block;

    color: #999;

    margin-bottom: 8px;
}

.order-number strong,
.success-total strong {
    display: block;

    color: #d4af37;

    font-size: 24px;
}

.order-number strong {
    direction: ltr;
}

.success-actions {
    display: flex;

    gap: 15px;

    justify-content: center;

    margin-top: 25px;
}

.success-btn {
    padding: 13px 28px;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.success-btn.primary {
    background: #d4af37;

    color: #000;
}

.success-btn.primary:hover {
    background: #f1c40f;

    transform: translateY(-2px);
}

.success-btn.secondary {
    background: transparent;

    color: #d4af37;

    border: 1px solid #d4af37;
}

.success-btn.secondary:hover {
    background: #d4af37;

    color: #000;
}


/* موبایل */

@media (max-width: 576px) {

    .checkout-page {
        padding: 25px 15px;
    }

    .checkout-card {
        padding: 25px 18px;
    }

    .checkout-summary {
        flex-direction: column;
    }

    .success-card {
        padding: 40px 20px;
    }

    .success-card h1 {
        font-size: 25px;
    }

    .success-actions {
        flex-direction: column;
    }

    .success-btn {
        width: 100%;
    }

}

/* =========================================
   CART PAGE
========================================= */

.cart-page-title {
    width: fit-content;
    margin: 0 auto 40px;

    padding: 14px 35px;

    position: relative;

    color: #171717;

    font-size: 30px;
    font-weight: 800;

    background: linear-gradient(
        135deg,
        #d4af37,
        #f1d477
    );

    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(212, 175, 55, .22);

    text-align: center;
}

.cart-page-title::after {
    content: "";

    position: absolute;

    bottom: -8px;
    left: 50%;

    width: 55px;
    height: 4px;

    transform: translateX(-50%);

    background: #171717;

    border-radius: 10px;
}


/* کارت هر سیم کارت */

.sim-card {
    max-width: 850px;
    margin: 0 auto 18px;

    padding: 24px;

    background: #171717;
    color: #fff;

    border-radius: 20px;

    border: 1px solid rgba(212, 175, 55, .25);

    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);

    transition: .25s;
}

.sim-card:hover {
    transform: translateY(-3px);

    border-color: rgba(212, 175, 55, .7);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}


/* اپراتور */

.sim-card h4 {
    color: #d4af37;

    font-size: 17px;

    font-weight: 700;

    margin-bottom: 14px;
}


/* شماره */

.sim-number {
    font-size: 26px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #fff;

    background: #222;

    border: 1px solid #333;

    border-radius: 12px;

    padding: 14px;

    text-align: center;
}


/* قیمت */

.sim-price {
    margin-top: 15px;

    color: #d4af37;

    font-size: 22px;

    font-weight: 800;
}


/* دکمه حذف */

.sim-card .btn-danger {
    border-radius: 10px;

    padding: 10px 18px;

    font-weight: 700;
}


/* سبد خالی */

.cart-empty {
    max-width: 600px;

    margin: 0 auto 30px;

    padding: 55px 25px;

    text-align: center;

    background: #171717;

    color: white;

    border-radius: 25px;

    border: 1px solid rgba(212, 175, 55, .3);

    box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
}

.cart-empty:first-letter {
    font-size: 50px;
}

.cart-empty h3 {
    color: #d4af37;

    font-weight: 800;

    margin: 15px 0 10px;
}

.cart-empty p {
    color: #999;

    margin-bottom: 25px;
}


/* خلاصه خرید */

.cart-summary {
    max-width: 850px;

    margin: 30px auto;

    padding: 25px;

    background: #171717;

    color: white;

    border-radius: 20px;

    border: 1px solid rgba(212, 175, 55, .35);

    box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
}

.cart-summary h4 {
    color: #d4af37;

    font-weight: 800;

    margin-bottom: 18px;
}


/* قیمت نهایی */

.total-price {
    display: flex;

    align-items: center;

    justify-content: center;

    padding: 18px;

    background: #222;

    border-radius: 14px;

    color: #d4af37;

    font-size: 28px;

    font-weight: 900;

    border: 1px solid #333;
}


/* دکمه ادامه خرید */

.continue-btn {
    display: block;

    max-width: 850px;

    margin: 12px auto;

    padding: 14px;

    text-align: center;

    color: #d4af37;

    border: 1px solid #d4af37;

    border-radius: 12px;

    text-decoration: none;

    font-weight: 800;

    transition: .25s;
}

.continue-btn:hover {
    background: #d4af37;

    color: #111;
}


/* دکمه ثبت سفارش */

.cart-summary + .continue-btn + .checkout-btn,
.checkout-btn {
    display: block;

    max-width: 850px;

    margin: 12px auto;

    padding: 15px;

    text-align: center;

    background: #d4af37;

    color: #111;

    border-radius: 12px;

    text-decoration: none;

    font-size: 18px;

    font-weight: 900;

    transition: .25s;
}

.checkout-btn:hover {
    background: #f1c40f;

    color: #111;

    transform: translateY(-2px);

    box-shadow: 0 8px 25px rgba(212, 175, 55, .2);
}


/* موبایل */

@media (max-width: 600px) {

    .cart-page-title {
        font-size: 27px;

        margin-bottom: 25px;
    }

    .sim-card {
        padding: 18px;
    }

    .sim-number {
        font-size: 20px;

        padding: 12px;
    }

    .sim-price {
        font-size: 19px;
    }

    .cart-summary {
        padding: 20px;
    }

    .total-price {
        font-size: 23px;
    }

}

.cart-remove-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    padding: 10px 18px;

    background: #dc3545;

    color: #fff;

    border: none;

    border-radius: 10px;

    text-decoration: none;

    font-family: 'Vazirmatn', Tahoma, sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;
}

.cart-remove-btn i {
    font-size: 16px;
}

.cart-remove-btn:hover {
    background: #b02a37;

    color: #fff;

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(220, 53, 69, .25);
}

.cart-remove-btn:active {
    transform: translateY(0);
}

/* همان فونت عمومی سایت برای cart.php */

.cart-page-title,
.sim-card,
.sim-card h4,
.sim-number,
.sim-price,
.cart-remove-btn,
.cart-summary,
.cart-summary h4,
.total-price,
.continue-btn,
.checkout-btn,
.cart-empty {
    font-family: inherit;
}

.cart-page-title {
    font-weight: 800;
}

.sim-card h4 {
    font-weight: 700;
}

.sim-number {
    font-weight: 700;
}

.sim-price {
    font-weight: 700;
}

.cart-summary h4 {
    font-weight: 700;
}

.total-price {
    font-weight: 800;
}

.cart-remove-btn,
.continue-btn,
.checkout-btn {
    font-weight: 700;
}

.cart-wrapper {
    position: relative;
}


/* دکمه سبد */

.cart-btn {
    position: relative;

    border: none;
    background: transparent;

    cursor: pointer;
}


/* منوی سبد */

.cart-dropdown {

    position: absolute;

    top: calc(100% + 14px);

    left: 50%;

    transform:
        translateX(-50%)
        translateY(-8px);

    width: 285px;

    padding: 18px;

    background: #171717;

    color: #fff;

    border-radius: 18px;

    border:
        1px solid
        rgba(212,175,55,.35);

    box-shadow:
        0 15px 40px
        rgba(0,0,0,.25);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .25s ease,
        transform .25s ease,
        visibility .25s ease;

    z-index: 9999;
}


/* منوی باز */

.cart-dropdown.show {

    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* عنوان */

.cart-dropdown-title {

    display: flex;

    align-items: center;

    gap: 9px;

    padding-bottom: 13px;

    margin-bottom: 13px;

    border-bottom:
        1px solid #333;

    color: #d4af37;

    font-size: 15px;

    font-weight: 800;
}


/* اطلاعات */

.cart-dropdown-info {

    display: flex;

    flex-direction: column;

    gap: 9px;

    margin-bottom: 14px;
}


.cart-dropdown-info > div {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 10px 12px;

    background: #222;

    border-radius: 10px;
}


.cart-dropdown-info span {

    color: #888;

    font-size: 10px;
}


.cart-dropdown-info strong {

    color: #eee;

    font-size: 11px;
}


.cart-dropdown-price {

    color: #d4af37 !important;
}


/* دکمه */

.cart-dropdown-btn {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    padding: 11px;

    background: #d4af37;

    color: #171717;

    border-radius: 10px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 800;

    transition: .25s;
}


.cart-dropdown-btn:hover {

    background: #efd06a;

    color: #171717;

    transform: translateY(-2px);
}


/* سبد خالی */

.cart-empty-mini {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 18px 10px;

    color: #888;

    font-size: 11px;
}


.cart-empty-mini i {

    color: #555;

    font-size: 28px;
}

@media (max-width: 600px) {

    .cart-dropdown {

        position: fixed;

        top: 70px;

        left: 50%;

        width: calc(100vw - 30px);

        max-width: 320px;

    }

}

.nav-tools {
    display: flex;
    gap: 14px;
    direction: ltr;
}

.nav-tools .dropdown {
    order: 1;
}

.nav-tools .search-btn {
    order: 3;
}

.nav-tools .cart-wrapper {
    order: 2;
}

.shop-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin-top: 18px;
    padding: 12px 16px;

    background: linear-gradient(135deg, #d4af37, #f1d36a);
    color: #171717 !important;

    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, .5);

    text-decoration: none !important;

    font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;

    box-shadow: 0 6px 18px rgba(212,175,55,.18);

    transition: .25s ease;
}

.shop-cart-btn i {
    font-size: 17px;
}

.shop-cart-btn:hover {
    color: #171717 !important;
    transform: translateY(-2px);

    background: linear-gradient(135deg, #e2bf45, #f7dc7a);

    box-shadow: 0 10px 25px rgba(212,175,55,.3);
}

.shop-cart-btn:active {
    transform: translateY(0);
}

/* =========================================
   SHOP - MOBILE
========================================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* جستجو */
    .search-box {
        width: 100%;
        height: 48px;
    }

    .search-box input {
        width: 100%;
        font-size: 14px;
    }

    /* فیلتر اپراتور */
    .operator-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 18px !important;
    }

    .operator-filter .filter-btn {
        flex: 1 1 calc(50% - 8px);
        min-height: 42px;
        padding: 8px 10px;
        font-size: 13px;
        text-align: center;
    }

    /* فیلتر قیمت */
    .price-filter {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
    }

    .price-title {
        width: 100%;
        font-size: 14px;
        margin-bottom: 2px;
    }

    .price-filter input {
        width: calc(50% - 4px) !important;
        height: 44px;
        margin: 0 !important;
        font-size: 13px;
    }

    /* مرتب‌سازی */
    .sort-box {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }

    .sort-box .filter-btn {
        flex: 1 1 calc(50% - 8px);
        min-height: 42px;
        padding: 8px;
        font-size: 13px;
        text-align: center;
    }

    /* کارت‌ها */
    #cards {
        margin-left: 0;
        margin-right: 0;
    }

    #cards > div {
        width: 100%;
        padding-left: 5px;
        padding-right: 5px;
        margin-bottom: 14px !important;
    }

    .sim-card {
        width: 100%;
        padding: 18px 15px;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .sim-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .sim-header .badge {
        font-size: 11px;
        padding: 6px 9px;
    }

    .operator {
        font-size: 13px;
    }

    /* شماره */
    .sim-number {
        font-size: 22px !important;
        letter-spacing: 1px;
        margin: 18px 0 10px;
        text-align: center;
        white-space: nowrap;
    }

    .vip-text {
        font-size: 12px;
        margin-bottom: 8px;
        text-align: center;
    }

    /* قیمت */
    .sim-price {
        font-size: 17px !important;
        text-align: center;
        margin-bottom: 15px;
    }

    /* دکمه خرید */
    .shop-cart-btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 13px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .shop-cart-btn i {
        font-size: 18px;
    }

    .sold-btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 13px;
        font-size: 14px;
    }
}


/* گوشی‌های کوچک */
@media (max-width: 400px) {

    .sim-number {
        font-size: 20px !important;
    }

    .sim-card {
        padding: 16px 13px;
    }

    .operator {
        font-size: 12px;
    }

    .shop-cart-btn {
        font-size: 13px;
    }

}

/* =========================================
   FINAL MOBILE FIX - SHOP
========================================= */

@media screen and (max-width: 768px) {

    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        width: 100%;
        min-width: 0 !important;
        overflow-x: hidden !important;
    }

    /* کانتینر اصلی فروشگاه */
    body > .container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 20px 12px !important;
    }

    /* جلوگیری از کش آمدن Row بوت‌استرپ */
    body > .container > .row {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* جستجو */
    .search-box {
        width: 100% !important;
        max-width: 100% !important;
        height: 48px !important;
        box-sizing: border-box !important;
    }

    .search-box input {
        min-width: 0 !important;
        width: 100% !important;
        font-size: 14px !important;
    }

    /* فیلتر اپراتور */
    .operator-filter {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .operator-filter .filter-btn {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 13px !important;
        padding: 10px 5px !important;
    }

    /* قیمت */
    .price-filter {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .price-title {
        grid-column: 1 / -1;
        width: 100% !important;
    }

    .price-filter input {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        height: 44px !important;
    }

    /* مرتب سازی */
    .sort-box {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    .sort-box .filter-btn {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 13px !important;
        padding: 10px 5px !important;
    }

    /* لیست کارت‌ها */
    #cards {
        width: 100% !important;
        margin: 0 !important;
    }

    #cards > .col-lg-4,
    #cards > .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        margin-bottom: 15px !important;
    }

    /* خود کارت */
    #cards .sim-card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        padding: 18px 14px !important;

        border-radius: 18px !important;

        box-sizing: border-box !important;
    }

    /* شماره */
    #cards .sim-number {
        width: 100% !important;
        max-width: 100% !important;

        font-size: 21px !important;
        letter-spacing: 1px !important;

        white-space: nowrap !important;
        overflow: hidden !important;

        text-align: center !important;
    }

    /* اپراتور */
    #cards .operator {
        font-size: 13px !important;
    }

    /* قیمت */
    #cards .sim-price {
        font-size: 17px !important;
        text-align: center !important;
    }

    /* دکمه */
    #cards .shop-cart-btn,
    #cards .sold-btn {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* گوشی خیلی کوچک */
@media screen and (max-width: 380px) {

    body > .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    #cards .sim-number {
        font-size: 19px !important;
        letter-spacing: 0 !important;
    }

}

/* =========================================
   FINAL MOBILE NAVBAR
========================================= */

@media (max-width: 768px) {

    /* خود Navbar */
    .main-navbar {
        width: 100%;
        max-width: 100%;
        min-height: 70px;
        overflow: visible !important;
    }

    /* کانتینر */
    .main-navbar > .container {
        width: 100%;
        max-width: 100%;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }


    /* =========================================
       LOGO
    ========================================= */

    .main-navbar .navbar-brand {
        margin: 0 !important;
        padding: 0 !important;

        flex: 0 0 auto !important;
    }

    .logo-circle {
        width: 105px !important;
        height: 50px !important;

        flex-shrink: 0 !important;
    }

    .logo-circle span {
        font-size: 16px !important;
        line-height: 17px !important;
        white-space: nowrap !important;
    }

    .logo-circle small {
        font-size: 9px !important;
    }


    /* =========================================
       ابزارهای سمت راست
    ========================================= */

    .header-actions {
        margin: 0 !important;
        padding: 0 !important;

        flex: 0 1 auto !important;
        min-width: 0 !important;
    }

    .nav-tools {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        gap: 7px !important;

        width: auto !important;
        max-width: none !important;

        flex-wrap: nowrap !important;
        overflow: visible !important;
    }


    /* =========================================
       دکمه‌های جستجو و سبد
    ========================================= */

    .search-btn,
    .cart-btn {
        width: 40px !important;
        height: 40px !important;

        min-width: 40px !important;
        min-height: 40px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;
    }

    .nav-tools .bi-search,
    .nav-tools .bi-cart3 {
        font-size: 20px !important;
    }


    /* =========================================
       دکمه کاربر
    ========================================= */

    .user-btn {
        width: 40px !important;
        max-width: 40px !important;

        min-width: 40px !important;

        height: 40px !important;

        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex-shrink: 0 !important;

        overflow: visible !important;
    }

    .user-icon {
        font-size: 19px !important;
    }

    .user-btn .bi-chevron-down {
        display: none !important;
    }


    /* =========================================
       شمارنده سبد
    ========================================= */

    .cart-count {
        min-width: 16px !important;
        height: 16px !important;

        font-size: 9px !important;

        line-height: 16px !important;
    }


    /* =========================================
       همبرگری
    ========================================= */

    .navbar-toggler {
        display: block !important;

        margin: 0 !important;

        padding: 4px 6px !important;

        font-size: 24px !important;

        flex-shrink: 0 !important;
    }


    /* =========================================
       منوی دسکتاپ روی موبایل مخفی
    ========================================= */

    .main-navbar .navbar-collapse {
        display: none !important;
    }
}


/* =========================================
   گوشی‌های خیلی کوچک
========================================= */

@media (max-width: 380px) {

    .main-navbar > .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .logo-circle {
        width: 95px !important;
        height: 47px !important;
    }

    .logo-circle span {
        font-size: 15px !important;
    }

    .search-btn,
    .cart-btn,
    .user-btn {
        width: 37px !important;
        min-width: 37px !important;
        height: 37px !important;
        min-height: 37px !important;
    }

    .nav-tools {
        gap: 5px !important;
    }

    .navbar-toggler {
        font-size: 22px !important;
        padding: 3px 5px !important;
    }
}

@media (max-width: 768px) {

    .main-navbar > .container {
        position: relative !important;
    }

    .navbar-toggler {
        position: absolute !important;
        left: 12px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        margin: 0 !important;
        z-index: 10 !important;
    }

}

@media (max-width: 768px) {

    .header-actions {
        margin-left: 55px !important;
    }

}

/* ========================================
   SHOP MOBILE RESPONSIVE
======================================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
}


/* جستجو */

.search-box {
    width: 100%;
    max-width: 100%;
}

.search-box input {
    width: 100%;
    max-width: 100%;
}


/* فیلتر اپراتور */

.operator-filter {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


/* فیلتر قیمت */

.price-filter {
    width: 100%;
}

.price-inputs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.price-inputs .form-control {
    flex: 1;
    min-width: 0;
}


/* مرتب سازی */

.sort-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}


/* کارت‌ها */

#cards {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#cards > div {
    max-width: 100%;
}

.sim-card {
    width: 100%;
    max-width: 100%;
}


/* شماره */

.sim-number {
    max-width: 100%;
    overflow: hidden;
}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 767px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .operator-filter {
        justify-content: center;
    }

    .filter-btn {
        font-size: 13px;
        padding: 9px 13px;
    }

    .price-inputs {
        flex-direction: column;
    }

    .price-inputs .form-control {
        width: 100%;
        height: 46px;
    }

    .sort-box {
        justify-content: center;
    }

    .sim-card {
        margin-left: 0;
        margin-right: 0;
    }

    .sim-number {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .sim-price {
        font-size: 18px;
    }

    .shop-cart-btn {
        width: 100%;
    }

}

/* =========================================
   SHOP - MOBILE / TABLET POLISH
========================================= */

.shop-cart-btn,
.filter-btn,
.search-box,
.sim-card {
    -webkit-tap-highlight-color: transparent;
}

/* جلوگیری از بیرون‌زدگی */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
}

/* =========================
   Search
========================= */

.search-box {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
}

.search-box input {
    min-width: 0;
    width: 100%;
}

/* =========================
   Operator filters
========================= */

.operator-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    white-space: nowrap;
}

/* =========================
   Price
========================= */

.price-filter {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.price-inputs {
    display: flex;
    gap: 10px;
    flex: 1;
}

.price-inputs .form-control {
    min-width: 0;
}

/* =========================
   Sort
========================= */

.sort-box {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* =========================
   Cards
========================= */

#cards {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

#cards > div {
    min-width: 0;
}

.sim-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* شماره سیم کارت */

.sim-number {
    direction: ltr;
    text-align: center;
    white-space: nowrap;
}

/* قیمت */

.sim-price {
    white-space: nowrap;
}

/* دکمه سبد */

.shop-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    /* جستجو */

    .search-box {
        min-height: 48px;
        border-radius: 14px;
    }

    .search-box input {
        font-size: 14px;
    }

    /* فیلتر اپراتور */

    .operator-filter {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .operator-filter .filter-btn {
        width: 100%;
        min-height: 44px;
        padding: 8px 5px;
        font-size: 13px;
    }

    /* قیمت */

    .price-filter {
        display: block;
    }

    .price-title {
        display: block;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .price-inputs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .price-inputs .form-control {
        width: 100%;
        min-height: 44px;
        font-size: 13px;
    }

    /* مرتب سازی */

    .sort-box {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .sort-box .filter-btn {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    /* کارت */

    #cards {
        margin-top: 5px;
    }

    #cards > div {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .sim-card {
        margin-bottom: 16px;
        border-radius: 18px;
    }

    .sim-header {
        padding: 14px 15px;
    }

    .sim-number {
        font-size: clamp(20px, 6vw, 25px);
        letter-spacing: 1px;
        padding: 12px 8px;
    }

    .vip-text {
        font-size: 12px;
    }

    .sim-price {
        font-size: 18px;
        margin: 10px 0;
    }

    .shop-cart-btn {
        min-height: 48px;
        font-size: 14px;
        border-radius: 12px;
    }

}

/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .operator-filter {
        grid-template-columns: 1fr 1fr;
    }

    .price-inputs {
        grid-template-columns: 1fr;
    }

    .sort-box {
        grid-template-columns: 1fr;
    }

    .sim-number {
        font-size: 19px;
        letter-spacing: 0;
    }

    .shop-cart-btn {
        font-size: 13px;
    }

}

/* =========================================
   PRICE FILTER
========================================= */

.price-filter {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 15px;

    background: #181818;
    border: 1px solid rgba(212, 175, 55, .2);

    padding: 20px;
    border-radius: 20px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);

    box-sizing: border-box;
}

.price-title {
    flex: 0 0 auto;
    white-space: nowrap;
}

.price-inputs {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 1 1 auto;

    max-width: 500px;
}

.price-inputs .form-control {
    min-width: 0;
    width: 100%;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .price-filter {
        width: 100% !important;

        display: flex !important;

        flex-direction: column !important;

        align-items: stretch !important;
        justify-content: center !important;

        gap: 10px !important;

        padding: 15px !important;

        border-radius: 16px !important;

        box-sizing: border-box !important;
    }

    .price-title {
        width: 100% !important;

        text-align: right !important;

        font-size: 15px !important;
    }

    .price-inputs {
        width: 100% !important;

        max-width: none !important;

        display: flex !important;

        gap: 8px !important;

        flex-direction: row !important;
    }

    .price-inputs .form-control {
        width: 50% !important;

        min-width: 0 !important;

        height: 44px !important;

        font-size: 13px !important;
    }
}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .price-filter {
        padding: 12px !important;
        gap: 8px !important;
    }

    .price-title {
        font-size: 14px !important;
    }

    .price-inputs {
        gap: 6px !important;
    }

    .price-inputs .form-control {
        height: 42px !important;
        font-size: 12px !important;
    }
}

.site-logo {
    width: 115px;
    height: 59px;
    object-fit: contain;
    display: block;
}

@media screen and (max-width: 768px) {

    .site-logo {
        width: 100px;
        height: 48px;
    }

}