.allHorizontal1{
    margin: auto;
    margin-top: 3rem;
    .title1{
        font-size: 1.3rem;
        font-weight: 700;
        color: $text2;
        margin-bottom: 1rem;
    }
    .items{
        display: grid;
        grid-template-columns: repeat(auto-fill,minmax(22rem,1fr));
        grid-gap: 1rem;
        .product{
            background: white;
            padding: 1rem;
            display: grid;
            grid-template-columns: auto 7rem 1fr auto;
            grid-gap: .5rem;
            border-radius: 20px;
            align-items: center;
            border-bottom: 2px solid transparent;
            border-top: 2px solid transparent;
            .pic{
                position: relative;
                overflow: hidden;
                .off{
                    position: absolute;
                    top: 0;
                    right: 0;
                    background: red;
                    border-radius: 5px;
                    color: white;
                    font-size: .7rem;
                    font-weight: 300;
                    padding: 2px 5px;
                }
                img{
                    height: 7rem;
                    width: 7rem;
                    transition: all .3s ease-in-out;
                }
            }
            .des{
                .t1{
                    font-size: 1rem;
                    font-weight: 300;
                    color: $text1;
                    margin-bottom: 1rem;
                    height: 3rem;
                    overflow: hidden;
                }
                .options{
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    .price{
                        display: flex;
                        gap: 5px;
                        align-items: center;
                        font-size: 1rem;
                        font-weight: 700;
                        color: $green;
                        &:after{
                            content: "\F06C\00FE0E";
                            display: -webkit-box;
                            display: -ms-flexbox;
                            display: flex;
                            -webkit-box-align: center;
                            -ms-flex-align: center;
                            align-items: center;
                            -webkit-box-pack: center;
                            -ms-flex-pack: center;
                            justify-content: center;
                            font-weight: 400;
                            letter-spacing: normal;
                            font-family: digikala;
                            font-size: 1.1rem;
                            -webkit-font-smoothing: antialiased;
                            -moz-osx-font-smoothing: grayscale;
                            font-style: normal;
                            font-variant: normal;
                            font-weight: 400;
                            text-decoration: none;
                            text-transform: none;
                            line-height: 1;
                            box-sizing: inherit;
                        }
                    }
                    .carrier{
                        padding: 5px;
                        border: 1px solid $border1;
                        border-radius: 5px;
                        color: $text1;
                        font-weight: 300;
                        font-size: .8rem;
                    }
                }
            }
            .icon10{
                height: 50%;
                background: $allBack;
                transform: rotate(180deg);
                margin-right: -1.1rem;
                svg{
                    height: 100%;
                }
                path{
                    fill: white;
                }
            }
            .icon11{
                height: 50%;
                background: $allBack;
                margin-left: -1.1rem;
                svg{
                    height: 100%;
                }
                path{
                    fill: white;
                }
            }
            &:hover{
                border-bottom: 2px solid $green;
                border-top: 2px solid $green;
                .pic{
                    img{
                        transform: scale(1.1);
                    }
                }
            }
        }
    }
    @media screen and (max-width: 800px) {
        margin-top: 1rem;
        .items{
            grid-template-columns: 1fr;
            .product{
                padding: .5rem;
                grid-template-columns: 5rem 1fr;
                border-radius: 10px;
                .pic{
                    .off{
                        font-size: .6rem;
                        padding: 1px 5px;
                    }
                    img{
                        height: 5rem;
                        width: 5rem;
                    }
                }
                .des{
                    .t1{
                        font-size: .75rem;
                        margin-bottom: .5rem;
                        height: auto;
                    }
                    .options{
                        .price{
                            font-size: .8rem;
                            &:after{
                                font-size: .7rem;
                            }
                        }
                        .carrier{
                            font-size: .6rem;
                        }
                        .buttons{
                            .optionItem{
                                padding: .2rem;
                                svg{
                                    width: 1rem;
                                    height: 1rem;
                                }
                            }
                        }
                    }
                }
                .icon10,.icon11{
                    display: none;
                }
            }
        }
    }
}
