@font-face {
    font-family: oswald;
    src: url(./../../beta/fonts/Oswald/Oswald-VariableFont_wght.ttf);
}

main {
    height: max-content;
    position: relative;
    margin-top: 75px;

    display: flex;

    .main {
        width: 100%;
        position: relative;
    }
}

.prod-cont {                                                
    padding: 2rem 0 2rem 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: end;

    .prod-img {
        width: 50%;
        display: flex;
        justify-content: center;
    }

    .prod-info {
        width: 100%;
    }
}

#szSelection {
    width: 100%;

    & p {
        margin: 0;
        font-family: oswald;
        font-weight: 500;
    }

    & label {
        font-weight: 600;
    }
}

.mainImg-cont {
    position: relative;
    left: 0;
    width: fit-content;
    height: 300px;

    & img {
        position: absolute;
        width: 280px;
        aspect-ratio: 1/1;

        left: 50%;
        transform: translateX(-50%);
    }
}

#sprd-catg {
    width: 98%;
    margin: 0 auto;
}

.getPrds {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.sz {
    .sz_cst_stk {
        display: flex;
        column-gap: 2rem;
        align-items: end;

        & h5 span {
            font-family: oswald;
        }
    }

    .qty-wrap {
        padding: 0;
        margin-bottom: 2px;

        height: 40px;
        display: flex;
        align-items: end;

        & h5 {
            font-family: oswald;
            margin-right: 10px;
        }

        .qty-cont {
            width: 160px;
            height: 100%;

            display: flex;
            align-items: center;
            justify-content: space-evenly;

            background-color: #eee;
            border-radius: 5px;
        }

        .qty-cont .subt {
            border-right: 3px solid #555;
            padding-right: 20px;
            cursor: pointer;

            color: #555;
            font-size: 22px;
            font-weight: bold;
        }

        .qty-cont .add {
            border-left: 3px solid #555;
            padding-left: 20px;
            cursor: pointer;

            color: #555;
            font-size: 22px;
            font-weight: bold;
        }

        .qty-cont .qty {
            font-size: 20px;
            font-weight: bold;
        }
    }

    .szColn {
        & input[type="radio"]{
            display: none;
        }

        & label {
            border: 3px solid rgb(13, 109, 104);
            padding: 5px;
            border-radius: 5px;

            min-width: 40px;

            color: orangered;
            font-family: oswald;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
        }

        & input[type='radio']:checked + label {
            background-color: aquamarine;
        }
    }
}

@media(min-width: 768px){
    .getPrds {
        display: flex;
        gap: 1rem;
        height: fit-content;
        
        position: relative;
    }

    .product-cont:last-child {
        display: none;
    }
}

@media(min-width: 1024px){
    .getPrds {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    #sprd-catg, .prod-cont {
        width: 90%;
    }

    #sprd-catg {
        & h2 {
            font-family: oswald;
        }
    }

    .product-cont:last-child {
        display: block;
    }

    .prod-cont {
        padding: 1rem 0 2rem 0;
        border-radius: 1rem;
        height: fit-content;
        display: grid;
        grid-template-columns: 35% 50%;
        column-gap: 2rem;

        .prod-img {
            width: 100%;
            height: 100%;
        }
    }

    .mainImg-cont {
        height: fit-content;
        width: 100%;
        border-radius: 10px;
        overflow: hidden;

        /* background-image: url(./../../beta/prod_bg1.png); */
        /* background-position: left; */
        background-color: #88d2f7bd;
    
        & img {
            border-radius: 0;
            position: relative;
            aspect-ratio: 1/1;
            width: 100%;
        }
    }

    .prod-cont .prod-info {
        & h4 {
            font-family: oswald;
        }

        & h2 {
            color: #444;
            font-family: oswald;
            font-size: 1.4rem;
            font-weight: 600;
        }

        & h6 {
            font-weight: 600;
        }

        .szColn {
            margin-top: 10px;
        }
    }
}

@media(min-width: 1440px){
    #sprd-catg, .prod-cont {
        width: 80%;
    }

    .mainImg-cont {
        width: 75%;
    }
}