body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.details-container {
    width: 100vw;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
    flex-grow: 1;
}

.details-text {
    width: 60%;
    padding: 2rem;
    height: 100%;
}

.product-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    gap: 2rem;
}

.product-name {
    font-family: Amsterdam;
    height: auto;
    font-size: 3.5rem;
}

.product-image {
    position: relative;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    position: relative;
    margin: auto 1rem;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-desc {
    width: 100%;
    line-height: 3rem;
    text-align: justify;
    color: #616161;
    font-family: Poppins;
    font-weight: 300;
    font-size: 1.2rem;
}

.preview-img {
    width: 40%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.slider {
    max-width: 60%;
    aspect-ratio: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
}

.bottom {
    position: relative;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2rem 5rem;
    align-items: center;
}

.bottom * {
    font-family: Poppins;
    font-weight: 400;
    font-size: 2rem;
}

.number-input {
    display: flex;
    align-items: center;
}

.number-display {
    width: 35px;
    text-align: center;
}


input[type="hidden"] {
    display: none;
}

.Add-cart {
    background: transparent;
    border: none;

}

.Add-cart:hover {
    cursor: pointer;
    color: var(--Dark-pink) !important;
}

.cart-link {
    color: var(--Bright-pink);

}

.cart-link:hover {
    color: var(--Dark-pink);
    text-decoration: none;
}

/* ------------------------------ Narrow Screens ------------------------------ */
@media(max-width: 1100px) {
    .details-text {
        height: 80%;
    }

    .product-desc {
        line-height: 2.5rem;
    }
}

@media(max-width: 992px) {

    .details-container {
        justify-content: center;
        align-content: space-between;
    }

    .details-text {
        width: 100%;
        margin: 0px 50px;
        height: fit-content;
    }

    .product-head {
        justify-content: center;
        flex-direction: column;
    }

    .product-name {
        height: auto;
    }

    .product-desc {
        text-align-last: center;
        line-height: 2.2rem;
    }

    .preview-img {
        position: relative;
        top: auto;
        right: auto;
        padding: 0 !important;
        display: flex;
        flex-wrap: wrap;
        width: 75%;
        margin: 0 25px 0 25px;
        padding: 2rem .5rem;
        overflow: hidden;
    }

    .bottom * {
        font-size: 1.2rem;
    }
}

@media(max-width: 768px) {
    .product-desc {
        line-height: 2rem;
        font-size: 1rem;
    }

    .preview-img {
        width: 80%;
    }
}

@media(max-width: 660px) {

    .product-name {
        font-size: 2.4rem;
    }

    .product-desc {
        line-height: 2rem;
        font-size: 1rem;
    }

    .slider {
        width: 75%;
    }

}

@media(max-width: 515px) {

    .product-name {
        font-size: 2rem;
        height: auto;
        width: 100%;
        text-align: center;
    }

    .product-image {
        width: 120px;
        height: 120px;
    }

    .details-text {
        padding: 1rem;
    }

    .product-desc {
        line-height: 1.7rem;
        font-size: 0.8rem;
    }

    .preview-img {
        width: 100%;
    }

    .bottom {
        font-size: 1rem;
        padding: 2rem 2rem;
    }

    .bottom * {
        font-size: 1rem;
    }

}

@media(max-width: 425px) {

    .product-desc {
        line-height: 1.4rem;
        font-size: 0.7rem;
    }

}