﻿
.product-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
    margin: 20px;
}

.product-card {
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: 4px
}

.product-image {
    width: 200px;
    height: 200px;
    /*object-fit: cover;*/
    border-radius: 5px;
    cursor: pointer;
}

.product-title {
    margin-top: 10px;
    font-weight: bold;
}

.product-price {
    margin-top: 5px;
}

.imgWidth {
    width: 100px;
    height: 100px;
}

.searchInput {
    text-align: center;
    max-width: 80%;
    width: 600px;
    border-radius: 30px;
    border: none;
    background-color: lightgray;
    color: black;
}

.sellProdBtn {
    background-color: green;
    width: 100px;
}

.modulConteinerInLayout {
    display: none;
    position: fixed;
    z-index: 3;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.category-separator {
    margin: 20px 0; /* Adjust the margin as needed */
    border: 1px solid #ccc;
}

.modulBody {
    margin-top:70px;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 1000;
    background-color: lightgray;
    padding: 10px;
    border: 1px solid black;
    border-radius: 20px 0 0 20px;
    width: 400px;
    height: 100%;
    transition: margin-right 0.3s ease-in-out;
}

.tblPopup {
    width: 350px;
    border: 1px solid black;
    border-radius: 20px;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

    .tblPopup td th {
        padding: 5px;
    }

.trData {
    border: 1px solid black;
}

.buttonCloseItem {
    text-align: center;
    height: 25px;
    border-radius: 50%;
    background-color: tomato;
}

.btnBuySelectList {
    background-color: palegreen;
    margin: 15px 90px 0 90px;
    text-decoration: none;
    color: black;
    display: none;
    border-radius: 10px;
    border: 1px solid grey;
    text-align: center;
}

.inpQuantityInCart {
    width: 100px;
    height: 40px;
    margin: 10px 0 0 0;
}

.btnAddInPopUp {
    cursor: pointer;
    width: 20px;
    border: 1px black solid;
    height: 25px;
    text-align: center;
    background-color: mediumseagreen;
}

.btnReduceInPopUp {
    cursor: pointer;
    width: 20px;
    border: 1px black solid;
    height: 25px;
    text-align: center;
    background-color: palevioletred;
}

.selectQuantity {
    margin: 5px 0 10px 0;
}

    .selectQuantity button {
        width: 30px;
        height: 30px;
        border: none;
        border-radius: 10px;
    }

    .selectQuantity input {
        width: 50px;
        text-align: center;
    }

input[type="number"]::-webkit-inner-spin-button {
    display: none; /* Скрыть кнопку увеличения */
}

input[type="number"]::-webkit-outer-spin-button {
    display: none; /* Скрыть кнопку уменьшения */
}

.dataFilling {
    background-color: white;
    border-radius: 10px;
}

.inpQuantutyClose {
    border: 1px solid red;
    width: 50px;
}

.divQuantity {
    display: flex;
    padding: 0 0 10px 20px;
}

    .divQuantity input {
        width: 50px;
        border: none;
        text-align: center;
    }

    .divQuantity button {
        border-radius: 10px;
        border: 0.5px solid blue;
        width: 30px;
        height: 30px;
        background-color: white;
    }

    .divQuantity h3 {
        margin-left: auto;
    }

.popupHeader {
    background-color: white;
/*    display: flex;*/
    border-radius: 10px;
    margin: 10px auto;
}

.popupConteiner {
    border-top: 2px solid lightgray;
    border-bottom: 2px solid lightgray;
}


.closePopUp {
/*    margin: 0 0px 0 110px;*/
    border: none;
    border-radius: 5px;
}

    .closePopUp img {
        width: 20px;
        height: 20px;
    }
    .closePopUp:hover {
        background-color: lightcoral;
    }
.buttonCloseElement {
    border: none;
    background-color: white;
}

    .buttonCloseElement img {
        width: 45px;
        height: 25px;
    }

.buyItemOneClick {
    border-radius: 20px;
}

.popUpHeaderConteiner {
    display: flex;
}

    .popUpHeaderConteiner button {
        margin-left: auto;
    }

.containerAboutUs {
    z-index: 3;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: #f8f9fa; /* Light gray */
    border-radius: 10px; /* Smooth corners */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3); /* Drop shadow */
    width: 300px;
}

.mainContainerAboutUs {
    padding: 20px;
}

.closeAboutUs {
    text-align: right;
}

    .closeAboutUs button {
        background-color: transparent;
        border: none;
        font-size: 16px;
        cursor: pointer;
        color: #6c757d; /* Gray */
    }

        .closeAboutUs button:hover {
            color: #343a40; /* Darker gray */
        }

/* Style for labels */
.containerAboutUs label {
    font-weight: bold;
    color: #212529; /* Black */
}

/* Style for content */
.containerAboutUs div {
    margin-bottom: 15px;
    color: #495057; /* Dark gray */
}