/* ==========================================================================
   AI Store - تم اختصاصی
   سبک: تیره / شیشه‌ای (Glassmorphism) با گرادیان نئونی بنفش-فیروزه‌ای
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --bg-base: #0a0b14;
    --bg-elevated: #12131f;
    --bg-card: rgba(255, 255, 255, 0.035);
    --border-glass: rgba(255, 255, 255, 0.09);
    --primary: #7c5cff;
    --primary-light: #9b82ff;
    --accent: #26e0c9;
    --accent-warm: #ff7a5c;
    --text-primary: #f3f2fa;
    --text-secondary: #a8a7bd;
    --text-muted: #6b6a80;
    --success: #2fd47a;
    --danger: #ff5c7a;
    --warning: #ffb84d;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 9px;
    --shadow-glow: 0 8px 40px rgba(124, 92, 255, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 15% 0%, #1b1440 0%, transparent 45%), radial-gradient(circle at 90% 10%, #0e2f30 0%, transparent 40%), var(--bg-base);
    color: var(--text-primary);
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    min-height: 100vh;
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- هدر ---------- */
.site-header {
    background: rgba(10, 11, 20, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand-logo {
    font-weight: 800;
    font-size: 1.4rem;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.nav-link-custom {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

    .nav-link-custom:hover, .nav-link-custom.active {
        color: var(--text-primary);
        background: rgba(124, 92, 255, 0.12);
    }


/* ---------- کارت‌ها ---------- */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .glass-card:hover {
        transform: translateY(-4px);
        border-color: rgba(124, 92, 255, 0.35);
    }

.product-card {
    padding: 1.1rem;
    height: 100%;
}

    .product-card .badge-type {
        display: inline-block;
        font-size: 0.72rem;
        padding: 0.25rem 0.7rem;
        border-radius: 999px;
        background: rgba(38, 224, 201, 0.12);
        color: var(--accent);
        font-weight: 600;
    }


/* ---------- بج وضعیت ---------- */
.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.status-pending {
    background: rgba(255, 184, 77, 0.15);
    color: var(--warning);
}

.status-paid {
    background: rgba(47, 212, 122, 0.15);
    color: var(--success);
}

.status-delivered {
    background: rgba(38, 224, 201, 0.15);
    color: var(--accent);
}

.status-cancelled, .status-failed {
    background: rgba(255, 92, 122, 0.15);
    color: var(--danger);
}

/* ---------- فرم‌ها ---------- */
.form-control-glass, .form-select-glass {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1rem;
}

    .form-control-glass:focus, .form-select-glass:focus {
        background: rgba(255,255,255,0.06);
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(124,92,255,0.18);
        color: var(--text-primary);
    }

    .form-control-glass::placeholder {
        color: var(--text-muted);
    }

/* ---------- فوتر ---------- */
.site-footer {
    border-top: 1px solid var(--border-glass);
    background: var(--bg-elevated);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    color: var(--text-secondary);
}

/* ---------- بلاگ ---------- */

/* ---------- تیکت ---------- */
.chat-bubble {
    max-width: 75%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
}

    .chat-bubble.from-user {
        background: rgba(124,92,255,0.15);
        margin-left: auto;
    }

    .chat-bubble.from-admin {
        background: rgba(255,255,255,0.05);
        margin-right: auto;
    }

/* ---------- اسکرول‌بار ---------- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}



/* =========================
   HERO SECTION
========================= */

.hero-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 20px;
    background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, .18), transparent 35%), linear-gradient(135deg, #070b18 0%, #0b1020 50%, #080b15 100%);
    isolation: isolate;
}

/* Background */

.hero-bg-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    opacity: .15;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient( to bottom, transparent, black 30%, black 70%, transparent );
}

/* Glowing Orbs */

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    animation: orbFloat 8s ease-in-out infinite;
}

.orb-1 {
    width: 320px;
    height: 320px;
    background: #6366f1;
    top: -100px;
    right: -80px;
}

.orb-2 {
    width: 280px;
    height: 280px;
    background: #06b6d4;
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: #8b5cf6;
    top: 45%;
    left: 50%;
    animation-delay: -5s;
}

/* Floating particles */

.floating-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,.8);
    opacity: .5;
    animation: particleFloat 6s ease-in-out infinite;
}

.p1 {
    top: 20%;
    left: 15%;
}

.p2 {
    top: 65%;
    left: 25%;
    animation-delay: -2s;
}

.p3 {
    top: 30%;
    right: 18%;
    animation-delay: -4s;
}

.p4 {
    top: 75%;
    right: 28%;
    animation-delay: -1s;
}

.p5 {
    top: 15%;
    left: 50%;
    animation-delay: -3s;
}

/* Badge */

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 17px;
    margin-bottom: 25px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    animation: fadeUp .8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e, 0 0 18px rgba(34,197,94,.6);
    animation: pulseDot 1.8s infinite;
}

/* Title */

.hero-title {
    max-width: 900px;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -2px;
    animation: fadeUp .9s .1s ease both;
}

.highlight {
    position: relative;
    background: linear-gradient( 90deg, #818cf8, #22d3ee, #a78bfa, #818cf8 );
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientMove 5s linear infinite;
}

/* Subtitle */

.hero-subtitle {
    max-width: 700px;
    color: #aeb7cb;
    font-size: 18px;
    line-height: 2;
    animation: fadeUp .9s .2s ease both;
}

/* Buttons */

.hero-buttons {
    animation: fadeUp .9s .3s ease both;
}

.btn-glow,
.btn-outline-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.btn-glow {
    color: white;
    border: 0;
    background: linear-gradient( 135deg, #6366f1, #8b5cf6 );
    box-shadow: 0 10px 35px rgba(99,102,241,.35);
}

    .btn-glow:hover {
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 15px 45px rgba(99,102,241,.55);
    }

.btn-outline-glow {
    color: #dbeafe;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(139,92,246,.45);
    backdrop-filter: blur(10px);
}

    .btn-outline-glow:hover {
        color: white;
        transform: translateY(-5px);
        background: rgba(139,92,246,.12);
        border-color: #8b5cf6;
        box-shadow: 0 10px 35px rgba(139,92,246,.25);
    }

/* Features */

.hero-features {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 65px;
    animation: fadeUp 1s .4s ease both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 14px 18px;
    text-align: right;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}

    .hero-feature:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,.07);
        border-color: rgba(139,92,246,.4);
    }

.feature-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #a78bfa;
    font-size: 20px;
    background: rgba(139,92,246,.12);
    border-radius: 12px;
}

.hero-feature strong {
    display: block;
    color: #fff;
    font-size: 14px;
}

.hero-feature small {
    display: block;
    margin-top: 3px;
    color: #8f9ab0;
    font-size: 11px;
}

/* Animations */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 300% center;
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -25px) scale(1.08);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0);
        opacity: .3;
    }

    50% {
        transform: translateY(-30px);
        opacity: .9;
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: .6;
    }
}

}


/* =========================================
   SECTION HEADERS
========================================= */

.section-heading {
    margin-bottom: 40px;
}

.section-mini-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8b8ff7;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 13px;
    margin-bottom: 10px;
    background: rgba(99,102,241,.08);
    border: 1px solid rgba(99,102,241,.15);
    border-radius: 50px;
}

.section-heading h2,
.section-title {
    color: #fff;
    font-weight: 900;
}

.section-heading h2 {
    font-size: 32px;
    margin: 8px 0;
}

.section-heading p,
.section-description {
    color: #8993a8;
    font-size: 14px;
    margin: 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.section-title {
    margin: 7px 0 5px;
    font-size: 28px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a5b4fc;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    transition: .3s ease;
}

    .view-all-btn:hover {
        color: #fff;
        background: rgba(99,102,241,.12);
        border-color: rgba(99,102,241,.4);
        transform: translateX(-4px);
    }


/* =========================================
   CATEGORY CARDS
========================================= */

.category-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 145px;
    padding: 25px;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background: linear-gradient( 145deg, rgba(255,255,255,.07), rgba(255,255,255,.025) );
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    backdrop-filter: blur(18px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .category-card:hover {
        color: white;
        transform: translateY(-8px);
        border-color: rgba(129,140,248,.45);
        box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 0 40px rgba(99,102,241,.08);
    }

.category-icon {
    position: relative;
    z-index: 2;
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a5b4fc;
    font-size: 28px;
    background: linear-gradient( 135deg, rgba(99,102,241,.2), rgba(139,92,246,.08) );
    border: 1px solid rgba(129,140,248,.2);
    border-radius: 18px;
    transition: .35s ease;
}

.category-card:hover .category-icon {
    transform: rotate(-6deg) scale(1.08);
    color: #fff;
    box-shadow: 0 0 30px rgba(99,102,241,.25);
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-title {
    font-size: 18px;
    font-weight: 800;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: #858fa5;
    font-size: 12px;
    transition: .3s ease;
}

.category-card:hover .category-link {
    color: #a5b4fc;
}

.category-arrow {
    position: absolute;
    top: 17px;
    left: 17px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #717b91;
    font-size: 13px;
    background: rgba(255,255,255,.04);
    border-radius: 9px;
    transition: .3s ease;
}

.category-card:hover .category-arrow {
    color: white;
    background: rgba(99,102,241,.2);
    transform: translate(-3px, 3px);
}

.category-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -50px;
    bottom: -60px;
    background: #6366f1;
    filter: blur(70px);
    opacity: 0;
    transition: .5s ease;
}

.category-card:hover .category-glow {
    opacity: .25;
}


/* =========================================
   PRODUCT CARDS
========================================= */

.product-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background: linear-gradient( 145deg, rgba(255,255,255,.065), rgba(255,255,255,.025) );
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .product-card:hover {
        color: white;
        transform: translateY(-8px);
        border-color: rgba(99,102,241,.4);
        box-shadow: 0 20px 45px rgba(0,0,0,.25), 0 0 35px rgba(99,102,241,.08);
    }

.product-thumb {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: radial-gradient( circle at center, rgba(99,102,241,.15), transparent 65% ), rgba(255,255,255,.025);
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .4s ease;
    }

.product-card:hover .product-thumb img {
    transform: scale(1.08);
    filter: brightness(.75);
}

.product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #818cf8;
    font-size: 45px;
}

.discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    color: white;
    font-size: 10px;
    font-weight: 800;
    background: linear-gradient( 135deg, #ef4444, #f97316 );
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(239,68,68,.25);
}

.product-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    opacity: 0;
    background: linear-gradient( transparent 40%, rgba(5,8,18,.8) );
    transition: .35s ease;
}

    .product-overlay span {
        padding: 8px 13px;
        color: white;
        font-size: 11px;
        font-weight: 700;
        background: rgba(99,102,241,.75);
        border-radius: 9px;
        transform: translateY(10px);
        transition: .35s ease;
    }

.product-card:hover .product-overlay {
    opacity: 1;
}

    .product-card:hover .product-overlay span {
        transform: translateY(0);
    }

.product-info {
    padding: 16px;
}

.product-category {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #858fa5;
    font-size: 10px;
    font-weight: 600;
}

    .product-category i {
        color: #818cf8;
    }

.product-title {
    margin: 8px 0 14px;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.price-old {
    color: #697386;
    font-size: 10px;
    text-decoration: line-through;
}

.price-new {
    color: #a5b4fc;
    font-size: 16px;
    font-weight: 900;
}

    .price-new small {
        font-size: 9px;
        font-weight: 500;
    }


/* =========================================
   BLOG CARDS
========================================= */

.blog-card {
    position: relative;
    display: block;
    height: 100%;
    overflow: hidden;
    color: white;
    text-decoration: none;
    background: linear-gradient( 145deg, rgba(255,255,255,.065), rgba(255,255,255,.025) );
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .blog-card:hover {
        color: white;
        transform: translateY(-7px);
        border-color: rgba(34,211,238,.35);
        box-shadow: 0 20px 45px rgba(0,0,0,.25);
    }

.blog-image {
    position: relative;
    height: 190px;
    overflow: hidden;
}

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease;
    }

.blog-card:hover .blog-image img {
    transform: scale(1.07);
}

.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #67e8f9;
    font-size: 45px;
    background: radial-gradient( circle, rgba(34,211,238,.15), transparent 65% );
}

.blog-image-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(5,8,18,.65);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 11px;
    backdrop-filter: blur(10px);
    transition: .3s ease;
}

.blog-card:hover .blog-image-overlay {
    background: #6366f1;
    transform: translate(-3px, 3px);
}

.blog-content {
    padding: 18px;
}

.blog-meta {
    margin-bottom: 8px;
    color: #818cf8;
    font-size: 10px;
    font-weight: 700;
}

.blog-content h3 {
    margin-bottom: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.7;
}

.blog-content p {
    margin: 0;
    color: #858fa5;
    font-size: 12px;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: #a5b4fc;
    font-size: 11px;
    font-weight: 700;
    transition: .3s ease;
}

.blog-card:hover .blog-read-more {
    gap: 12px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .section-heading h2 {
        font-size: 25px;
    }

    .section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .section-title {
        font-size: 24px;
    }

    .view-all-btn {
        align-self: flex-start;
    }

    .category-card {
        min-height: 120px;
        padding: 20px;
    }

    .category-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .product-thumb,
    .blog-image {
        height: 150px;
    }

    .product-info {
        padding: 13px;
    }

    .product-title {
        font-size: 12px;
    }

    .price-new {
        font-size: 14px;
    }
}

/* =========================================
   3D TILT EFFECT
========================================= */

.category-card,
.product-card,
.blog-card {
    transform-style: preserve-3d;
    perspective: 1200px;
    will-change: transform;
}

    /* لایه عمق */
    .category-card::after,
    .product-card::after,
    .blog-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient( 135deg, rgba(255,255,255,.12), transparent 35% );
        opacity: 0;
        transition: opacity .3s ease;
        transform: translateZ(30px);
    }

    .category-card:hover::after,
    .product-card:hover::after,
    .blog-card:hover::after {
        opacity: 1;
    }

/* آیکون و محتوا کمی جلوتر از کارت قرار بگیرند */

.category-icon,
.category-content,
.category-arrow,
.product-info,
.discount-badge,
.blog-content,
.blog-image-overlay {
    transform: translateZ(25px);
}

/* سایه سه بعدی */

.category-card:hover,
.product-card:hover,
.blog-card:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,.35), 0 10px 35px rgba(99,102,241,.15);
}


/* =========================================
   3D PRODUCT IMAGE
========================================= */

.product-thumb {
    transform-style: preserve-3d;
}

    .product-thumb img {
        transform: translateZ(15px) scale(1.01);
    }

.product-card:hover .product-thumb img {
    transform: translateZ(25px) scale(1.08);
}


/* =========================================
   3D CATEGORY ICON
========================================= */

.category-icon {
    transform-style: preserve-3d;
}

.category-card:hover .category-icon {
    transform: translateZ(45px) rotate(-7deg) scale(1.08);
}


/* =========================================
   3D BLOG IMAGE
========================================= */

.blog-image {
    transform-style: preserve-3d;
}

    .blog-image img {
        transform: translateZ(10px) scale(1.01);
    }

.blog-card:hover .blog-image img {
    transform: translateZ(20px) scale(1.07);
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .category-card,
    .product-card,
    .blog-card {
        transform: none !important;
        perspective: none;
    }

        .category-card::after,
        .product-card::after,
        .blog-card::after {
            display: none;
        }
}


.category-card,
.product-card,
.blog-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

    .category-card::before,
    .product-card::before,
    .blog-card::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        background: radial-gradient( circle 180px at var(--mouse-x) var(--mouse-y), rgba(129,140,248,.18), transparent 70% );
        opacity: 0;
        transition: opacity .25s ease;
    }

    .category-card:hover::before,
    .product-card:hover::before,
    .blog-card:hover::before {
        opacity: 1;
    }


/* =====================================================
               HEADER
            ===================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,10,16,.72);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}


.main-navbar {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* =====================================================
               BRAND
            ===================================================== */

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff !important;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 900;
    white-space: nowrap;
}


    .brand-logo small {
        display: block;
        margin-top: 2px;
        color: #666;
        font-size: .48rem;
        font-weight: 500;
        letter-spacing: .3px;
    }


.brand-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient( 135deg, #6c5ce7, #8c7fff );
    color: #fff;
    box-shadow: 0 8px 25px rgba(108,92,231,.25);
}


/* =====================================================
               NAV
            ===================================================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-right: auto;
    margin-left: auto;
}


    .main-nav .nav-link-custom {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 8px 11px;
        border-radius: 9px;
        color: #777;
        text-decoration: none;
        font-size: .7rem;
        transition: .2s;
    }


        .main-nav .nav-link-custom i {
            font-size: .7rem;
        }


        .main-nav .nav-link-custom:hover {
            color: #fff;
            background: rgba(255,255,255,.045);
        }


/* =====================================================
               ACTIONS
            ===================================================== */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 7px;
}


.header-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
    color: #aaa;
    text-decoration: none;
    font-size: .68rem;
    transition: .2s;
}


    .header-action:hover {
        color: #fff;
        border-color: rgba(108,92,231,.3);
        background: rgba(108,92,231,.07);
    }


    .header-action i {
        color: #9c91ff;
    }


/* =====================================================
               USER
            ===================================================== */

.user-button {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: rgba(255,255,255,.035);
    color: #bbb;
    font-size: .67rem;
    cursor: pointer;
    transition: .2s;
}


    .user-button:hover {
        color: #fff;
        border-color: rgba(108,92,231,.3);
    }


.user-avatar {
    width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(108,92,231,.13);
    color: #a79dff;
}


.user-arrow {
    color: #555;
    font-size: .55rem;
}


/* =====================================================
               ACCOUNT DROPDOWN
            ===================================================== */

.account-dropdown {
    width: 235px;
    padding: 8px;
    margin-top: 10px !important;
    border-radius: 16px;
    background: rgba(19,19,27,.96);
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 25px 60px rgba(0,0,0,.3);
    backdrop-filter: blur(20px);
}


.account-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}


.account-avatar-large {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108,92,231,.12);
    color: #9c91ff;
}


.account-dropdown-header div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.account-dropdown-header strong {
    color: #ddd;
    font-size: .7rem;
}


.account-dropdown-header small {
    color: #666;
    font-size: .55rem;
}


.account-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 9px;
    color: #999;
    font-size: .65rem;
    transition: .15s;
}


    .account-dropdown .dropdown-item:hover {
        color: #fff;
        background: rgba(255,255,255,.045);
    }


    .account-dropdown .dropdown-item > i:first-child {
        width: 18px;
        color: #8f83ff;
    }


.item-arrow {
    margin-right: auto;
    color: #444 !important;
    font-size: .5rem;
}


.admin-item {
    color: #a79dff !important;
    background: rgba(108,92,231,.05);
}


.logout-item {
    color: #ff7373 !important;
}


    .logout-item > i {
        color: #ff7373 !important;
    }


/* =====================================================
               LOGIN
            ===================================================== */

.login-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 13px;
    border-radius: 10px;
    background: linear-gradient( 135deg, #6c5ce7, #7d6ff0 );
    color: #fff !important;
    text-decoration: none;
    font-size: .65rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(108,92,231,.18);
    transition: .2s;
}


    .login-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(108,92,231,.28);
    }


/* =====================================================
               MOBILE BUTTON
            ===================================================== */

.mobile-menu-button {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: #aaa;
    font-size: 1.15rem;
}


/* =====================================================
               MOBILE MENU
            ===================================================== */

.mobile-menu {
    width: 300px;
    background: #101018;
    border-left: 1px solid rgba(255,255,255,.08);
}


    .mobile-menu .offcanvas-header {
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }


    .mobile-menu .offcanvas-body {
        padding: 20px;
    }


.mobile-menu-title {
    margin-bottom: 10px;
    color: #555;
    font-size: .6rem;
}


.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    margin-bottom: 4px;
    border-radius: 11px;
    color: #999;
    text-decoration: none;
    font-size: .72rem;
    transition: .2s;
}


    .mobile-nav-item:hover {
        color: #fff;
        background: rgba(108,92,231,.08);
    }


    .mobile-nav-item i {
        width: 22px;
        color: #9186ff;
        font-size: .9rem;
    }


.mobile-menu-divider {
    height: 1px;
    margin: 15px 0;
    background: rgba(255,255,255,.06);
}


/* =====================================================
               ALERTS
            ===================================================== */

.alert-container {
    position: relative;
    z-index: 50;
    margin-top: 15px;
}


.custom-alert {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border-radius: 13px;
    border: 1px solid;
    font-size: .68rem;
}


    .custom-alert > div:last-child {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }


    .custom-alert strong {
        font-size: .65rem;
    }


    .custom-alert span {
        opacity: .7;
    }


.alert-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}


.success-alert {
    background: rgba(67,190,120,.06);
    border-color: rgba(67,190,120,.14);
    color: #79d9a0;
}


    .success-alert .alert-icon {
        background: rgba(67,190,120,.1);
    }


.error-alert {
    background: rgba(255,80,80,.06);
    border-color: rgba(255,80,80,.14);
    color: #ff8585;
}


    .error-alert .alert-icon {
        background: rgba(255,80,80,.1);
    }


/* =====================================================
               FOOTER
            ===================================================== */

.site-footer {
    margin-top: 70px;
    padding: 45px 0 20px;
    background: linear-gradient( 180deg, rgba(255,255,255,.015), rgba(0,0,0,.12) );
    border-top: 1px solid rgba(255,255,255,.06);
}


.footer-brand p {
    max-width: 400px;
    margin: 0;
    color: #666;
    font-size: .67rem;
    line-height: 2;
}


.footer-title {
    margin-bottom: 15px;
    color: #ddd;
    font-size: .75rem;
    font-weight: 800;
}


.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


    .footer-links a {
        display: flex;
        align-items: center;
        gap: 5px;
        color: #666;
        text-decoration: none;
        font-size: .65rem;
        transition: .2s;
    }


        .footer-links a:hover {
            color: #a79dff;
            transform: translateX(-3px);
        }


    .footer-links i {
        color: #8f83ff;
        font-size: .45rem;
    }


.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}


    .footer-badges span {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 6px 9px;
        border-radius: 8px;
        background: rgba(255,255,255,.025);
        border: 1px solid rgba(255,255,255,.05);
        color: #666;
        font-size: .53rem;
    }


    .footer-badges i {
        color: #8f83ff;
    }


.footer-support-text {
    color: #666;
    font-size: .64rem;
    line-height: 1.9;
}


.footer-support-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 7px;
    padding: 9px 12px;
    border-radius: 9px;
    background: rgba(108,92,231,.07);
    border: 1px solid rgba(108,92,231,.12);
    color: #9c91ff;
    text-decoration: none;
    font-size: .6rem;
    transition: .2s;
}


    .footer-support-button:hover {
        color: #fff;
        background: rgba(108,92,231,.13);
    }


    .footer-support-button i:last-child {
        font-size: .55rem;
        transition: .2s;
    }


    .footer-support-button:hover i:last-child {
        transform: translateX(-3px);
    }


.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 35px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.05);
    color: #4d4d4d;
    font-size: .55rem;
}


/* =====================================================
               MOBILE
            ===================================================== */

@@media (max-width: 767px) {

    .main-navbar {
        min-height: 65px;
        gap: 8px;
    }


    .brand-icon {
        width: 35px;
        height: 35px;
    }


    .brand-logo {
        font-size: .9rem;
    }


    .header-action {
        width: 37px;
        height: 37px;
        justify-content: center;
        padding: 0;
    }


    .navbar-actions {
        gap: 5px;
    }


    .login-button {
        padding: 8px 9px;
        font-size: .58rem;
    }


    .mobile-menu {
        width: min(300px,85vw);
    }


    .site-footer {
        margin-top: 45px;
        padding-top: 35px;
    }


    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


@@media (max-width: 400px) {

    .brand-logo small {
        display: none;
    }


    .login-button span {
        display: none;
    }


    .login-button {
        width: 37px;
        height: 37px;
        justify-content: center;
        padding: 0;
    }
}


/* =====================================
           Blog Page
        ====================================== */

.blog-page {
    position: relative;
    overflow: hidden;
}

    .blog-page::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        top: 0;
        left: -250px;
        background: rgba(108,92,231,.10);
        filter: blur(130px);
        border-radius: 50%;
        pointer-events: none;
    }


/* Breadcrumb */

.blog-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    color: #777;
    font-size: .8rem;
}

    .blog-breadcrumb a {
        color: #aaa;
        text-decoration: none;
        transition: .2s;
    }

        .blog-breadcrumb a:hover {
            color: #fff;
        }

    .blog-breadcrumb i {
        font-size: .65rem;
    }


/* Header */

.article-header {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 25px 0 35px;
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 30px;
    background: rgba(108,92,231,.12);
    border: 1px solid rgba(108,92,231,.20);
    color: #a79dff;
    text-decoration: none;
    font-size: .75rem;
    font-weight: 700;
    transition: .2s;
}

    .article-category:hover {
        background: rgba(108,92,231,.18);
        color: #fff;
        transform: translateY(-1px);
    }

.article-title {
    margin: 18px auto;
    max-width: 850px;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -.7px;
}


/* Meta */

.article-meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 16px;
    border-radius: 15px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
}

.meta-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(108,92,231,.10);
    color: #9c91ff;
}

.meta-item div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.meta-item small {
    color: #777;
    font-size: .62rem;
}

.meta-item strong {
    font-size: .75rem;
}

.meta-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,.08);
}


/* Cover */

.article-cover {
    position: relative;
    max-width: 1050px;
    margin: 0 auto 35px;
    aspect-ratio: 16 / 8;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}

    .article-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .7s cubic-bezier(.2,.8,.2,1);
    }

    .article-cover:hover img {
        transform: scale(1.025);
    }

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, transparent 60%, rgba(0,0,0,.18) );
    pointer-events: none;
}


/* Content */

.article-layout {
    max-width: 820px;
    margin: 0 auto;
}

.article-content {
    overflow: hidden;
    border-radius: 22px;
    padding: 0 !important;
}

.content-inner {
    padding: 32px;
    color: #b5b5b5;
    font-size: 1rem;
    line-height: 2.25;
}


    /* Content Typography */

    .content-inner h2 {
        margin-top: 35px;
        margin-bottom: 15px;
        color: #fff;
        font-size: 1.45rem;
        font-weight: 800;
        line-height: 1.5;
    }

    .content-inner h3 {
        margin-top: 30px;
        margin-bottom: 12px;
        color: #eee;
        font-size: 1.2rem;
        font-weight: 700;
        line-height: 1.6;
    }

    .content-inner h4 {
        margin-top: 25px;
        color: #eee;
        font-weight: 700;
    }

    .content-inner p {
        margin-bottom: 20px;
    }

    .content-inner a {
        color: #9c91ff;
        text-decoration: none;
    }

        .content-inner a:hover {
            text-decoration: underline;
        }

    .content-inner strong {
        color: #eee;
    }

    .content-inner ul,
    .content-inner ol {
        margin: 20px 0;
        padding-right: 25px;
    }

    .content-inner li {
        margin-bottom: 8px;
    }

    .content-inner blockquote {
        margin: 25px 0;
        padding: 15px 20px;
        border-right: 3px solid #6c5ce7;
        border-radius: 10px;
        background: rgba(108,92,231,.07);
        color: #aaa;
    }

    .content-inner img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 25px auto;
        border-radius: 15px;
    }

    .content-inner pre {
        direction: ltr;
        text-align: left;
        overflow-x: auto;
        padding: 18px;
        margin: 25px 0;
        border-radius: 14px;
        background: rgba(0,0,0,.35);
        border: 1px solid rgba(255,255,255,.07);
    }

    .content-inner code {
        direction: ltr;
        font-family: monospace;
    }

    .content-inner table {
        width: 100%;
        margin: 25px 0;
        border-collapse: collapse;
        overflow: hidden;
        border-radius: 12px;
    }

    .content-inner th,
    .content-inner td {
        padding: 10px 12px;
        border: 1px solid rgba(255,255,255,.08);
    }

    .content-inner th {
        color: #fff;
        background: rgba(255,255,255,.05);
    }


/* Footer */

.article-footer {
    max-width: 820px;
    margin: 35px auto 0;
}

.footer-line {
    height: 1px;
    background: rgba(255,255,255,.08);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 25px 0;
    text-align: right;
}

.footer-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108,92,231,.10);
    color: #9c91ff;
}

.footer-content > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-content strong {
    font-size: .8rem;
}

.footer-content small {
    color: #777;
    font-size: .68rem;
}


/* Mobile */

@@media (max-width: 767px) {

    .article-header {
        padding: 15px 0 25px;
    }

    .article-title {
        font-size: 1.7rem;
    }

    .article-meta {
        width: 100%;
        justify-content: center;
    }

    .article-cover {
        border-radius: 18px;
        margin-bottom: 25px;
    }

    .content-inner {
        padding: 22px 18px;
        font-size: .92rem;
        line-height: 2.1;
    }

        .content-inner h2 {
            font-size: 1.25rem;
        }

        .content-inner h3 {
            font-size: 1.1rem;
        }
}

@@media (max-width: 430px) {

    .article-meta {
        gap: 10px;
        padding: 8px 10px;
    }

    .meta-divider {
        height: 25px;
    }

    .meta-icon {
        width: 30px;
        height: 30px;
    }

    .meta-item strong {
        font-size: .68rem;
    }

    .article-title {
        font-size: 1.5rem;
    }
}




/* =====================================================
       BLOG INDEX
    ===================================================== */
.blog-index {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}


.blog-index::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    top: -220px;
    left: -250px;
    background: rgba(108,92,231,.09);
    filter: blur(140px);
    border-radius: 50%;
    pointer-events: none;
}


.blog-index::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -150px;
    background: rgba(108,92,231,.06);
    filter: blur(120px);
    border-radius: 50%;
    pointer-events: none;
}


/* =====================================================
       HEADER
    ===================================================== */

.blog-index-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}


.blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 30px;
    background: rgba(108,92,231,.10);
    border: 1px solid rgba(108,92,231,.18);
    color: #a79dff;
    font-size: .7rem;
    font-weight: 800;
}


.blog-index-header h1 {
    margin: 13px 0 7px;
    font-size: clamp(2rem,4vw,3rem);
    font-weight: 900;
    letter-spacing: -.8px;
}


    .blog-index-header h1 span {
        color: #9c91ff;
    }


.blog-index-header p {
    margin: 0;
    max-width: 600px;
    color: #777;
    font-size: .8rem;
    line-height: 2;
}


.blog-count {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    border-radius: 13px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    color: #888;
    font-size: .7rem;
    white-space: nowrap;
}


    .blog-count i {
        color: #9c91ff;
        font-size: .9rem;
    }


/* =====================================================
       BLOG CARD
    ===================================================== */

.blog-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 21px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
    color: inherit;
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(0,0,0,.08);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}


    .blog-post-card:hover {
        color: inherit;
        transform: translateY(-8px);
        border-color: rgba(143,131,255,.28);
        box-shadow: 0 28px 60px rgba(0,0,0,.17), 0 0 35px rgba(108,92,231,.07);
    }


/* =====================================================
       COVER
    ===================================================== */

.blog-post-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: radial-gradient( circle at center, rgba(108,92,231,.13), transparent 65% );
}


    .blog-post-cover img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .65s cubic-bezier(.2,.8,.2,1);
    }


.blog-post-card:hover
.blog-post-cover img {
    transform: scale(1.07);
}


.blog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8f83ff;
    font-size: 3rem;
    background: radial-gradient( circle, rgba(108,92,231,.13), transparent 65% );
}


.cover-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(0,0,0,.03) 30%, rgba(0,0,0,.55) 100% );
    pointer-events: none;
}


/* =====================================================
       CATEGORY
    ===================================================== */

.blog-category {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 9px;
    background: rgba(20,20,25,.65);
    border: 1px solid rgba(255,255,255,.09);
    backdrop-filter: blur(10px);
    color: #ddd;
    font-size: .58rem;
    font-weight: 700;
}


    .blog-category i {
        color: #a79dff;
    }


/* =====================================================
       READ MORE
    ===================================================== */

.read-more {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(108,92,231,.8);
    backdrop-filter: blur(8px);
    color: #fff;
    opacity: 0;
    transform: translateX(8px);
    transition: .3s;
}


.blog-post-card:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}


/* =====================================================
       CONTENT
    ===================================================== */

.blog-post-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px;
}


.blog-meta {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 9px;
    color: #666;
    font-size: .6rem;
}


    .blog-meta span {
        display: flex;
        align-items: center;
        gap: 5px;
    }


    .blog-meta i {
        color: #8f83ff;
    }


.blog-post-content h2 {
    margin: 0;
    color: #eee;
    font-size: .95rem;
    font-weight: 850;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s;
}


.blog-post-card:hover
.blog-post-content h2 {
    color: #a79dff;
}


.blog-post-content p {
    margin: 8px 0 0;
    color: #777;
    font-size: .68rem;
    line-height: 1.9;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* =====================================================
       FOOTER
    ===================================================== */

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,.06);
    color: #777;
    font-size: .62rem;
}


    .blog-card-footer i {
        width: 27px;
        height: 27px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(108,92,231,.08);
        color: #9c91ff;
        transition: .25s;
    }


.blog-post-card:hover
.blog-card-footer i {
    background: #6c5ce7;
    color: #fff;
    transform: translateX(-3px);
}


/* =====================================================
       EMPTY
    ===================================================== */

.blog-empty {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
    text-align: center;
    border-radius: 23px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.07);
}


    .blog-empty .empty-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        background: rgba(108,92,231,.10);
        color: #9c91ff;
        font-size: 1.8rem;
    }


    .blog-empty h3 {
        margin-bottom: 7px;
        font-size: 1rem;
        font-weight: 800;
    }


    .blog-empty p {
        margin: 0;
        color: #777;
        font-size: .72rem;
    }


/* =====================================================
       PAGINATION
    ===================================================== */

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 35px;
    padding: 14px;
    border-radius: 17px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.06);
}


.pagination-info {
    color: #666;
    font-size: .68rem;
}


    .pagination-info strong {
        color: #aaa;
    }


.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 5px;
}


.pagination-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    color: #888;
    text-decoration: none;
    font-size: .7rem;
    transition: .2s;
}


    .pagination-btn:hover {
        background: rgba(108,92,231,.12);
        border-color: rgba(108,92,231,.2);
        color: #a79dff;
    }


    .pagination-btn.active {
        background: #6c5ce7;
        border-color: #6c5ce7;
        color: #fff;
        box-shadow: 0 8px 22px rgba(108,92,231,.2);
    }


/* =====================================================
       MOBILE
    ===================================================== */

@@media (max-width: 767px) {

    .blog-index-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 25px;
    }

        .blog-index-header h1 {
            font-size: 2rem;
        }

        .blog-index-header p {
            font-size: .72rem;
        }

    .blog-count {
        align-self: flex-start;
    }

    .blog-post-content {
        padding: 13px;
    }

        .blog-post-content h2 {
            font-size: .86rem;
        }

        .blog-post-content p {
            font-size: .63rem;
        }

    .read-more {
        opacity: 1;
        transform: none;
    }

    .blog-pagination {
        flex-direction: column;
        gap: 10px;
    }
}


@@media (max-width: 430px) {

    .blog-post-card {
        border-radius: 17px;
    }

    .blog-post-content h2 {
        font-size: .82rem;
    }

    .blog-meta {
        font-size: .55rem;
    }

    .blog-card-footer {
        font-size: .57rem;
    }
}



/* ================================
           Notification Button
        ================================= */

.notification-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--text-primary, #fff);
    text-decoration: none;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(255, 255, 255, .09);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

    .notification-btn i {
        font-size: 1.05rem;
        transition: transform .25s ease;
    }

    .notification-btn:hover {
        color: #fff;
        background: rgba(108, 92, 231, .14);
        border-color: rgba(108, 92, 231, .35);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(108, 92, 231, .18);
    }

        .notification-btn:hover i {
            transform: rotate(12deg) scale(1.08);
        }


/* ================================
           Notification Badge
        ================================= */

.notification-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: #ff4757;
    color: #fff;
    border: 2px solid #111;
    font-size: .58rem;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(255, 71, 87, .35);
    animation: notificationPulse 2s infinite;
}


/* ================================
           Notification Animation
        ================================= */

@@keyframes notificationPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(255, 71, 87, .3);
    }

    50% {
        box-shadow: 0 4px 18px rgba(255, 71, 87, .6);
    }
}


/* ================================
           Mobile
        ================================= */

@@media (max-width: 576px) {

    .notification-btn {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

        .notification-btn i {
            font-size: .95rem;
        }

    .notification-badge {
        top: -4px;
        left: -4px;
    }
}



/* =====================================
           Profile Page
        ====================================== */

.profile-page {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
}


    .profile-page::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        top: -180px;
        right: -180px;
        background: rgba(108, 92, 231, .10);
        filter: blur(130px);
        border-radius: 50%;
        pointer-events: none;
    }


/* =====================================
           Header
        ====================================== */

.profile-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    overflow: hidden;
}


.profile-avatar {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: linear-gradient( 135deg, rgba(108, 92, 231, .35), rgba(108, 92, 231, .08) );
    border: 1px solid rgba(108, 92, 231, .25);
    color: #a79dff;
    font-size: 2rem;
    box-shadow: 0 12px 35px rgba(108, 92, 231, .15);
}


.profile-info {
    flex: 1;
}


.profile-label {
    display: block;
    color: #8f8f8f;
    font-size: .72rem;
    margin-bottom: 3px;
}


.profile-info h1 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 900;
}


.profile-info p {
    margin: 5px 0 0;
    color: #777;
    font-size: .78rem;
}


.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 11px;
    border-radius: 30px;
    background: rgba(46, 213, 115, .08);
    border: 1px solid rgba(46, 213, 115, .15);
    color: #69e59a;
    font-size: .7rem;
    font-weight: 700;
}


/* =====================================
           Statistics
        ====================================== */

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    height: 100%;
    transition: transform .25s ease, border-color .25s ease;
}


    .profile-stat-card:hover {
        transform: translateY(-4px);
        border-color: rgba(108, 92, 231, .25);
    }


.stat-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(108, 92, 231, .10);
    color: #9c91ff;
    font-size: 1.15rem;
}


.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


    .stat-content span {
        color: #777;
        font-size: .7rem;
    }


    .stat-content strong {
        font-size: 1.25rem;
        font-weight: 900;
    }


        .stat-content strong small {
            color: #888;
            font-size: .58rem;
            font-weight: 500;
        }


/* =====================================
           Form Card
        ====================================== */

.profile-form-card {
    padding: 25px;
}


.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}


.section-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108, 92, 231, .10);
    color: #9c91ff;
    font-size: 1.05rem;
}


.section-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}


.section-heading p {
    margin: 3px 0 0;
    color: #777;
    font-size: .7rem;
}


/* =====================================
           Form
        ====================================== */

.profile-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}


.form-group {
    display: flex;
    flex-direction: column;
}


    .form-group:first-child {
        grid-column: span 2;
    }


    .form-group label {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
        font-size: .75rem;
        font-weight: 700;
        color: #ddd;
    }


        .form-group label i {
            color: #9c91ff;
        }


.input-wrapper {
    position: relative;
}


    .input-wrapper > i {
        position: absolute;
        right: 13px;
        top: 50%;
        transform: translateY(-50%);
        color: #777;
        pointer-events: none;
        z-index: 2;
    }


    .input-wrapper .form-control {
        padding-right: 38px;
    }


.disabled-input {
    opacity: .7;
}


    .disabled-input .form-control {
        cursor: not-allowed;
    }


.verified-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #777;
    font-size: .75rem;
}


.field-hint {
    color: #666;
    font-size: .62rem;
    margin-top: 5px;
}


/* =====================================
           Actions
        ====================================== */

.form-actions {
    grid-column: span 2;
    display: flex;
    justify-content: flex-end;
    padding-top: 5px;
}


.save-profile-btn {
    min-width: 170px;
    padding: 11px 20px;
    font-weight: 700;
}


/* =====================================
           Mobile
        ====================================== */

@@media (max-width: 767px) {

    .profile-header {
        padding: 18px;
        align-items: flex-start;
    }


    .profile-avatar {
        width: 55px;
        height: 55px;
        border-radius: 17px;
        font-size: 1.5rem;
    }


    .profile-info h1 {
        font-size: 1.1rem;
    }


    .profile-info p {
        font-size: .68rem;
    }


    .profile-badge {
        position: absolute;
        top: 15px;
        left: 15px;
        font-size: .6rem;
    }


    .profile-stat-card {
        padding: 14px;
        gap: 10px;
    }


    .stat-icon {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }


    .stat-content strong {
        font-size: 1.05rem;
    }


    .profile-form-card {
        padding: 18px;
    }


    .profile-form {
        grid-template-columns: 1fr;
        gap: 15px;
    }


    .form-group:first-child,
    .form-actions {
        grid-column: span 1;
    }


    .form-actions {
        justify-content: stretch;
    }


    .save-profile-btn {
        width: 100%;
    }
}

/* =====================================
           Notifications Page
        ====================================== */

.notifications-page {
    position: relative;
    min-height: 65vh;
    overflow: hidden;
}


    .notifications-page::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        top: -200px;
        right: -180px;
        background: rgba(108, 92, 231, .10);
        filter: blur(130px);
        border-radius: 50%;
        pointer-events: none;
    }


/* =====================================
           Header
        ====================================== */

.notifications-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.notifications-title {
    display: flex;
    align-items: center;
    gap: 14px;
}


.notifications-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(108, 92, 231, .12);
    border: 1px solid rgba(108, 92, 231, .20);
    color: #a79dff;
    font-size: 1.25rem;
    box-shadow: 0 10px 30px rgba(108, 92, 231, .12);
}


.notifications-title span {
    display: block;
    color: #777;
    font-size: .7rem;
    margin-bottom: 2px;
}


.notifications-title h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 900;
}


.notification-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #aaa;
    font-size: .7rem;
}


/* =====================================
           List
        ====================================== */

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.notification-card {
    position: relative;
    display: flex;
    gap: 15px;
    padding: 17px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}


    .notification-card::before {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: rgba(108, 92, 231, .6);
        opacity: .7;
    }


    .notification-card:hover {
        transform: translateY(-3px);
        border-color: rgba(108, 92, 231, .25);
        box-shadow: 0 15px 40px rgba(0, 0, 0, .18);
    }


/* =====================================
           Type Icon
        ====================================== */

.notification-type-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(108, 92, 231, .10);
    color: #9c91ff;
    font-size: 1.1rem;
}


/* =====================================
           Content
        ====================================== */

.notification-content {
    min-width: 0;
    flex: 1;
}


.notification-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 5px;
}


.notification-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 30px;
    background: rgba(108, 92, 231, .09);
    color: #9c91ff;
    font-size: .6rem;
    font-weight: 700;
}


.notification-time {
    color: #666;
    font-size: .62rem;
    white-space: nowrap;
}


    .notification-time i {
        margin-left: 3px;
    }


.notification-content h2 {
    margin: 0;
    color: #f1f1f1;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.6;
}


.notification-content p {
    margin: 5px 0 0;
    color: #888;
    font-size: .75rem;
    line-height: 1.8;
}


/* =====================================
           Link
        ====================================== */

.notification-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    color: #9c91ff;
    text-decoration: none;
    font-size: .7rem;
    font-weight: 700;
    transition: .2s;
}


    .notification-link i {
        transition: transform .2s ease;
    }


    .notification-link:hover {
        color: #fff;
    }


        .notification-link:hover i {
            transform: translateX(-4px);
        }


/* =====================================
           Empty State
        ====================================== */

.empty-notifications {
    padding: 60px 25px;
    text-align: center;
}


.empty-icon {
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #777;
    font-size: 1.8rem;
}


.empty-notifications h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 800;
}


.empty-notifications p {
    max-width: 420px;
    margin: 0 auto;
    color: #777;
    font-size: .75rem;
    line-height: 1.9;
}


/* =====================================
           Mobile
        ====================================== */

@@media (max-width: 576px) {

    .notifications-header {
        align-items: flex-start;
    }


    .notifications-icon {
        width: 45px;
        height: 45px;
        border-radius: 14px;
    }


    .notifications-title h1 {
        font-size: 1.35rem;
    }


    .notification-count {
        font-size: .6rem;
        padding: 7px 9px;
    }


    .notification-card {
        padding: 14px;
        gap: 11px;
    }


    .notification-type-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        font-size: .95rem;
    }


    .notification-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }


    .notification-time {
        font-size: .58rem;
    }


    .notification-content h2 {
        font-size: .82rem;
    }


    .notification-content p {
        font-size: .7rem;
    }


    .empty-notifications {
        padding: 45px 18px;
    }
}
/* =====================================
           Order Details
        ====================================== */

.order-details-page {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}


    .order-details-page::before {
        content: "";
        position: absolute;
        width: 550px;
        height: 550px;
        top: -250px;
        right: -200px;
        background: rgba(108, 92, 231, .10);
        filter: blur(140px);
        border-radius: 50%;
        pointer-events: none;
    }


/* Header */

.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.order-header-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(108, 92, 231, .11);
    border: 1px solid rgba(108, 92, 231, .20);
    color: #a79dff;
    font-size: 1.25rem;
    box-shadow: 0 12px 35px rgba(108, 92, 231, .12);
}


.order-number {
    margin: 1px 0 0;
    font-size: 1.55rem;
    font-weight: 900;
    direction: ltr;
    text-align: right;
}


/* Cards */

.order-card {
    padding: 22px !important;
    border-radius: 22px;
    overflow: hidden;
}


.card-header-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 17px;
    margin-bottom: 3px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}


.section-eyebrow {
    display: block;
    color: #777;
    font-size: .65rem;
    margin-bottom: 3px;
}


.card-header-custom h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
}


.section-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108, 92, 231, .10);
    color: #9c91ff;
}


/* Items */

.order-items {
    display: flex;
    flex-direction: column;
}


.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 3px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}


    .order-item:last-child {
        border-bottom: 0;
    }


.order-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    color: #9c91ff;
}


.order-item-info {
    flex: 1;
    min-width: 0;
}


.order-item-title {
    color: #eee;
    font-size: .83rem;
    font-weight: 700;
    line-height: 1.6;
}


.order-item-meta {
    margin-top: 3px;
    color: #777;
    font-size: .65rem;
}


.order-item-price {
    color: #eee;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
}


    .order-item-price small {
        color: #777;
        font-size: .58rem;
        font-weight: 400;
    }


/* Total */

.order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
    padding: 17px;
    border-radius: 15px;
    background: rgba(108, 92, 231, .07);
    border: 1px solid rgba(108, 92, 231, .12);
}


    .order-total span {
        color: #aaa;
        font-size: .78rem;
    }


    .order-total strong {
        color: #fff;
        font-size: 1.15rem;
        font-weight: 900;
    }


    .order-total small {
        color: #999;
        font-size: .6rem;
        font-weight: 400;
    }


/* Delivered */

.success-icon {
    background: rgba(25, 135, 84, .10);
    color: #5dd39e;
}


.delivery-notice {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 15px 0;
    padding: 11px 13px;
    border-radius: 12px;
    background: rgba(25, 135, 84, .07);
    border: 1px solid rgba(25, 135, 84, .13);
    color: #91cdb1;
    font-size: .68rem;
    line-height: 1.7;
}


    .delivery-notice i {
        font-size: 1rem;
    }


.account-box {
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
    margin-top: 12px;
}


.account-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255,255,255,.035);
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .7rem;
}


    .account-box-header > span:first-child {
        color: #bbb;
    }


.delivered-label {
    color: #5dd39e;
    font-size: .6rem;
}


.account-info {
    padding: 5px 14px 12px;
}


.account-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}


    .account-field:last-child {
        border-bottom: 0;
    }


    .account-field span {
        color: #777;
        font-size: .68rem;
    }


    .account-field strong {
        color: #eee;
        font-size: .72rem;
        word-break: break-all;
    }


.account-extra {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.035);
    color: #888;
    font-size: .66rem;
    line-height: 1.8;
}


/* Sidebar */

.order-sidebar {
    position: sticky;
    top: 20px;
    padding: 22px !important;
    border-radius: 22px;
}


.sidebar-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 15px;
    background: rgba(108, 92, 231, .10);
    color: #a79dff;
    font-size: 1.2rem;
}


.sidebar-label {
    display: block;
    color: #777;
    font-size: .65rem;
    margin-bottom: 4px;
}


.sidebar-status {
    font-size: 1rem;
    font-weight: 800;
}


.sidebar-divider {
    height: 1px;
    margin: 18px 0;
    background: rgba(255,255,255,.07);
}


.sidebar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 0;
}


    .sidebar-row span {
        color: #777;
        font-size: .68rem;
    }


        .sidebar-row span i {
            margin-left: 4px;
            color: #888;
        }


    .sidebar-row strong {
        color: #ddd;
        font-size: .7rem;
        text-align: left;
    }


        .sidebar-row strong small {
            color: #777;
            font-size: .55rem;
            font-weight: 400;
        }


/* Payment */

.payment-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(255, 193, 7, .06);
    border: 1px solid rgba(255, 193, 7, .12);
}


.payment-icon {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255,193,7,.10);
    color: #e0b94f;
}


.payment-box strong {
    display: block;
    color: #ddd;
    font-size: .7rem;
}


.payment-box span {
    display: block;
    color: #777;
    font-size: .6rem;
    margin-top: 2px;
}


.payment-button {
    margin-top: 12px;
    padding: 11px;
}


/* Support */

.support-card {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.07);
}


.support-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(108,92,231,.10);
    color: #9c91ff;
}


.support-content {
    flex: 1;
}


    .support-content strong {
        display: block;
        font-size: .72rem;
    }


    .support-content span {
        display: block;
        margin-top: 3px;
        color: #777;
        font-size: .6rem;
    }


/* Mobile */

@@media (max-width: 767px) {

    .order-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .order-header-icon {
        width: 45px;
        height: 45px;
    }


    .order-number {
        font-size: 1.25rem;
    }


    .order-card {
        padding: 16px !important;
    }


    .order-sidebar {
        position: static;
        padding: 18px !important;
    }


    .support-card {
        flex-wrap: wrap;
    }


    .support-content {
        min-width: 150px;
    }


    .support-card .btn {
        width: 100%;
    }


    .account-field {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
}






/* =====================================
           Orders Page
        ====================================== */

.orders-page {
    position: relative;
    min-height: 70vh;
    overflow: hidden;
}


    .orders-page::before {
        content: "";
        position: absolute;
        width: 550px;
        height: 550px;
        top: -220px;
        right: -220px;
        background: rgba(108, 92, 231, .10);
        filter: blur(140px);
        border-radius: 50%;
        pointer-events: none;
    }


/* =====================================
           Header
        ====================================== */

.orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}


.orders-header-icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: rgba(108, 92, 231, .11);
    border: 1px solid rgba(108, 92, 231, .20);
    color: #a79dff;
    font-size: 1.25rem;
    box-shadow: 0 12px 35px rgba(108, 92, 231, .12);
}


.orders-eyebrow {
    display: block;
    color: #777;
    font-size: .65rem;
    margin-bottom: 2px;
}


.orders-header h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 900;
}


.orders-header p {
    margin: 3px 0 0;
    color: #777;
    font-size: .68rem;
}


.orders-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 30px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #999;
    font-size: .68rem;
    white-space: nowrap;
}


/* =====================================
           Order Card
        ====================================== */

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 13px;
}


.order-list-card {
    padding: 18px !important;
    border-radius: 20px;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}


    .order-list-card:hover {
        transform: translateY(-3px);
        border-color: rgba(108,92,231,.25);
        box-shadow: 0 15px 45px rgba(0,0,0,.18);
    }


/* =====================================
           Card Top
        ====================================== */

.order-list-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}


.order-main-info {
    display: flex;
    align-items: center;
    gap: 11px;
}


.order-list-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(108,92,231,.10);
    color: #9c91ff;
}


.order-label {
    display: block;
    color: #777;
    font-size: .6rem;
    margin-bottom: 2px;
}


.order-number {
    display: block;
    color: #eee;
    font-size: .82rem;
    font-weight: 800;
}


/* =====================================
           Information
        ====================================== */

.order-list-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 16px 0;
}


.order-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}


    .order-info-item span {
        color: #777;
        font-size: .62rem;
    }


        .order-info-item span i {
            margin-left: 4px;
            color: #888;
        }


    .order-info-item strong {
        color: #ddd;
        font-size: .72rem;
    }


.order-price {
    color: #fff !important;
    font-size: .8rem !important;
}


    .order-price small {
        color: #777;
        font-size: .55rem;
        font-weight: 400;
    }


/* =====================================
           Footer
        ====================================== */

.order-list-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.06);
}


.order-status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #777;
    font-size: .65rem;
}


    .order-status-text i {
        color: #8f84ff;
    }


.order-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}


    .order-details-btn i {
        transition: transform .2s ease;
    }


    .order-details-btn:hover i {
        transform: translateX(-4px);
    }


/* =====================================
           Empty
        ====================================== */

.empty-orders {
    padding: 65px 25px;
    text-align: center;
    border-radius: 22px;
}


.empty-orders-icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    color: #777;
    font-size: 1.8rem;
}


.empty-orders h2 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 800;
}


.empty-orders p {
    max-width: 420px;
    margin: 0 auto;
    color: #777;
    font-size: .72rem;
    line-height: 1.9;
}


/* =====================================
           Mobile
        ====================================== */

@@media (max-width: 767px) {

    .orders-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .orders-header-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }


    .orders-header h1 {
        font-size: 1.35rem;
    }


    .order-list-card {
        padding: 14px !important;
    }


    .order-list-top {
        align-items: flex-start;
    }


    .order-list-info {
        grid-template-columns: 1fr;
        gap: 7px;
    }


    .order-info-item {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }


    .order-list-footer {
        align-items: stretch;
        flex-direction: column;
    }


    .order-details-btn {
        width: 100%;
        justify-content: center;
    }


    .order-status-text {
        justify-content: center;
    }
}





/* ==============================
           Header
        ============================== */

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9c91ff;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -.5px;
}


/* ==============================
           Tickets Card
        ============================== */

.tickets-card {
    overflow: hidden;
    padding: 0 !important;
}

.tickets-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.tickets-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(108,92,231,.12);
    border: 1px solid rgba(108,92,231,.18);
    color: #9c91ff;
    font-size: 1.1rem;
}


/* ==============================
           Table
        ============================== */

.tickets-table {
    color: var(--text-primary);
    margin: 0;
}

    .tickets-table thead th {
        padding: 14px 20px;
        border: 0;
        color: #777;
        background: rgba(255,255,255,.018);
        font-size: .72rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .tickets-table tbody td {
        padding: 17px 20px;
        border-top: 1px solid rgba(255,255,255,.055);
        vertical-align: middle;
    }

    .tickets-table tbody tr {
        transition: .2s ease;
    }

        .tickets-table tbody tr:hover {
            background: rgba(108,92,231,.035);
        }


/* ==============================
           Subject
        ============================== */

.ticket-subject {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
}

.ticket-subject-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(108,92,231,.09);
    color: #9c91ff;
}


/* ==============================
           Department
        ============================== */

.department-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.06);
    color: #aaa;
    font-size: .73rem;
    white-space: nowrap;
}

    .department-badge i {
        color: #9c91ff;
    }


/* ==============================
           Status
        ============================== */

.status-badge {
    white-space: nowrap;
}

.status-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 4px;
    border-radius: 50%;
    background: currentColor;
    vertical-align: middle;
}


/* ==============================
           Date
        ============================== */

.ticket-date {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #aaa;
    font-size: .75rem;
    white-space: nowrap;
}

    .ticket-date i {
        color: #8d84df;
    }

    .ticket-date span {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .ticket-date small {
        color: #666;
        font-size: .65rem;
    }


/* ==============================
           View Button
        ============================== */

.ticket-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 9px;
    border: 1px solid rgba(108,92,231,.25);
    background: rgba(108,92,231,.07);
    color: #aaa1ff;
    text-decoration: none;
    font-size: .72rem;
    font-weight: 600;
    transition: .2s ease;
    white-space: nowrap;
}

    .ticket-view-btn:hover {
        background: rgba(108,92,231,.15);
        color: #fff;
        transform: translateX(-2px);
    }


/* ==============================
           Empty
        ============================== */

.empty-tickets {
    text-align: center;
    padding: 65px 25px;
}

.empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: rgba(108,92,231,.10);
    border: 1px solid rgba(108,92,231,.18);
    color: #9c91ff;
    font-size: 1.8rem;
    box-shadow: 0 10px 35px rgba(108,92,231,.08);
}


/* ==============================
           Mobile
        ============================== */

@@media (max-width: 767px) {

    .page-header {
        align-items: flex-start !important;
        gap: 15px;
    }

    .page-title {
        font-size: 1.45rem;
    }

    .page-header .btn {
        padding: 8px 12px !important;
        font-size: .75rem;
        white-space: nowrap;
    }

    .tickets-header {
        padding: 15px;
    }

    .tickets-table thead th,
    .tickets-table tbody td {
        padding: 13px 14px;
    }

    .ticket-subject {
        min-width: 190px;
    }
}

@@media (max-width: 480px) {

    .page-header {
        flex-direction: column;
    }

        .page-header .btn {
            width: 100%;
        }

    .empty-tickets {
        padding: 50px 18px;
    }
}

/* =====================================
       Fix Bootstrap Table Background
    ===================================== */

.tickets-card {
    background: rgba(20, 20, 35, 0.55) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

/* حذف پس‌زمینه سفید Bootstrap */
.tickets-table {
    --bs-table-bg: transparent !important;
    --bs-table-color: var(--text-primary) !important;
    --bs-table-border-color: rgba(255,255,255,.06) !important;
    background: transparent !important;
    color: var(--text-primary) !important;
}

    /* خود جدول */
    .tickets-table,
    .tickets-table tbody,
    .tickets-table thead,
    .tickets-table tr,
    .tickets-table th,
    .tickets-table td {
        background-color: transparent !important;
    }

        /* Header جدول */
        .tickets-table thead th {
            background: rgba(255,255,255,.025) !important;
            color: #777 !important;
        }

        /* ردیف‌ها */
        .tickets-table tbody tr {
            background: transparent !important;
        }

        /* سلول‌ها */
        .tickets-table tbody td {
            background: transparent !important;
            color: var(--text-primary) !important;
        }

        /* هاور */
        .tickets-table tbody tr:hover td {
            background: rgba(108,92,231,.045) !important;
        }

        /* جلوگیری از سفید شدن هنگام هاور Bootstrap */
        .tickets-table > :not(caption) > * > * {
            background-color: transparent !important;
        }


/* ==============================
           Page
        ============================== */

.create-ticket-page {
    position: relative;
    overflow: hidden;
}

    .create-ticket-page::before {
        content: "";
        position: absolute;
        width: 550px;
        height: 550px;
        top: -200px;
        right: -200px;
        background: rgba(108,92,231,.09);
        filter: blur(140px);
        border-radius: 50%;
        pointer-events: none;
    }


/* ==============================
           Header
        ============================== */

.create-ticket-header {
    max-width: 700px;
    margin: 0 auto 25px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #777;
    text-decoration: none;
    font-size: .75rem;
    margin-bottom: 18px;
    transition: .2s;
}

    .back-link:hover {
        color: #aaa1ff;
        transform: translateX(3px);
    }

.header-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: rgba(108,92,231,.11);
    border: 1px solid rgba(108,92,231,.18);
    color: #9c91ff;
    font-size: 1.3rem;
    box-shadow: 0 12px 35px rgba(108,92,231,.08);
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9c91ff;
    font-size: .7rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.header-main h1 {
    margin: 0;
    font-size: 1.65rem;
    font-weight: 900;
}

.header-main p {
    margin: 5px 0 0;
    color: #666;
    font-size: .75rem;
}


/* ==============================
           Card
        ============================== */

.create-ticket-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 28px !important;
    border-radius: 22px;
}


/* ==============================
           Fields
        ============================== */

.form-section {
    margin-bottom: 4px;
}

.field-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.field-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(108,92,231,.09);
    color: #9c91ff;
}

.field-title > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.field-title strong {
    font-size: .8rem;
}

.field-title small {
    color: #666;
    font-size: .65rem;
}

.form-label {
    color: #aaa;
    font-size: .73rem;
    margin-bottom: 7px;
}

.modern-input {
    transition: .2s ease;
}

    .modern-input:focus {
        border-color: rgba(108,92,231,.45) !important;
        box-shadow: 0 0 0 3px rgba(108,92,231,.07) !important;
    }

.message-input {
    min-height: 145px;
    resize: vertical;
    line-height: 1.9;
}

.message-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: #5f5f5f;
    font-size: .65rem;
}

    .message-hint i {
        color: #8d84df;
    }


/* ==============================
           Divider
        ============================== */

.form-divider {
    height: 1px;
    margin: 25px 0;
    background: rgba(255,255,255,.065);
}


/* ==============================
           Linked Order
        ============================== */

.order-linked {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 22px;
    padding: 13px;
    border-radius: 13px;
    background: rgba(108,92,231,.055);
    border: 1px solid rgba(108,92,231,.12);
}

.order-linked-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(108,92,231,.1);
    color: #9c91ff;
}

.order-linked > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.order-linked strong {
    font-size: .73rem;
}

.order-linked small {
    color: #666;
    font-size: .64rem;
}


/* ==============================
           Submit
        ============================== */

.submit-area {
    margin-top: 28px;
    text-align: center;
}

.submit-ticket-btn {
    width: 100%;
    min-height: 48px;
    font-size: .8rem;
    font-weight: 700;
}

.submit-arrow {
    margin-right: 5px;
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    color: #555;
    font-size: .63rem;
}

    .secure-note i {
        color: #6ab58b;
    }


/* ==============================
           Help
        ============================== */

.create-ticket-help {
    max-width: 700px;
    margin: 16px auto 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border-radius: 15px;
    background: rgba(255,255,255,.025);
    border: 1px solid rgba(255,255,255,.055);
}

.help-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(108,92,231,.09);
    color: #9c91ff;
}

.create-ticket-help > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.create-ticket-help strong {
    font-size: .73rem;
}

.create-ticket-help small {
    color: #666;
    font-size: .64rem;
    line-height: 1.7;
}


/* ==============================
           Mobile
        ============================== */

@@media (max-width: 767px) {

    .create-ticket-card {
        padding: 20px !important;
        border-radius: 18px;
    }

    .header-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .header-main h1 {
        font-size: 1.4rem;
    }

    .header-main p {
        font-size: .7rem;
    }

    .field-title {
        margin-bottom: 12px;
    }
}


@@media (max-width: 430px) {

    .create-ticket-card {
        padding: 16px !important;
    }

    .header-main {
        align-items: flex-start;
    }

        .header-main h1 {
            font-size: 1.25rem;
        }

    .create-ticket-help {
        align-items: flex-start;
    }
}

/* =====================================
       Dark Select Dropdown
    ===================================== */

.form-select-glass {
    background-color: rgba(20, 20, 35, 0.75) !important;
    color: var(--text-primary) !important;
    border-color: rgba(255,255,255,.10) !important;
}

    /* گزینه‌های داخل لیست */
    .form-select-glass option {
        background-color: #171525 !important;
        color: #ffffff !important;
    }

        /* گزینه انتخاب شده */
        .form-select-glass option:checked {
            background-color: #6c5ce7 !important;
            color: #ffffff !important;
        }

    /* وقتی Select فوکوس شده */
    .form-select-glass:focus {
        background-color: rgba(20, 20, 35, 0.95) !important;
        color: #fff !important;
        border-color: rgba(108,92,231,.6) !important;
        box-shadow: 0 0 0 .2rem rgba(108,92,231,.12) !important;
    }

/* برای select معمولی هم */
select option {
    background-color: #171525;
    color: #fff;
}


.enamad-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 15px;
}

    .enamad-box a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        border-radius: 12px;
        padding: 10px;
        transition: all 0.3s ease;
    }

        .enamad-box a:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }

.enamad-image {
    width: 110px;
    height: auto;
    display: block;
}