﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
    font-family: Tahoma, Arial, sans-serif;
    background: #f7f8fa;
    color: #333;
    line-height: 1.8;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.clear {
    clear: both;
}

.maxWidth {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
}

.logo {
    text-align: center;
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.SiteTitle {
    margin: 0;
}

.SiteLogo {
    width: 180px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.MyNavBar {
    background: #111827;
    border-bottom: 3px solid #2563eb;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    position: sticky;
    top: 0;
    z-index: 999;
}

    .MyNavBar ul {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

        .MyNavBar ul li {
            position: relative;
        }

            .MyNavBar ul li a {
                display: block;
                padding: 18px 25px;
                color: #f8fafc;
                font-size: 15px;
                font-weight: 700;
                transition: .3s;
            }

                .MyNavBar ul li a:hover {
                    color: #60a5fa;
                }

                .MyNavBar ul li a::after {
                    content: "";
                    position: absolute;
                    bottom: 8px;
                    right: 50%;
                    width: 0;
                    height: 3px;
                    background: #60a5fa;
                    border-radius: 10px;
                    transform: translateX(50%);
                    transition: .3s;
                }

                .MyNavBar ul li a:hover::after,
                .MyNavBar ul li.active a::after {
                    width: 70%;
                }

            .MyNavBar ul li.active a {
                color: #60a5fa;
            }

            .MyNavBar ul li:last-child a {
                background: #0d6efd;
                color: #fff;
                margin: 8px;
                border-radius: 8px;
                padding: 10px 18px;
            }

                .MyNavBar ul li:last-child a:hover {
                    background: #0b5ed7;
                }

/* ===========================
   Mobile Menu Button
=========================== */

.MenuBar {
    display: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px 15px;
}

/* ===========================
   Side Menu
=========================== */

.SideMenu {
    position: fixed;
    right: -320px;
    top: 0;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: -3px 0 20px rgba(0,0,0,.15);
    transition: .3s;
    overflow-y: auto;
}

    .SideMenu ul {
        padding: 20px;
    }

    .SideMenu li {
        border-bottom: 1px solid #eee;
    }

        .SideMenu li a {
            display: block;
            color: #333;
            padding: 15px 10px;
        }

            .SideMenu li a:hover {
                color: #0d6efd;
            }

.CloseSide {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 15px;
    float: left;
}

/* ===========================
   Content
=========================== */

main {
    min-height: 600px;
    padding: 15px 0;
}

/* ===========================
   Footer
=========================== */

.MyFuter {
    background: #1f2937;
    margin-top: 50px;
    padding: 35px 0;
    text-align: center;
}

    .MyFuter a {
        color: #fff;
        margin: 0 12px;
        display: inline-block;
        transition: .3s;
    }

        .MyFuter a:hover {
            color: #60a5fa;
        }

/* ===========================
   Product Detail
=========================== */

.dtlp {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    align-items: flex-start;
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin: 30px auto;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
}

.imgprd {
    width: 40%;
}

    .imgprd img,
    #ContentPlaceHolder4_myimg {
        width: 100%;
        height: auto;
        display: block;
    }

#ContentPlaceHolder4_myimg {
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
    margin: auto;
}

.RizDetail {
    width: 60%;
}

    .RizDetail h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .RizDetail h2 {
        color: #0d6efd;
        font-size: 32px;
        margin-bottom: 25px;
    }

.dtlpdes p {
    line-height: 2.2;
    color: #555;
}

.kharidbtn {
    margin-top: 20px;
    background: #198754;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 14px 40px;
    font-size: 18px;
    cursor: pointer;
}

    .kharidbtn:hover {
        opacity: .9;
    }

/* ===========================
   Tabs
=========================== */

.tab {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    margin: 20px auto;
}

.tablinks {
    border: none;
    background: #f3f4f6;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 5px;
}

    .tablinks.active {
        background: #08152f;
        color: #fff;
    }

/* ===========================
   Store
=========================== */

.store-header {
    text-align: center;
    padding: 30px 15px;
}

    .store-header h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .store-header p {
        color: #666;
    }

.Store {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
    margin: 30px auto;
}

.Store-item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,.08);
    transition: .3s;
    display: flex;
    flex-direction: column;
}

    .Store-item:hover {
        transform: translateY(-5px);
    }

.Store-image img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    display: block;
}

.Store-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.Store-title {
    line-height: 1.8;
    min-height: 58px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.Store-price {
    font-size: 18px;
    font-weight: bold;
    color: #0d6efd;
    margin: 10px 0;
    text-align: center;
    direction: ltr;
}

.Store-desc {
    color: #666;
    font-size: 13px;
    line-height: 28px;
    min-height: 84px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.Store-btn {
    margin-top: auto;
    display: block;
    text-align: center;
    padding: 12px;
    background: #08152f;
    color: #fff;
    border-radius: 8px;
}

    .Store-btn:hover {
        opacity: .9;
    }

/* ===========================
   Popups
=========================== */

.FORMSEF {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 450px;
    background: #fff;
    border-radius: 15px;
    padding: 12px;
    z-index: 70000;
    display: none;
    box-shadow: 0 10px 40px rgba(0,0,0,.25);
    border: 1px solid #e5e7eb;
}

    .FORMSEF h4 {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .FORMSEF hr {
        margin-bottom: 10px;
    }

    .FORMSEF td {
        padding: 2px 0;
    }

    .FORMSEF input[type=text],
    .FORMSEF input[type=email],
    .FORMSEF select,
    .FORMSEF input {
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }

    .FORMSEF td:first-child {
        width: 80px;
        font-size: 13px;
    }

    .FORMSEF .DokmeDefBlue,
    .FORMSEF .DokmeDefRed {
        height: 35px;
        font-size: 13px;
    }

    .FORMSEF tr:last-child td {
        padding-top: 8px;
    }

.SuccessPopup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    background: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 99999;
    text-align: center;
    display: none;
    border-radius: 10px;
}

/* ===========================
   Mobile
=========================== */

@media (max-width:768px) {

    .MenuBar {
        display: block;
    }

    .MyNavBar ul {
        display: none;
    }

    .logo {
        padding: 10px 0;
    }

    .SiteLogo {
        width: 140px;
    }

    .MyFuter a {
        display: block;
        margin: 10px 0;
    }

    .dtlp {
        display: block;
        padding: 15px;
    }

    .imgprd,
    .RizDetail {
        width: 100%;
    }

    #ContentPlaceHolder4_myimg {
        max-width: 450px;
        margin: 0 auto 15px;
    }

    .RizDetail h1 {
        font-size: 24px;
    }

    .RizDetail h2 {
        font-size: 24px;
    }

    .kharidbtn {
        width: 100%;
    }

    .Store {
        grid-template-columns: repeat(2,1fr);
        gap: 10px;
    }

    .Store-image img {
        height: 180px;
    }

    .Store-title {
        font-size: 15px;
    }

    .Store-desc {
        font-size: 13px;
        height: 60px;
    }
}
.RegisterForm {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(0,0,0,.08);
    border-collapse: separate;
    border-spacing: 0 12px;
}

    .RegisterForm td {
        padding: 4px 10px;
        vertical-align: middle;
    }

        .RegisterForm td:first-child {
            width: 230px;
            font-weight: 700;
            color: #374151;
            white-space: nowrap;
        }

    .RegisterForm .form-control {
        width: 100%;
        min-width: 280px;
        height: 42px;
        border: 1px solid #d1d5db;
        border-radius: 10px;
        padding: 0 12px;
        font-size: 14px !important;
        background: #fafafa;
        transition: all .25s ease;
    }

    .RegisterForm textarea.form-control {
        min-height: 90px;
        padding-top: 10px;
        resize: vertical;
    }

    .RegisterForm .form-control:focus {
        outline: none;
        border-color: #0d6efd;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(13,110,253,.12);
    }

    .RegisterForm select.form-control {
        min-width: 90px;
        width: auto;
    }

    .RegisterForm input[type="radio"] {
        transform: scale(1.3);
        margin-left: 10px;
    }

    .RegisterForm .DokmeDefBlue {
        width: 220px;
        height: 45px;
        border: none;
        border-radius: 10px;
        background: #0d6efd;
        color: #fff;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: .3s;
    }

        .RegisterForm .DokmeDefBlue:hover {
            background: #0b5ed7;
            transform: translateY(-2px);
        }

    .RegisterForm span[style*="Red"] {
        display: block;
        font-size: 12px;
        margin-top: 4px;
        font-weight: bold;
    }

    .RegisterForm tr:hover {
        background: rgba(13,110,253,.02);
    }
@media (max-width:768px) {

    .RegisterForm {
        width: 95%;
        padding: 15px;
    }

        .RegisterForm,
        .RegisterForm tbody,
        .RegisterForm tr,
        .RegisterForm td {
            display: block;
            width: 100%;
        }

            .RegisterForm td:first-child {
                width: 100%;
                margin-bottom: 5px;
                font-size: 14px;
            }

            .RegisterForm .form-control {
                min-width: 100%;
            }

            .RegisterForm .DokmeDefBlue {
                width: 100%;
            }
}
.BirthDrop {
    width: 50px !important;
    height: 40px;
    margin: 0 3px;
}
.LoginBox {
    max-width: 420px;
    margin: 30px auto;
    padding: 25px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    text-align: right;
}

    .LoginBox label,
    .LoginBox span {
        display: block;
        margin-bottom: 6px;
        font-weight: 700;
        color: #374151;
    }

    .LoginBox input[type="text"],
    .LoginBox input[type="password"] {
        width: 100%;
        height: 42px;
        border: 1px solid #d1d5db;
        border-radius: 8px;
        padding: 0 12px;
        margin-bottom: 15px;
        font-size: 14px;
        transition: .3s;
    }

        .LoginBox input[type="text"]:focus,
        .LoginBox input[type="password"]:focus {
            outline: none;
            border-color: #0d6efd;
            box-shadow: 0 0 0 4px rgba(13,110,253,.12);
        }

    .LoginBox .myBTNblue {
        width: 100%;
        height: 45px;
        border: none;
        border-radius: 8px;
        background: #0d6efd;
        color: #fff;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        transition: .3s;
    }

        .LoginBox .myBTNblue:hover {
            background: #0b5ed7;
        }

    .LoginBox a {
        display: block;
        text-align: center;
        margin-top: 15px;
        color: #0d6efd;
        text-decoration: none;
        font-size: 14px;
    }

        .LoginBox a:hover {
            text-decoration: underline;
        }

.dngLogin {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}
.PagerBox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0;
}

    .PagerBox a,
    .PagerBox span {
        min-width: 42px;
        height: 42px;
        line-height: 42px;
        text-align: center;
        padding: 0 14px;
        border-radius: 10px;
        text-decoration: none;
        font-weight: 700;
        font-size: 15px;
        transition: .3s;
    }

.PagerBtn {
    background: #fff;
    border: 1px solid #dbe3ef;
    color: #0a1931;
}

    .PagerBtn:hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #fff;
    }

.PagerActive {
    background: #0d6efd;
    color: #fff;
    border: 1px solid #0d6efd;
}