
/** PRODUCT REQUEST **/

.product_request {
    max-width: 105rem;
    width: 100%;
}

.product_request > .box {
    display: flex;
    gap: 4rem;
    position: relative;
}

/** Product request: Image **/

.product_request .image {
    background-color: #F7F7F7;
    cursor: default;
    max-width: 40rem;
    position: relative;
    width: 100%;
}

.product_request .image > img {
    width: 100%;
}

/** Product request: Tag **/

.product_request .tag {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 3rem;
    width: 100%;
}

/** Product request: Tag > Product **/

.product_request .product {
    cursor: default;
}

.product_request .name {
    font-size: 3rem;
}

.product_request .name > span {
    border-radius: 3rem;
    padding: 0 0.8rem;
}

.product_request .price {
    font-size: 2rem;
    margin-top: 3rem;
}

.product_request .description {
    line-height: 1.8rem;
    margin: 3rem 0 1rem 0;
    text-align: justify;
}

.product_request .description > span {
    font-weight: bold;
}

.product_request .detail {
    color: #F02004;
    cursor: pointer;
    display: inline-block;
    padding-bottom: 1rem;
}

.product_request .detail:hover {
    text-decoration: underline;
}

/** Product request: Tag > Add **/

.product_request .add {
    border-top: 1px dashed #E9E9E9;
    display: flex;
    gap: 2.5rem;
    justify-content: right;
    padding-top: 4rem;
}

/** Product request: Tag > Add > Spinner **/

.product_request .add > .input {
    border: #8F8F8F solid 0.3rem;
    padding: 1.1rem;
    justify-content: space-between;
    margin-bottom: 0;
	-webkit-transition: border 0.25s ease;
	-moz-transition: border 0.25s ease;
	-o-transition: border 0.25s ease;
    transition: border 0.25s ease;
    height: fit-content;
    width: 15rem;
}

.product_request .add > .input:focus-within {
    border-color: #F02004;
}

.product_request .add > .input > .spinner {
    background-color: #E9E9E9;
    border-radius: 5rem;
    flex-shrink: 0;
    line-height: 2.4rem;
	-webkit-transition: background 0.25s ease;
	-moz-transition: background 0.25s ease;
	-o-transition: background 0.25s ease;
    transition: background 0.25s ease;
    height: 2.4rem;
    width: 2.4rem;
}

.product_request .add > .input > .spinner:hover {
    background-color: #C9C9C9;
}

.product_request .add > .input > input {
    margin: 0;
    -moz-appearance: textfield;
    height: 2.4rem;
    width: 50%;
}

.product_request .add > .input > input::-webkit-inner-spin-button,
.product_request .add > .input > input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    opacity: 0;
    margin: 0;
}

.product_request .add > .input {
    border-radius: 2.5rem;
    font-size: 1.6rem;
    text-align: center;
}

/** Product request: Tag > Add > Submit **/

.product_request .add > .submit {
    border-radius: 2.5rem;
    font-size: 1.6rem;
    text-align: center;
}

/** RESPONSIVE **/

@media (max-width: 850px) {

    .product_request > .box {
        flex-direction: column;
    }
   
    .product_request .image {
        max-width: 100%;
    }
}

@media (max-width: 550px) {

    .product_request > .box {
        padding: 2rem 2rem 4rem 2rem !important;
    }

    .product_request .add {
        flex-direction: column;
        align-items: center;
    }

    .product_request .add > .submit {
        width: 15rem;
    }

    #messages .product_request .description {
        display: none;
    }

    #messages .product_request .price {
        margin: 1.5rem 0 0.5rem 0;
    }
}