body {

    height: 100%;
    color: black;
    background: white;
    width: 100vw;
}

#cont2 {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 150px;
}

.product {
    width: calc(50% - 12px);
    height: 277px;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

    .product img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        object-position: center;
    }

.product-content {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    width: 100%;
    height: 20px;
    margin-bottom:20px;
    font-size: 15px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-align: center;
    white-space: normal;
}

.product-price {
    font-weight: bold;
    text-align: center;
    font-size: 15px;
}

.disable_button {
    display: block;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 500ms ease;
    color: Black;
    background: Silver;
}
.activ_button {
   display: block;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 500ms ease;
    color: black;
    background: white;
}

btn-unavailable{
    display: block;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 500ms ease;
    color: Black;
    background: Silver;
}

.activ_button:hover {
   background: royalblue;
}
.disable_button:hover {
   background: Silver;
}

.header {
            background-color: #ffffff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 999;
            padding: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .logo img {
            width: auto;
            max-width: 100%;
            height: 90px;

        }
        .container img
        {
            border-radius: 5px;
        }

        .balance {
            padding-top: 10px;
            font-weight: bold;
        }
        .container{
            max-width: 900px;
            min-height: 120px;
        }

.adm_panel_none#admin_panel {
  display: none;
}

#admin_panel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.toast {
  opacity: 0.95 !important;
  border-radius: 8px !important;

}
        /*Ìåäèà-çàïðîñû äëÿ óñòðîéñòâ ìàëåíüêèõ */
@media (max-width: 350px) {
    .product {
        width: 100%; /* äëÿ 1 â ðÿä */
        height: auto;
    }

    #cont2 {
        padding-top: 160px;
    }


}
/* ìåäèà äëÿ se */
@media (min-width: 351px) and (max-width: 549px) {
    .product {
        width: calc(50% - 5px); /* äëÿ 2 â ðÿä */
        height: 270px;
    }

    #cont2 {
        padding-top: 175px;
    }
}

/* Ìåäèà-çàïðîñû äëÿ áîëüøõ ýêðàíîâ */
@media (min-width: 550px){
    .product {
        width: calc(33.33% - 20px); /* äëÿ 3 â ðÿä */
        height: 250px;
    }

    #cont2 {
        padding-top: 220px;
    }


}

@media (min-width: 1001px) {
    .product {
        width: calc(25% - 20px); /* äëÿ 4 â ðÿä */
        height: 270px;
        margin-right: 20px;
    }

        .product:nth-child(4n) {
            margin-right: 0;
        }

    #cont2{
        padding-top: 250px;
    }
    .logo img{
        max-width: 750px;
    }
}