.products
{
    margin-top: 50px;
}

.products .content
{
    display: flex;

    margin: -15px;
    margin-top: 45px;

    justify-content: center;
    flex-wrap: wrap;
}
.products .itemBig
{
    flex-direction: column;

    align-items: center;
}

.products .content .item
{
    position: relative;

    width: calc(33% - 32px);
    max-width: 500px;
    margin: 15px;

    border: solid 1px var(--gray);
}
.products .content .item > .title
{
    display: flex;
    padding: 10px;
    border-bottom: solid 1px var(--gray);
    justify-content: space-between;
    align-items: center;
    white-space: nowrap; 
    flex-wrap: wrap; 
}
.products .content .item > .title .h4 
{
    word-break: break-all;
    white-space: normal; 
}
.products .itemBig .item
{
    width: calc(100% - 32px);
}

.products .content .item .img
{
    width: calc(100% - 20px);
    height: 0;
    margin: 0 10px;
    padding-top: 100%;

    background-repeat: no-repeat;
    background-position: 50%;
    background-size: contain;
}

.products .content .item .description
{
    padding: 30px;

    border-top: solid 1px var(--gray);
}
.products .content .item .description .line
{
    display: flex;

    margin-bottom: 20px;

    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.products .content .item .description .line:last-child
{
    margin-bottom: 0;

    white-space: nowrap;

    color: var(--red);
}
.products .content .item .description .line .h4,
.products .content .item .description .line .stars
{
    margin-right: 10px;
}
.products .content .item .description .line:last-child span
{
    font-size: 13px;
    font-weight: bold;
}

.products .content .item > .title .price
{
    font-family: sans-serif;
    font-size: 20px;
}

.products .content .item,
.products .content .item .description .line .h4,
.products .content .item > .title .price
{
    display: inline-block;
}




@keyframes inFileHover
{
    from
    {
        background-color: var(--lightred);
    }

    to
    {
        background-color: var(--red);
    }
}

.inFile
{
    font-family: CenturyGothic;

    position: relative;

    margin-bottom: 5px;
    padding: 5pt;

    animation-duration: 300ms;
    text-align: left;

    border-radius: 5px;
    background-color: var(--red);
}
.inFile:first-child
{
    margin-bottom: 25px;
}
.inFile:nth-child(2):before
{
    font-family: CenturyGothic;
    font-size: 14px;

    position: absolute;
    top: -21px;
    left: 0;

    content: 'Другие фото:';

    color: var(--black);
}
.inFile .input,
.inFile .remove,
.inFile .remove input,
.inFile .input label
{
    display: inline-block;
}

.inFile:hover
{
    animation-name: inFileHover;
}
.inFile:focus
{
    outline: none;
    background-image: linear-gradient(20deg, var(--lightred), transparent);
    box-shadow: 0 0 3px white;
}
.inFile .title
{
    overflow: hidden;

    padding-right: 65px;
    padding-left: 3px;

    white-space: nowrap;
    text-overflow: ellipsis;
}
.inFile .input,
.inFile .remove
{
    width: 34px;
    height: 30px;
}
.inFile .remove input,
.inFile .input label
{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    border-radius: 5px;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 30px;
}
.inFile .remove input
{
    background-image: url('../../../resources/imgs/cross.png');
    box-shadow: none;
}
.inFile .input label
{
    background-image: url('../../../resources/imgs/open.png');
}
.inFile span
{
    position: absolute;
    top: 2.5pt;
    right: 2px;
}

.inFile .input input
{
    display: none;
}

.inFile .box
{
    text-align: center;
}
.inFile .box img
{
    max-width: 100%;
    max-height: 312px;
    margin-top: 8px;

    border-radius: 6px;
    background-color: white;
}



#pwu .inFile
{
    margin: 0;
}




.inFile .title i
{
    user-select: none;
}
