@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/Vazir.eot');
    src: url('/assets/fonts/Vazir.eot?#iefix') format('eot'), url('/assets/fonts/Vazir.woff2') format('woff2'), url('/assets/fonts/Vazir.woff') format('woff'), url('/assets/fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'yekan';
    src: url("../fonts/Yekan.eot") format('eot');
    src: url("../fonts/Yekan.ttf") format('truetype'), url("../fonts/Yekan.woff") format('woff');
}



* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

body {
    direction: rtl;
    font-family: 'vazir';
    /*    background: #E9F1E5;*/
    background: #EEF3EC;
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

input,
button {
    font-family: 'vazir';
}

.container {
    width: 90vw;
    margin: auto;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}




.border-top {
    border-top: 1px solid #252525;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    position: relative;
}

    .header-title::before {
        content: "";
        position: absolute;
        background-color: #dfdfdf;
        bottom: 0;
        right: 0;
        left: 0;
        height: 1px;
    }

    .header-title h2 {
        width: 300px;
        text-align: center;
        position: relative;
        padding-bottom: 10px;
    }

        .header-title h2::before {
            content: "";
            position: absolute;
            background-color: #c00;
            bottom: 0;
            right: 0;
            left: 0;
            height: 1px;
        }

        .header-title h2::after {
            content: "";
            position: absolute;
            background-color: rgb(255, 255, 255);
            bottom: 0;
            width: 15px;
            height: 1px;
            left: -15px;
        }

    .header-title a {
        color: #000;
    }

        .header-title a:hover {
            color: #c00;
        }

.sidebar-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #c00;
    padding: 10px 0;
}

    .sidebar-title a {
        color: #000;
    }

        .sidebar-title a:hover {
            color: #c00;
        }

.btn {
    /* position: relative; */
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0 20px 0;
}

.shop-btn {
    /* position: absolute; */
    /* top: 10px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.eye-btn {
    /* position: absolute; */
    /* top: 50px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.heart-btn {
    /* position: absolute; */
    /* top: 90px;
  left: 10px; */
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Header */

header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: 18vh;
}

    header .navbar {
        width: 100%;
        /* height: 9vh; */
        display: flex;
        justify-content: space-between;
        align-items: center;
        /* position: relative; */
    }



/* Header ===UP====> Search */
.searchbox {
    width: 100%;
}

    .searchbox form {
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin: 5px 0;
        align-items: center;
        color: #cacaca;
    }

    .searchbox input {
        width: 99%;
        padding: 10px;
        border: none;
        border-bottom: 2px solid #cacaca;
        outline: none;
        transition: all 0.3s ease-in-out;
        color: #cacaca;
        border: solid 3px #fff;
        border-radius: 10px;
    }

/* Header ===Right====> Menu */

.menu {
    display: flex;
    /* width: 50%; */
}

    .menu > ul {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }

        .menu > ul > li {
            text-align: center;
        }

            .menu > ul > li > a {
                text-align: center;
                transition: all 0.3s ease-in-out;
                text-decoration: none;
            }

.navbar .menu > ul > li > a > svg {
    font-size: 30px;
    width: 100%;
    margin-top: 5px;
}

/* Mega-menu */

header .navbar .menu ul li ul.mega-menu {
    position: absolute;
    width: 100%;
    right: 0;
    top: 8vh;
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.4s ease-in-out;
    z-index: 1000 !important;
    /* gap: 10px; */
    padding: 30px 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

header .navbar .menu > ul > li:hover ul.mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu ul li ul.mega-menu li {
    flex: 1;
    min-width: 160px;
    text-align: center;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
}

    .menu ul li ul.mega-menu li h2 {
        font-size: 24px;
        color: #fff;
        border-bottom: 1px solid #202020;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .menu ul li ul.mega-menu li ul {
        margin-top: 10px;
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

        .menu ul li ul.mega-menu li ul li {
            width: 100%;
        }

            .menu ul li ul.mega-menu li ul li a {
                width: 100%;
                display: block;
                padding: 10px 0;
                color: #fff;
                transition: all 0.2s ease;
                text-decoration: none;
            }

    .menu ul li ul.mega-menu li img {
        width: 100%;
        height: 100%;
        padding: 10px;
    }




/* Header ===Left====> Social */

.navbar .social {
    display: flex;
    /* width: 100%; */
    height: 100%;
    align-items: center;
    justify-content: flex-end;
}

    .navbar .social ul {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

.social ul li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0 10px;
}

    .social ul li a {
        height: 100%;
        display: flex;
        align-items: center;
    }

        .social ul li a svg {
            font-size: 25px;
            transition: all 0.2s ease-in-out;
        }






.tab-pane,
.tab-child {
    width: 100%;
    padding: 0;
    margin: 0;
}







    /* --- اطمینان از نمایش آیتم‌های محصول --- */
    .tab-pane .items,
    .tab-child .items {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        padding: 10px 0;
    }










.down-menu {
    width: 100%;
    background: #fff;
    /*    padding: 60px 0 40px;*/
    position: sticky;
    top: 0;
    z-index: 900;
    overflow: visible;
    padding-top: 10px;
    height: 200px;
}

.down-navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 40px;
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

#nav .owl-item .item {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    background: #fafafa;
    border: 2px solid #f5f5f5;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    #nav .owl-item .item .img {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 50%;
    }

        #nav .owl-item .item .img img {
            width: auto;
            height: auto;
            min-width: 100%;
            min-height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

    #nav .owl-item .item:hover .img img {
        transform: scale(1.07);
    }


    #nav .owl-item .item .cat-name {
        position: absolute;
        bottom: 20px;
        left: 0;
        right: 0;
        color: #c00;
        background:#fff;
        font-size: 18px;
        font-weight: 700;
        font-family: 'Vazir', sans-serif;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        pointer-events: none;
        z-index: 10;
    }

    #nav .owl-item .item:hover .cat-name {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    #nav .owl-item .item::after {
        content: "";
        position: absolute;
        top: 20px;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 50%;
        transition: all 0.3s ease;
        opacity: 0;
        z-index: 5;
    }

    #nav .owl-item .item:hover::after {
        opacity: 1;
    }


    #nav .owl-item .item .nav-link {
        position: relative;
        z-index: 10;
        width: 100%;
        height: 100%;
        display: block;
        cursor: pointer;
        text-decoration: none;
    }


#nav.owl-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    pointer-events: auto !important;
    z-index: 105 !important;
}

#nav.owl-prev,
#nav.owl-next {
    background: white !important;
    border-radius: 50% !important;
    width: 54px !important;
    height: 54px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: #333 !important;
    box-shadow: 0 6px 22px rgba(0,0,0,0.12) !important;
    transition: all 0.3s ease !important;
    pointer-events: auto !important;
    position: static !important;
    z-index: 106 !important;
}

    #nav.owl-prev:hover,
    #nav.owl-next:hover {
        background: #c00 !important;
        color: white !important;
        transform: scale(1.12);
        box-shadow: 0 12px 35px rgba(192,0,0,0.35) !important;
    }

.owl-carousel .owl-stage {
    text-align: -webkit-center;
}

@media (max-width: 575px) {
    .down-menu {
/*        padding: 50px 0 30px;*/
            height:150px;
    }

    #nav .owl-item .item {
        width: 120px;
        height: 120px;
        margin-bottom: 8px;
    }

        #nav .owl-item .item .cat-name {
            font-size: 14px;
/*            bottom: 15px;*/
            opacity:1;
            visibility:visible;
        }

    #nav.owl-nav {
        top: 58% !important;
    }

    #nav.owl-prev, #nav.owl-next {
        width: 46px !important;
        height: 46px !important;
        font-size: 19px !important;
    }
}










.tab-content {
    margin: 20px 0;
    background-color: #fff;
    /* padding: 25px; */
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    text-align: right;
    background: #edf6f9;
}

.tab-pane .items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    justify-content: center;
}

.tab-pane .tab-item {
    flex: 1 1 calc(25% - 15px);
    max-width: calc(25% - 15px);
    background: #fff;
    text-align: center;
    box-shadow: 0 0 3px 2px rgba(192, 192, 192, 0.3);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .tab-pane .tab-item:hover {
        transform: translateY(-5px);
    }

    .tab-pane .tab-item a {
        text-decoration: none;
        color: #333;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 10px;
    }

    .tab-pane .tab-item img {
        width: 80%;
        height: 160px;
        object-fit: cover;
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .tab-pane .tab-item h5 {
        margin: 0;
        font-size: 16px;
        color: #333;
        font-weight: 600;
    }

.view-all-link {
    display: inline-block !important;
    margin: 20px auto !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    clear: both;
    float: none;
    width: fit-content;
    background: #c00;
    color: white !important;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .view-all-link:hover {
        background: #a00;
        transform: translateY(-2px);
    }


.pagination {
    margin: 40px 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
}

.page-item {
    margin: 0;
}

.page-link {
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

    .page-link:hover {
        background-color: #f8f9fa;
        border-color: #c00;
        color: #c00;
    }

.page-item.active .page-link {
    background-color: #c00;
    border-color: #c00;
    color: white;
}

.page-item.disabled .page-link {
    color: #aaa;
    cursor: not-allowed;
    background-color: #f8f9fa;
    border-color: #ddd;
}






/* DIDGAH */

.didgah-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.didgah-item {
    background-color: #fff;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.didgah-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.didgah-name {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

.didgah-date {
    font-size: 13px;
    color: #888;
}

.didgah-body {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

    .didgah-body p {
        margin: 0;
    }


.add-didgah {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

    .add-didgah h4 {
        color: #333;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .add-didgah textarea {
        width: 100%;
        min-height: 100px;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 15px;
        resize: vertical;
        background-color: #fff;
    }

.btn-submit-didgah {
    margin-top: 10px;
    padding: 10px 20px;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-didgah input {
    width: 30%;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    margin: 10px 0;
    padding: 3px 5px;
}








.offer {
    position: relative;
    background: #EEF3EC;
}


    .offer .related-products {
        padding: 40px 0;
        text-align: center;
    }

.related-products h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.related-products .related-items {
    display: inline-block;
    width: 95%;
    height: 400px;
    margin: 15px 10px;
    /* vertical-align: top; */
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height:100%;
}

    .related-products .related-items .img img {
        width: 90%;
        height: 100%;
    }

    .related-products .related-items img {
        width: 90%;
        height: 100%;
        object-fit: cover;
    }

    .related-products .related-items h4 {
        font-size: 18px;
        margin: 15px 0 5px;
        color: #333;
    }

    .related-products .related-items .price {
        font-weight: bold;
        font-size: 16px;
        margin-bottom: 15px;
    }

.related-products .col-lg-4:hover {
    transform: translateY(-5px);
}


.section-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #c00, transparent);
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    z-index: 1;
}


.brand-header {
    position: relative;
    z-index: 2;
}

.brand-logo {
    font-family: 'Vazir', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #c00;
    letter-spacing: 2px;
    display: inline-block;
    padding: 5px 24px;
    border-radius: 50px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
    z-index: 3;
    border:solid 2px #c00;
}



.related-products h3 {
    font-family: 'Vazir', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-top: 10px;
    letter-spacing: 1px;
}




/* Footer */

.footer {
    width: 100%;
    padding: 40px 0;
    text-align: right;
}

    .footer h3,
    .footer h4 {
        text-align: center;
        margin-bottom: 10px;
        color: #fff;
    }


        .footer .footer-customer-services ul li a {
            color: #fff;
            padding: 10px 0;
            display: block;
            text-decoration: none;
        }

        .footer .footer-customer-services h3,
        .footer .footer-quick-access h3 {
            text-align: right;
            font-size: 20px;
        }



        .footer .footer-quick-access ul li a {
            color: #fff;
            padding: 10px 0;
            display: block;
            text-decoration: none;
        }



        .footer .footer-license .information {
            margin-bottom: 15px;
        }

            .footer .footer-license .information h4 {
                margin-bottom: 10px;
                text-align: right;
                font-size: 15px;
            }

                .footer .footer-license .information h4.mail {
                    margin-bottom: 10px;
                    text-align: left;
                }

        .footer .footer-license .license {
            display: flex;
        }

            .footer .footer-license .license img {
                width: 33%;
                height: 140px;
            }

    .footer .footer-logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .footer .footer-logo img {
            width: 150px;
            padding: 60px 0;
            border-radius: 48%;
        }

.hamburger {
    display: none;
}

header .navbar .menu > ul > .close-icon {
    display: none;
}
