﻿body {
    direction: rtl;
    margin: auto;
    background-color: #edf1f7;
    font-family: Yekan,Tahoma;
}

.content{
    margin-right:20px;
    margin-left:20px;
}
/*panels for show products on indext page*/
.panel {
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 3px 3px rgba(4,40,92,.05);
    box-shadow: 0 3px 3px rgba(4,40,92,.05);
}

.panel-body {
    border-color: #eee;
    padding: 15px 30px !important;
    background-color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px 0 rgba(4,40,92,.4);
    margin-bottom: 30px !important;
}

.panel-title {
    font-size: 28px;
    font-family: Tahoma;
}

    .panel-title:hover {
        color: #1882a1;
        font-size: 28px;
    }



.fa {
    margin-left: 10px;
}

/*Menu color*/



/*
    //////////////////
    Mobile Menu:
    //////////////////
*/



/*
    //////////////////
    Brand Slider Start
    //////////////////
*/
ul {
    padding: 0;
    list-style: none;
}

.slider {
    /*padding-top: 50px;*/
    margin-left: 10px;
    margin-right: 10px;
    overflow: hidden;
    position: relative;
    height: 200px;
}

.small2 {
    font-size: 14px;
    margin-top: 50px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .small2 .small-ul {
        display: flex;
        position: absolute;
        top: 0;
    }

        .small2 .small-ul li {
            margin-left: 5px;
            transition: width 1s ease-in-out;
            margin-left: -4px;
        }

    .small2 .small-span {
        position: absolute;
        /*top: calc(50%-20px);*/
        opacity: 0.1;
        cursor: pointer;
        color: #fff;
        text-shadow: 1px 2px 10px rgba(0, 0, 0, 1);
    }

        .small2 .small-span:hover {
            opacity: 0.5;
        }


        .small2 .small-span:first-of-type {
            right: 10px;
        }

        .small2 .small-span:last-of-type {
            left: 10px;
        }


/*
    //////////////////
    Brand Slider Finished
    //////////////////
*/



/*
    //////////////////
    بخش نمایش دسته بندی
    //////////////////
*/

/* The dropdown container */




/*
    //////////////////
    پایان بخش نمایش دسته بندی
    //////////////////
*/
/*
    //////////////////
    Products Show in Index
    //////////////////
*/

.container-img {
    margin-top: 30px;
}

.image {
    display: block;
    width: 100%;
    height: auto;
}

.imageDiscount {
    display: block;
    width: 98%;
    height: auto;
}

.overlay {
    position: relative;
    bottom: 0;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.5);
    width: 100%;
    transition: 0.5s ease;
    opacity: 0;
    color: white;
    font-size: 18px;
    text-align: center;
}

.container-img:hover .overlay {
    opacity: 1;
}


/*
    //////////////////
    Discount Products Show in Index
    //////////////////
*/

.container-imgdes {
    margin-top: 30px;
}

.imagedes {
    display: block;
    width: 100%;
    height: auto;
}

.overlaydes {
    position: relative;
    bottom: 0;
    background: rgb(0,0,0);
    background: rgba(0,0,0,0.5);
    width: 100%;
    display: block;
    text-decoration: none;
    transition: 0.5s ease;
    opacity: 1;
    color: white;
    font-size: 18px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/*.container-imgdes:hover .overlaydes {
    opacity: 1;
}*/


/*
    //////////////////
    Random Products Show
    //////////////////
*/


/*
    //////////////////
    Random Products Show
    //////////////////
*/

.RandomProductBox {
    background: rgb(101,157,189);
    background: linear-gradient(180deg, rgba(101,157,189,1) 0%, rgba(255,255,255,1) 19%, rgba(255,255,255,1) 87%, rgba(101,157,189,1) 100%);
    display: block;
    border-radius: 10px;
    margin: auto;
    text-align: center;
    padding: 0 20px 50px 20px;
    border: solid #659dbd 1px;
}

    .RandomProductBox h2 {
        text-align: center;
        color: black;
        text-decoration: none;
        font-size: 28px;
    }

        .RandomProductBox h2:hover {
            color: #1882a1;
            text-decoration: none;
            font-size: 28px;
        }


.containerR-img {
    margin-top: 10px;
}

    .containerR-img .image {
        display: block;
        width: 67%;
        height: auto;
    }

    .containerR-img .overlay {
        position: absolute;
        bottom: 0;
        background: rgb(0,0,0);
        background: rgba(0,0,0,0.5);
        width: 60%;
        transition: 0.5s ease;
        opacity: 0;
        color: white;
        font-size: 18px;
        text-align: center;
    }

    .containerR-img:hover .overlay {
        opacity: 1;
    }


/*
    //////////////////
    Products Page CSS|
    //////////////////
*/

.title-color {
    color: #007acc;
}

.red-text-color {
    color: tomato;
}

.price-color {
    color: darkgray;
}

.mg-top-40 {
    margin-top: 40px;
}

/*
    //////////////////
    Products Gallery Slider Css
    //////////////////
*/

img {
    vertical-align: middle;
}

.container {
    position: relative;
}

.mySlides {
    display: none;
}

.curser {
    cursor: pointer;
}

.column {
    float: left;
    width: 16.66%;
}

.demo {
    opacity: 0.6;
}

    .active, .demo:hover {
        opacity: 1;
    }


/*
    //////////////////
    بخش اسلایدر 
    //////////////////
*/


/*
    //////////////////
    پایان بخش اسلایدر
    //////////////////
*/



/*
    //////////////////
    Footer 
    //////////////////
*/

/* استایل‌های اصلی فوتر */
.SFO-footer {
    background: linear-gradient(135deg, #4a5568, #2d3748);
    color: #fff;
    padding: 50px 0 0;
    font-family: 'Vazir', Tahoma, sans-serif;
    direction: rtl;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.SFO-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.SFO-footer-section {
    margin-bottom: 30px;
}

.SFO-footer-title {
    font-size: 1.9rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: #fff;
    font-weight: 700;
}

    .SFO-footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(to right, #38b2ac, #4299e1);
        border-radius: 3px;
    }

.SFO-footer-about {
    line-height: 1.8;
    text-align: justify;
    color: #e2e8f0;
    font-size: 1.5rem;
}

/* استایل مجوزها */
.SFO-certificates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.SFO-certificate {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

    .SFO-certificate:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.SFO-certificate-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 6px;
}

/* استایل لوگو و تماس */
.SFO-footer-logo {
    width: 100%;
    max-width: 220px;
    height: auto;
    margin-bottom: 25px;
    display: block;
    filter: brightness(0) invert(1);
}

.SFO-contact-info {
    margin-top: 20px;
}

.SFO-contact-title {
    font-size: 1.88rem;
    margin-bottom: 20px;
    color: #fff;
}

.SFO-contact-item {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 15px;
    color: #e2e8f0;
    font-size: 1.4rem;
}

.SFO-contact-icon {
    color: #4299e1;
    font-size: 1.6rem;
    min-width: 25px;
}

/* بخش پایینی فوتر */
.SFO-footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.SFO-footer-copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.SFO-copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5e0;
}

.SFO-scroll-btn {
    background: linear-gradient(135deg, #4299e1, #38b2ac);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.3);
}

    .SFO-scroll-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(66, 153, 225, 0.4);
    }

/* رسپانسیو */
@media (max-width: 992px) {
    .SFO-footer-container {
        gap: 30px;
    }

    .SFO-certificate-img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .SFO-footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .SFO-footer-section {
        text-align: center;
    }

    .SFO-footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .SFO-footer-about {
        text-align: center;
    }

    .SFO-footer-logo {
        margin: 0 auto 25px;
    }

    .SFO-contact-item {
        justify-content: center;
    }

    .SFO-footer-copyright {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .SFO-footer {
        padding: 40px 0 0;
    }

    .SFO-certificate-img {
        width: 70px;
        height: 70px;
    }

    .SFO-footer-title {
        font-size: 1.4rem;
    }

    .SFO-contact-item {
        font-size: 1.2rem;
    }
}
