/* _content/TechShop/Components/Layout/MainLayout.razor.rz.scp.css */

.page[b-w7sq3cumaz] {
    position: relative;
    display: flex;
    flex-direction: column; /* اینجا میگه که اجزای داخل page به صورت ستونی کنار هم قرار بگیرند */
    background: linear-gradient(135deg, #e6f0ff, #f7faff);
    min-height: 100vh;
    font-family: 'Vazir', Tahoma, sans-serif !important;
}

/* سایدبار شیشه‌ای */
.sidebar[b-w7sq3cumaz] {
    background: rgba(5, 39, 103, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

    .sidebar:hover[b-w7sq3cumaz] {
        background: rgba(5, 39, 103, 0.9);
    }

/* نوار بالای صفحه */
.top-row[b-w7sq3cumaz] {
    background: rgba(0, 123, 255, 0.15);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    transition: background 0.3s ease;
}

    .top-row:hover[b-w7sq3cumaz] {
        background: rgba(0, 123, 255, 0.25);
    }

    /* لینک‌ها */
    .top-row[b-w7sq3cumaz]  a,
    .top-row[b-w7sq3cumaz]  .btn-link {
        color: #0546a0;
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .top-row[b-w7sq3cumaz]  a:hover,
        .top-row[b-w7sq3cumaz]  .btn-link:hover {
            color: #0069d9;
            text-decoration: underline;
        }

/* محتوا */
/*article.content {
    padding: 2rem;
    background: rgba(255,255,255,0.75);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    margin: 1rem;
}*/

.content[b-w7sq3cumaz]{
    padding-right: 1rem;
    padding-left: 1rem;
}
/* ریسپانسیو */
@media (max-width: 640.98px) {
    .top-row[b-w7sq3cumaz] {
        justify-content: space-between;
    }

        .top-row[b-w7sq3cumaz]  a,
        .top-row[b-w7sq3cumaz]  .btn-link {
            margin-left: 0;
        }
}

@media (min-width: 641px) {
    .page[b-w7sq3cumaz] {
        flex-direction: row;
    }

    .sidebar[b-w7sq3cumaz] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-w7sq3cumaz] {
        position: sticky;
        top: 0;
        z-index: 10;
    }
}

@media (min-width: 992px) {
    .content[b-w7sq3cumaz] {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

/* پیام خطا */
#blazor-error-ui[b-w7sq3cumaz] {
    color-scheme: light only;
    background: rgba(255, 235, 59, 0.9);
    backdrop-filter: blur(6px);
    bottom: 0;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-top: 1px solid rgba(0,0,0,0.1);
}

    #blazor-error-ui .dismiss[b-w7sq3cumaz] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.page[b-w7sq3cumaz] {
    display: flex;
    flex-direction: column; /* منو بالا قرار میگیره */
    overflow:visible;
}

/* منوی اصلی بالای صفحه */
.top-menu[b-w7sq3cumaz] {
    background: #0d6efd;
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

.big-banner[b-w7sq3cumaz] {
    position: relative;
    width: 100%;
    height: 80px; /* ارتفاع بزرگ و چشمگیر */
    background: linear-gradient(135deg, #4f46e5 25%, transparent 25%) -50px 0, linear-gradient(225deg, #4f46e5 25%, transparent 25%) -50px 0, linear-gradient(315deg, #4f46e5 25%, transparent 25%), linear-gradient(45deg, #4f46e5 25%, transparent 25%), linear-gradient(to bottom, #3b82f6 0%, #2563eb 100%);
    background-size: 100px 100px, 100px 100px, 100px 100px, 100px 100px, 100% 100%;
    background-color: #1d4ed8;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}



.banner-text[b-w7sq3cumaz] {
    text-align: center;
    color: white;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.2rem;
/*    animation: custom 2s ease-in-out infinite alternate;*/
}
/*
@keyframes custom {
    from {
        transform: translateX(-10px);
    }

    to {
        transform: translateX(10px);
    }
}*/


.discount[b-w7sq3cumaz] {
    font-size: 2rem;
    font-weight: 900;
    margin-right: 10px;
    background: linear-gradient(90deg, #ff7a59, #ff4d6d);
    color: white;
    padding: 6px 8px;
    border-radius: 8px;
}

.percent[b-w7sq3cumaz] {
    font-size: 1.5rem;
    vertical-align: super;
}

.message[b-w7sq3cumaz] {
    display: block;
    font-size: 2rem;
    margin-top: 5px;
    font-weight: 600;
}

.cta-btn[b-w7sq3cumaz] {
    padding: 10px 25px;
    background-color: #ffce00;
    color: #007bff;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .cta-btn:hover[b-w7sq3cumaz] {
        background-color: #ffd633;
        transform: scale(1.05);
    }




/* footer */
footer[b-w7sq3cumaz] {
    margin-top: 36px;
    background: linear-gradient(rgb(104 169 255 / 78%), rgb(212, 234, 255));
    border-top: 1px solid rgba(6,12,34,0.04);
    padding: 28px 0
}

.footer-grid[b-w7sq3cumaz] {
    display: grid;
    grid-template-columns: repeat(1,1fr);
    gap: 80px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 18px
}

.footer-col h4[b-w7sq3cumaz] {
    margin: 0 0 8px 0
}

.footer-col a[b-w7sq3cumaz]{
    border-bottom: 1px solid transparent;
    padding: 0px 5px 3px 10px;
    border-radius: 3px;
    width: fit-content;
    transition:all 0.15s ease-in-out
}

.footer-col a:hover[b-w7sq3cumaz]{
    border-bottom: 1px solid #07203a;
    border-radius: 3px;
    transition:all 0.15s ease-in-out
}


.legal[b-w7sq3cumaz] {
    text-align: center;
    color: var(--muted);
    margin-top: 14px;
    font-size: 13px
}

@media (max-width:450px) {
    .discount[b-w7sq3cumaz] {
        font-size: 1rem !important;
    }

    .percent[b-w7sq3cumaz] {
        font-size: 1rem !important;
    }

    .message[b-w7sq3cumaz] {
        font-size: 1.5rem !important;
    }

    .cta-btn[b-w7sq3cumaz] {
        font-size: 0.8rem;
        white-space: nowrap;
        padding: 10px 9px;
    }
    .banner-text[b-w7sq3cumaz] {
        gap: 0.5rem;
    }
}



@media (max-width:380px) {
    .message[b-w7sq3cumaz] {
        font-size: 1rem !important;
    }

    .cta-btn[b-w7sq3cumaz] {
        font-size: 0.8rem;
        white-space: nowrap;
        padding: 10px 9px;
    }

    .banner-text[b-w7sq3cumaz] {
        gap: 0.5rem;
    }
}

@media (max-width:520px) {
    .footer-grid[b-w7sq3cumaz] {
        grid-template-columns: repeat(1,1fr)
    }
}
@media (max-width: 576px) {
    .discount[b-w7sq3cumaz] {
        font-size: 1.5rem;
    }
    .percent[b-w7sq3cumaz] {
        font-size: 1.2rem;
    }
    .message[b-w7sq3cumaz] {
        font-size: 1.5rem;
    }
    .cta-btn[b-w7sq3cumaz] {
        font-size: 0.8rem;
    }
}
@media (min-width: 576px) {
    .footer-grid[b-w7sq3cumaz] {
        grid-template-columns: repeat(1,1fr);
        place-items: center;
    }
}
@media (min-width: 768px) {
    .grid-wid-product[b-w7sq3cumaz] {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-grid[b-w7sq3cumaz] {
        grid-template-columns: repeat(3,1fr);
    }

    .footer-grid[b-w7sq3cumaz] {
        grid-template-columns: repeat(2,1fr);
        place-items: start;
    }

    .product-card[b-w7sq3cumaz] {
        min-width: none;
    }
}
@media (min-width: 992px) {
    .footer-grid[b-w7sq3cumaz] {
        grid-template-columns: repeat(5,1fr);
        place-items: start;
    }
}
/* _content/TechShop/Components/Layout/NavMenu.razor.rz.scp.css */

/* کانتینر کلی هدر */
.main-header[b-9ovmj25pzn] {
    background: linear-gradient(90deg, #0d6efd, #0546a0);
    color: white;
    font-family: 'Vazir', Tahoma, sans-serif;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 999;
}

    /* داخل هدر */
    .main-header .container[b-9ovmj25pzn] {
        max-width: 83.5%;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 1rem;
    }

    /* لوگو */
    .main-header .logo[b-9ovmj25pzn] {
        font-weight: 700;
        font-size: 1.5rem;
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .main-header .logo i[b-9ovmj25pzn] {
            font-size: 1.8rem;
            color: #ffe600; /* رنگ طلایی برای آیکون */
        }

/* منو ناوبری */
.nav-menu[b-9ovmj25pzn] {
    display: flex;
    gap: 1rem;
    align-items: center;
}

    /* لینک‌های منو */
    .nav-menu .nav-item[b-9ovmj25pzn] {
        color: white !important;
        font-weight: 600 !important;
        text-decoration: none;
        padding: 0.4rem 0.75rem;
        border-radius: 6px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

       

/* دکمه خروج */
.logout-button[b-9ovmj25pzn] {
    background: transparent;
    border: none;
    color: white ;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

    .logout-button:hover[b-9ovmj25pzn] {
        background-color: rgba(255, 255, 255, 0.15);
    }

/* آیکون منوی موبایل */
.menu-icon[b-9ovmj25pzn] {
    display: none;
    cursor: pointer;
    font-size: 1.7rem;
    color: white;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .nav-menu[b-9ovmj25pzn] {
        position:absolute;
        top: 5.6rem;
        right: 0;
        background: linear-gradient(180deg, #0d6efd, #0546a0);
        flex-direction: column;
        width: 220px;
        transition: transform 0.3s ease;
        padding: 1rem 0;
        border-radius: 0 0 0 12px;
        box-shadow: -4px 0 12px rgba(0,0,0,0.2);
        height: calc(100vh - 3.8rem);
        overflow-y: auto;
        z-index: 1100;
        gap: 2rem;
        border-radius: 12px 0px 0px 10px;
    }

    /* نمایش منو وقتی چک‌باکس فعال است */
/*    #menu-toggle:checked + .menu-icon + .nav-menu {
        transform: translateX(0);
    }*/

    /* آیکون منو نمایش داده شود */
    .menu-icon[b-9ovmj25pzn] {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 7px;
    }
}

/* استایل Dropdown */
.dropdown[b-9ovmj25pzn] {
    position: relative;
}

.dropdown-menu[b-9ovmj25pzn] {
    display: none !important;
    position: absolute;
    top: 102%;
    left: -60%;
    background: white;
    color: black !important;
    min-width: 200px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 100;
    transition: 1s;
}

    .dropdown-menu li[b-9ovmj25pzn] {
        list-style: none;
        display: flex;
        text-align:center;
    }

        .dropdown-menu li a[b-9ovmj25pzn] {
            display: block !important;
            padding: 0.5rem 1rem;
            color: black !important;
            text-decoration: none;
            transition: background 0.2s;
        }

            .dropdown-menu li a:hover[b-9ovmj25pzn] {
                background: rgba(0,0,0,0.05);
            }
            .dropdown-menu li:hover[b-9ovmj25pzn] {
                background-color: #bfd9ff7d;
            }
            .dropdown-menu .nohover:hover[b-9ovmj25pzn] {
                background-color: white;
            }

/* نمایش منو هنگام هاور */
.dropdown:hover .dropdown-menu[b-9ovmj25pzn] {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    transition: 1s;
}

/* آیکون و رنگ داخل dropdown */
.dropdown-menu i[b-9ovmj25pzn] {
    margin-left: 0.5rem !important;
    color: #0d6efd !important;
}

.shopcart[b-9ovmj25pzn]::before {
    content: "|";
    margin:0rem 1rem 0rem 2rem; 
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .big-banner[b-9ovmj25pzn] {
        height: 120px;
    }

    .discount[b-9ovmj25pzn] {
        font-size: 2.5rem;
    }

    .percent[b-9ovmj25pzn] {
        font-size: 1.5rem;
    }

    .message[b-9ovmj25pzn] {
        font-size: 1.2rem;
    }

    .cta-btn[b-9ovmj25pzn] {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}



.cart-icon-container[b-9ovmj25pzn] {
    position: relative;
    width: 55px !important;
    height: 55px !important;
    border-radius: 50% !important;
    box-shadow: -1px 4px 8px rgb(255 255 255 / 18%) !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: white !important;
    font-size: 32px !important;
    z-index: 1001 !important;
    user-select: none !important;
}


.cart-badge[b-9ovmj25pzn] {
    align-items: center !important;
    position: absolute !important;
    bottom: -1px !important;
    left: -1px !important;
    background-color: red !important;
    color: white !important;
    width: 24px !important;
    height: 23px !important;
    font-size: 16px !important;
    border-radius: 50% !important;
    display: flex !important;
    text-align: center !important;
    justify-content: center !important;
    line-height: 20px !important;
    font-weight: bold !important;
    box-shadow: 0 0 2px white !important;
    pointer-events: none !important;
}

.cart-dropdown[b-9ovmj25pzn] {
    position: absolute;
    top: 56px;
    right: -3px;
    width: 217px !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2) !important;
    padding: 12px !important;
    z-index: 1000 !important;
    direction: rtl !important;
    transition: none !important;
}

.cart-item[b-9ovmj25pzn] {
    display: flex !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 8px !important;
}


.cart-item-image[b-9ovmj25pzn] {
    width: 50px !important;
    height: 50px !important;
    object-fit: contain !important;
    border-radius: 4px !important;
}

.cart-item-details[b-9ovmj25pzn] {
    flex-grow: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.cart-item-name[b-9ovmj25pzn] {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.cart-item-quantity[b-9ovmj25pzn],
.cart-item-price[b-9ovmj25pzn] {
    font-size: 13px !important;
    color: #555 !important;
}

.cart-total[b-9ovmj25pzn] {
    font-weight: 700 !important;
    font-size: 16px !important;
    text-align: left !important;
    margin-top: 12px !important;
    border-top: 2px solid #007bff !important;
    padding-top: 8px !important;
    direction: rtl !important;
}


.showcartondesktop[b-9ovmj25pzn] {
    display: none;
}
.showcartonmobile[b-9ovmj25pzn] {
    display: block;
}

.showclearcardondesktop[b-9ovmj25pzn] {
    display: none;
}

.showclearcardonmobile[b-9ovmj25pzn] {
    display: block;
    width:100%;
}

.text-center-mobile[b-9ovmj25pzn] {
    text-align: center;
}


.burger[b-9ovmj25pzn] {
    position: relative;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: block;
    background: transparent;
}

    .burger span[b-9ovmj25pzn] {
        display: block;
        position: absolute;
        height: 4px;
        width: 100%;
        background: black;
        border-radius: 9px;
        left: 0;
        transition: 0.25s ease-in-out;
    }

        .burger span:nth-of-type(1)[b-9ovmj25pzn] {
            top: 0;
        }

        .burger span:nth-of-type(2)[b-9ovmj25pzn] {
            top: 50%;
            transform: translateY(-50%);
        }

        .burger span:nth-of-type(3)[b-9ovmj25pzn] {
            bottom: 0;
        }

    /* وقتی باز شد */
    .burger.open span:nth-of-type(1)[b-9ovmj25pzn] {
        transform: rotate(45deg);
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .burger.open span:nth-of-type(2)[b-9ovmj25pzn] {
        opacity: 0;
    }

    .burger.open span:nth-of-type(3)[b-9ovmj25pzn] {
        transform: rotate(-45deg);
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }


.navmenuoverlay[b-9ovmj25pzn]{
    display:block;
}

@media (min-width: 400px) {
    .cart-item-details[b-9ovmj25pzn] {
        flex-grow: 1 !important;
    }
    .cart-dropdown[b-9ovmj25pzn] {
        width: 260px !important;
    }
    .showclearcardondesktop[b-9ovmj25pzn] {
        display: none;
    }
    .showclearcardonmobile[b-9ovmj25pzn] {
        display: block;
        width: 100%;
    }
    .text-center-mobile[b-9ovmj25pzn]{
        text-align:center;
    }
}

@media (min-width: 490px) {
    .cart-item-details[b-9ovmj25pzn] {
        flex-grow: 1 !important;
    }
    .cart-dropdown[b-9ovmj25pzn] {
        width: 360px !important;
    }
    .showclearcardondesktop[b-9ovmj25pzn] {
        display: block;
    }
    .showclearcardonmobile[b-9ovmj25pzn] {
        display: none;
    }
    .text-center-mobile[b-9ovmj25pzn] {
        text-align: start;
    }
}

/* حساب کاربری موبایل */
@media (max-width: 767.98px) {
    .hesab-menu[b-9ovmj25pzn] {
        display: none !important;
    }

    .hesab-menu-mobile[b-9ovmj25pzn] {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .nav-menu[b-9ovmj25pzn]{
        transform:none !important;
    }
    .navmenuoverlay[b-9ovmj25pzn] {
        display: none;
    }
    .burger[b-9ovmj25pzn]{
        display:none;
    }
    .hesab-menu[b-9ovmj25pzn] {
        display: block !important;
    }

    .hesab-menu-mobile[b-9ovmj25pzn] {
        display: none !important;
    }
    .showcartondesktop[b-9ovmj25pzn] {
        display: block;
    }
    .showcartonmobile[b-9ovmj25pzn] {
        display: none;
    }
}

@media (max-width: 992px) {
    .main-header .container[b-9ovmj25pzn] {
        max-width: 99.5%;
    }
}


