@import url(variables.css);
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    display: flex;
    padding: 40px 40px 0px 40px;
}
.div__buttons{
    display: flex;
    width: 100%;
    justify-content: space-between;
    z-index: 5;
}
.div__buttons button{
    width: 40px;
    height: 40px;
    align-items: center;
    background-color: var(--color-3);
    border-radius: 100px;
    border: none;
}
.arrow-left{
    width: 24px;
    height: 24px;
}
.button__fav{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-3);
    border-radius: 100px;
    border: 1px solid var(--color-6);
}
.heart-white{
    width: 24px;
    height: 24px;
    filter: invert(1);
}
#heart:checked + .button__fav {
    background-color: var(--color-13);
    border: none;
}
#heart:checked + .button__fav .heart-white {
    background-image: url(../storage/img/heart.png);
}

/**********************/

main{
    display: flex;
    flex-direction: column;
    padding: 0px 24px 0px 24px;
}
.div__img{
    display: flex;
    margin-top: -53px;
    height: 392px;
    justify-content: center;
}
.div__img img{
    display: flex;
    width: 100%;
    border-radius: 16px;
    object-fit: fill;
}
.div__info{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 24px;
}
.div__info-clothe{
    display: flex;
    flex-direction: column;
}
.div__info-clothe .clothe-name{
    font-family: "EncodeSans-SemiBold";
    line-height: 130%;
    font-size: 24px;
    color: var(--color-5);
}
.div__rating-clothe{
    align-items: center;
    display: flex;
    margin-top: 6px;
}
.div__rating-clothe img{
    width: 18px;
    height: 18px;
}
.div__rating-clothe .rating-value{
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 120%;
    margin-left: 8px;
    color: var(--color-4);
}
.div__rating-clothe .reviews{
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 120%;
    margin-left: 4px;
    color: var(--color-22);
}
.div__quantity-clothe{
    display: flex;
    margin-left: auto;
    margin-top: -20px;
    width: 28%;
    height: 32px;
    align-items: center;
}
.div__quantity-clothe button{
    display: flex;
    align-items: center;
    width: 32px;
    height: 32px;
    background-color: var( --color-3);
    border-radius: 100px;
    border: 1px solid var(--color-8);
}
.div__quantity-clothe button img{
    margin-left: 7.2px;
    width: 16px;
    height: 16px;
}
.div__quantity-clothe input{
    width: 35px;
    height: 24px;
    text-align: center;
    outline: none;
    border: none;
    margin-left: 3px;
    margin-right: -12px;
    background-color: transparent;
    color: var(--color-21);
    font-family: "EncodeSans-Bold";
    font-size: 16px;
}
.div__description-clothe{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-top: 8px;
}
.div__description-clothe p{
    display: flex;
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 150%;
    color: var(--color-4);
}
.div__description-clothe summary{
    display: flex;
    font-family: "EncodeSans-SemiBold";
    font-size: 14px;
    line-height: 150%;
    color: var(--color-5);
    list-style: none;
}
.div__description-clothe summary::after {
    content: " Read More. . .";
    color: var(--color-5);
    text-decoration: none;
}
details[open] summary::after {
    content: " Read Less. . .";
}
/********************/

footer{
    display: flex;
    flex-direction: column;
    padding: 10px 24px 30px 24px;
}
.div__footer{
    display: flex;
    width: 100%;
}
.div__footer-left{
    display: flex;
    width: 50%;
    margin-right: auto;
}
.div__footer-left .div__size{
    display: flex;
    width: 100%;
    flex-direction: column;
}
.div__footer-left .div__size .size-text{
    font-family: "EncodeSans-Bold";
    font-size: 12px;
    line-height: 150%;
    color: var(--color-5);
}
.div__size-choices label{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}
.div__footer-left .div__size .div__size-choices .size-S{
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 150%;
    background-color: var(--color-3);
    color: var(--color-9);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
}
#button__size-S:checked + .size-S {
    background-color: var(--color-9);
    color: var(--color-10);
}
.div__footer-left .div__size .div__size-choices .size-M{
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 150%;
    background-color: var(--color-3);
    color: var(--color-9);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
    margin-left: 8px;
}
#button__size-M:checked + .size-M {
    background-color: var(--color-9);
    color: var(--color-10);
}
.div__footer-left .div__size .div__size-choices .size-L{
    font-family: "EncodeSans-Bold";
    font-size: 12px;
    line-height: 150%;
    background-color: var(--color-2);
    color: var(--color-10);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
    margin-left: 8px;
}
#button__size-L:checked + .size-L {
    font-family: "EncodeSans-Regular";
    background-color: var(--color-3);
    color: var(--color-9);
}
.div__footer-left .div__size .div__size-choices .size-XL{
    font-family: "EncodeSans-Regular";
    font-size: 12px;
    line-height: 150%;
    background-color: var(--color-3);
    color: var(--color-9);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
    margin-left: 8px;
}
#button__size-XL:checked + .size-XL {
    background-color: var(--color-9);
    color: var(--color-10);
}
.div__footer-right{
    display: flex;
    width: 33%;
}
.div__footer-right .div__colour{
    display: flex;
    width: 100%;
    flex-direction: column;
}
.div__footer-right .div__colour .colour-text{
    font-family: "EncodeSans-Bold";
    font-size: 12px;
    line-height: 150%;
    color: var(--color-5);
}
.div__colour-choices label{
    display: inline-flex;
    width: 26px;
    height: 26px;
}
.div__footer-right .div__colour .div__colour-choices .colour1{
    background-color: var(--color-20);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
}
#button__colour1:checked + .colour1 {
    border: 3px solid var(--color-17);
}
.div__footer-right .div__colour .div__colour-choices .colour2{
    background-color: var(--color-18);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
    margin-left: 8px;
}
#button__colour2:checked + .colour2 {
    border: 3px solid var(--color-21);
}
.div__footer-right .div__colour .div__colour-choices .colour3{
    background-color: var(--color-13);
    border-radius: 100px;
    border: 1px solid var(--color-6);
    margin-top: 8px;
    margin-left: 8px;
}
#button__colour3:checked + .colour3 {
    border: 3px solid var(--color-21);
}
.div__add{
    background-color: var(--color-2);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    margin-top: 24px;
    border-radius: 40px;
}
.div__add img{
    display: flex;
    width: 24px;
    height: 24px;
    filter: invert(1);
    
}
.div__add a{
    font-family: "EncodeSans-Bold";
    font-size: 14px;
    line-height: 140%;
    margin-left: 8px;
    color: var(--color-10);
    text-decoration: none;
}
.div__add .var{
    font-family: "EncodeSans-Bold";
    font-size: 14px;
    line-height: 140%;
    margin-left: 4px;
    margin-right: 4px;
    color: var(--color-10);
}
.div__add .discount{
    font-family: "EncodeSans-Bold";
    font-size: 14px;
    line-height: 140%;
    color: var(--color-10);
}
.div__add .real-price{
    font-family: "EncodeSans-Regular";
    font-size: 10px;
    line-height: 140%;
    margin-left: 4px;
    color: var(--color-21);
}
@media screen and (min-height: 815px){
    .div__quantity-clothe{
        display: flex;
        margin-left: auto;
        margin-top: -15px;
        width: 28%;
        height: 32px;
        align-items: center;
    }
    .div__rating-clothe{
        align-items: center;
        display: flex;
        margin-top: 15px;
    }
    .div__description-clothe{
        display: flex;
        flex-direction: column;
        width: 80%;
        margin-top: 15px;
    }
    .div__description-clothe p{
        display: flex;
        font-family: "EncodeSans-Regular";
        font-size: 12px;
        line-height: 150%;
        margin-bottom: 10px;
        color: var(--color-7);
    }
    footer{
        display: flex;
        flex-direction: column;
        padding: 35px 24px 30px 24px;
    }
    .div__add{
        background-color: var(--color-5);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        margin-top: 30px;
        border-radius: 40px;
    }
}
@media screen and (max-width: 320px){
    .div__quantity-clothe{
        display: flex;
        margin-left: auto;
        margin-top: -5px;
        width: 28%;
        height: 32px;
        align-items: center;
    }
    .div__quantity-clothe button{
        display: flex;
        align-items: center;
        width: 25px;
        height: 25px;
        background-color: var(--color-1);
        border-radius: 100px;
        border: 1px solid var(--color-9);
    }
    .div__quantity-clothe button img{
        margin-left: 4.5px;
        width: 16px;
        height: 16px;
    }
    .div__footer-left{
        display: flex;
        width: 60%;
        margin-right: auto;
    }
    .div__footer-right{
        display: flex;
        width: 38%;
    }
}
@media screen and (min-width: 1280px){
    .div__img{
        display: flex;
        margin-top: -53px;
        height: 392px;
        justify-content: center;
    }
    .div__img img{
        display: flex;
        width: 327px;
        height: 392px;
        border-radius: 16px;
    }
    .div__quantity-clothe input{
        width: 35px;
        height: 24px;
        text-align: center;
        outline: none;
        border: none;
        margin-left: 15px;
        margin-right: 1px;
        background-color: transparent;
        color: var(--color-2);
        font-family: "EncodeSans-Bold";
        font-size: 16px;
    }
    .div__quantity-clothe{
        display: flex;
        margin-left: auto;
        margin-top: -5px;
        width: 26%;
        height: 32px;
        align-items: center;
    }
    .div__quantity-clothe button{
        display: flex;
        align-items: center;
        width: 30px;
        height: 30px;
        background-color: var(--color-1);
        border-radius: 100px;
        border: 1px solid var(--color-9);
    }
    .div__quantity-clothe button img{
        margin-left: 7px;
        width: 16px;
        height: 16px;
    }
    .div__footer-left{
        display: flex;
        width: 100%;
        margin-right: auto;
    }
    .div__footer-right{
        display: flex;
        width: 35%;
    }
    footer{
        display: flex;
        flex-direction: column;
        padding: 30px 24px 24px 24px;
    }
    .div__add{
        background-color: var(--color-5);
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        margin-top: 90px;
        border-radius: 40px;
    }
}