.product-all{
    display: flex;
    flex-direction: column;
}
.product-images{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 1;
    position: relative;
}
.mainImageContainer{
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    background-color: #f2f2f2;
}
.mainImageContainer img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}
.selectedSizeBttn{
    background-color: var(--pink2);
    transition: 0.3s ease;
}
.selections{
    display: flex;
    flex-direction: column;
    order: 1;
    z-index: 3;
}
.item-photos{
    display: flex;
    flex-direction: row;
    justify-self: center;
    gap: 0.5rem;
    overflow: scroll;
}
.culture-info p{
    font-weight: 900;
}

.item-photos img{
    height: auto;
    width: 20vw;
}
.item-photos img:hover{
    cursor: pointer;
}
.product-info{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    order: 3;
}
h1,h2,h4{
    text-align: center;
}
h1{
    font-size: 4rem;
}

hr{
    margin: 1rem 0;
}
#productName{
    font-size: 6vh;
    margin-bottom: 2rem;
}
.addbag{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:10px;
    margin-bottom: 1rem;
}
.cartandfav{
    grid-column: 1 / span 3;
    display: grid;
    grid-template-columns: 5fr 1fr;
}
.horizantal-flex{
    display: flex;
    flex-direction: row;
    margin-bottom: 1rem;
    justify-content: space-between;
}
.s{
    grid-column: 1 / 2;
}
button{
    background-color: var(--white3);
    padding: 5% 20%;
    border: 0;
}
.emph-bttn{
    background-color: var(--emph);
    width: 100%;
    font-size: 1.2rem;
    transition: background-color 0.8s ease, color 0.8s ease;
}

.addFav{
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    background-color: var(--pink1);
}
.addFav img{
    width: 2rem;
    height: 2rem;
    display: inline;
}
.fav-flex{
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.collection-card{
    margin-bottom: 4rem;
    min-width: 100%;
    min-height: 25vh;
    background-color: var(--white3);
    border-radius: 30px;
    margin: 2rem auto;
    background: url(../img/sniffercards/saligia.png);
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
    box-shadow: 0px 0px 20px var(--blackdark);
    position: relative;
}
.collection-card a {
    width: 100%;
    height: 100%;
    position: absolute;
}
.soldOutText{
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 24px;
    z-index: 10;
    font-family: "integralCF";
}
.soldOutBttn{
    opacity: 0.2;
    cursor: not-allowed;
    position: relative;
}
.soldOutBttn span{
    height: 2px;
    width: 100%;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.soldOutAdd{
    cursor: not-allowed;
}
.directionSvg{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; /* Arka planın genişliği */
    height: 32px; /* Arka planın yüksekliği */
    padding: 0.3rem;
    border-radius: 50%; /* Yuvarlak arka plan */
    backdrop-filter: blur(10px);
    position: absolute;
    top: 50%;
    cursor: pointer;
}
#backSvg{
    left: 1rem;
}
#nextSvg{
    right: 1rem;
}
.productPrice{
    display: flex;
    flex-direction: column;
}
.beforeDisc{
    text-decoration: line-through;
}
@media screen and (min-width:992px){
    .product-all{
        display: grid;
        grid-template-columns: repeat(20,1fr);
        grid-template-rows: 1fr 0.3fr; 
        column-gap: 1rem;
    }
    .product-images{
        grid-column: 6 / span 10;
        grid-row: 1 / span 2; 
        flex-direction: row;
    }
    .product-images img{
        height: auto;
        object-fit: cover;
        grid-row: 1 / 2;
    }
    .mainImageContainer{
        height: 100%;
    }
    .item-photos{
        flex-direction: column;
        justify-items: end;
    }
    .item-photos img{
        width: 3vw;
    }
    .product-info h1{
        align-self: center;
        margin-bottom: 2rem;
        font-size: 4rem;
    }
    .product-info{
        grid-column: 1/ span 5;
        grid-row: 1/2;
        margin-top: 7rem;
    }
    .collection-card{
        grid-column: 1/ span 3;
        grid-row: 2/3;
        width: 100%;
        height: 300px
    }
    .horizantal-flex a,.horizantal-flex p{
        font-size: 1rem;
    }
    .addbag{
        gap: 1rem;
    }
    .addbag button{
        font-size: 1vw;
    }
    .culture-info{
        margin-top: 3rem;
        display: flex;
        flex-direction: column;
        gap: 1.3rem;
    }
    .culture-info h4{
        font-size: 1rem;
    }
    .culture-info h2 {
        font-size: 2rem;
    }
    .culture-info p{
        font-size: 1rem;
        font-weight: 900;
    }
    .selections{
        grid-row: 1;
        grid-column: 16 / span 4;
    }
}
