form > div.highlight
{
    background-color: white;
    animation: highlight 1s;
    animation-timing-function: ease;
}

@keyframes highlight {
    0% { background-color: white;}
    50% { background-color: #bfff00;}
    100% { background-color: white;}
}

div.product
{
    border: 1px solid #ebebeb;
    border-radius: var(--borderRadius);
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

div.product > div.image > img
{
    width: 200px;
    border-radius: var(--borderRadius);
}


div.product > div.text > p.name
{
    font-size: calc(var(--smallFontSize) + 1rem);
}






div.product > div.text > div.price > p,
div.product > div.text > div.price > p > s
{
    font-size: calc(var(--smallFontSize) + 0.5rem);
    padding-top: 0.3rem;
    color: var(--orange);
    font-family: var(--displayMedium);
}

div.product > div.text > div.price > p > s
{
    color: #666;
}

div.product > div.text > div.price > div.discount
{
    background-color: #81d109;
    color: var(--white);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: var(--xsmallFontSize);
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}








div.product > div.text > div.form
{
    padding-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

div.product > div.text > div.form > select
{
    min-width: unset;
    width: fit-content;
    padding-left: 1rem;
    padding-right: 1rem;
}

div.product > div.text > div.form > select > option
{
    text-align: center;
}

div.product > div.text > div.form > p.length
{
    font-size: calc(var(--smallFontSize) + 1rem);
}

div.product > div.text > div.form > div.quantity
{
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

div.product > div.text > div.form > div.quantity > input[type="number"]
{
    min-width: unset;
    max-width: 60px;
    text-align: center;
}

div.product > div.text > div.form > div.quantity > p
{
    color: #666;
}





div.product > div.text > div.colors
{
    margin-top: 0.5rem;
}

div.product > div.text > div.colors > select
{
    min-width: unset;
    width: fit-content;
    padding-left: 1rem;
    padding-right: 1rem;
}






div.product > div.text > div.operations
{
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
}

div.product > div.text > div.operations > div
{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

div.product > div.text > div.operations > div > p
{
    color: #666;
}


div.product > div.text > div.operations > div > img
{
    height: 28px;
}





div.product > div.text > div.volume_discount
{
    padding: 0.5rem;
    margin-top: 1rem;
    font-size: var(--smallFontSize);
    font-weight: bold;
    background-color: #81d109;
    color: var(--white);
    border-radius: calc(var(--borderRadius) / 2);
    text-align: center;
}





@media only screen and (max-width: 500px)
{
    div.product > div.image > img
    {
        width: 30vw;
    }

    div.product > div.text > p.name
    {
        font-size: calc(var(--smallFontSize) + 0.2rem);
    }

    div.product > div.text > div.price > p,
    div.product > div.text > div.price > p > s
    {
        font-size: var(--smallFontSize);
        white-space: nowrap;
    }

    div.product > div.text > div.form
    {
        flex-direction: column;
    }

    div.product > div.text > div.form > select {
        width: 100%;
    }

    div.product > div.text > div.form > div.quantity > input[type="number"] {
        max-width: unset;
        width: 100%;
    }

    div.product > div.text > div.operations
    {
        flex-direction: column;
    }

    div.product > div.text > div.operations > div > p {
        font-size: var(--xsmallFontSize);
    }

}
