﻿/* HOME PRODUCTS V1 */

/*---------------------- MAIN PANEL -----------------*/
.S_Home_Products_Main {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0px 20px 0px;
    background-color: transparent;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.S_Home_Products_Body {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    max-width: 100%;
    aspect-ratio: 10/3;
    flex: 0 1 100%;
    -ms-flex: 0 1 100%;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    justify-content: stretch;
    align-items: center;
    gap: 5px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/*---------------------- MAIN PANEL -----------------*/


/*---------------------- ITEM MAIN ------------------*/
.S_Home_Products_Item_Main {
    position: relative;
    display: flex;
    width: auto;
    height: 100%;
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: stretch;
    justify-content: stretch;
    padding: 20px;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    cursor: pointer;
    border-radius: 3px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}

    .S_Home_Products_Item_Main:hover {
        flex: 5.0 1 auto;
        -ms-flex: 5.0 1 auto;
    }

.S_Home_Products_Item_Main_Over {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(0,0,0,0.4);
    z-index: 0;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}

.S_Home_Products_Item_Main:hover .S_Home_Products_Item_Main_Over {
    background-color: rgba(0,0,0,0.2);
}

.S_Home_Products_Item_Body {
    position: relative;
    display: flex;
    width: auto;
    height: auto;
    flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex-wrap: nowrap;
    flex-direction: column;
    align-content: stretch;
    justify-content: flex-end;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    cursor: pointer;
    border-radius: 3px;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 10;
}
/*---------------------- ITEM MAIN ------------------*/


/*---------------------- ITEM TEXT ------------------*/
.S_Home_Products_Item_Text_Title, .S_Home_Products_Item_Text_Desc, .S_Home_Products_Item_Text_More {
    position: relative;
    display: flex;
    width: 100%;
    height: auto;
    flex-wrap: wrap;
    flex-direction: row;
    font-family: 'IRANSans';
    direction: rtl;
    overflow: hidden;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -ms-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -o-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    -webkit-transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
    transition: all 0.6s cubic-bezier(0.000, 0.580, 0.320, 0.995);
}

.S_Home_Products_Item_Text_Title {
    flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    justify-content: flex-start;
    align-items: flex-start;
    font-style: normal;
    font-weight: bold;
    font-size: 1.3em;
    color: rgba(255,255,255,1.0);
}
.S_Home_Products_Item_Main:hover .S_Home_Products_Item_Text_Title {
    font-size: 2.0em;
}
.S_Home_Products_Item_Text_Title_Sep_Line {
    flex: 0 1 0px;
    -ms-flex: 0 1 0px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    height: auto;
    border-top: solid 1px rgba(255,255,255,0.0);
}
.S_Home_Products_Item_Main:hover .S_Home_Products_Item_Text_Title_Sep_Line {
    flex: 0 1 6px;
    -ms-flex: 0 1 6px;
    border-top: solid 1px rgba(255,255,255,0.6);
}
.S_Home_Products_Item_Text_Desc {
    flex: 0 1 0px;
    -ms-flex: 0 1 0px;
    justify-content: flex-start;
    align-items: flex-start;
    font-style: normal;
    font-weight: normal;
    font-size: 0.9em;
    color: rgba(255,255,255,1.0);
}
.S_Home_Products_Item_Main:hover .S_Home_Products_Item_Text_Desc {
    flex: 0 1 40px;
    -ms-flex: 0 1 40px;
}
.S_Home_Products_Item_Text_More {
    flex: 0 1 0px;
    -ms-flex: 0 1 0px;
    justify-content: flex-end;
    align-items: flex-end;
    font-style: normal;
    font-weight: 500;
    font-size: 0.9em;
    color: rgba(255,255,255,1.0);
}
.S_Home_Products_Item_Main:hover .S_Home_Products_Item_Text_More {
    flex: 0 1 40px;
    -ms-flex: 0 1 40px;
}
/*---------------------- ITEM TEXT ------------------*/





@media screen and (min-width:0px) and (max-width:800px) {
    .S_Home_Products_Body {
        aspect-ratio: auto;
        flex-direction: column;
        align-content: stretch;
        justify-content: flex-start;
        gap: 10px;
        padding: 0px 10px;
        -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
        -o-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    .S_Home_Products_Item_Main {
        width: 100%;
        height: auto;
        aspect-ratio: 7/3;
        flex: 0 1 auto;
        -ms-flex: 0 1 auto;
    }

        .S_Home_Products_Item_Main:hover {
            flex: 0 1 auto;
            -ms-flex: 0 1 auto;
        }

    .S_Home_Products_Item_Main_Over {
        background-color: rgba(0,0,0,0.2);
    }

    .S_Home_Products_Item_Text_Title {
        font-size: 2.0em;
    }

    .S_Home_Products_Item_Text_Title_Sep_Line {
        flex: 0 1 6px;
        -ms-flex: 0 1 6px;
        border-top: solid 1px rgba(255,255,255,0.6);
    }

    .S_Home_Products_Item_Text_Desc {
        flex: 0 1 40px;
        -ms-flex: 0 1 40px;
    }

    .S_Home_Products_Item_Text_More {
        flex: 0 1 40px;
        -ms-flex: 0 1 40px;
    }
}

@media screen and (min-width:0px) and (max-width:600px) {
     
}