#results-container {
    display: none;
}

#pre-results {
    display: flex;
    justify-content: space-between;
}

#margin-container {
    display: flex;
    justify-content: right;
    align-items: center;
    gap: .7em;
}
#margin {
    padding: 7px;
    margin: 0px;
    width: 164px;
}

#nb-results {
    color: #818C8D;
    margin-top: 0px;
}

@media screen and (max-width: 450px) {
    #nb-results {
        margin: auto;
        text-align: center;
        margin-left: 0px;
        font-size: 15px;
    }
    #margin-container {
        font-size: 15px;
    }
    #margin {
        width: 100px;
    }
}

.product {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    margin-top: .7em;
}

.properties {
    display: flex;
    justify-content: flex-start;
    flex-grow: 1;
    gap: 0px 30px;
    flex-wrap: wrap;
}

@media (max-width: 660px) {
    .product {
        flex-wrap: wrap-reverse;
        gap: .7em;
        margin: 1em 0;
    }
    .properties {
        gap: .9em;
        justify-content: center;
        > p {
            margin: 0px;
            text-align: center;
        }
    }
}

.name-prop, .raw-price {
    font-weight: bold;
}

.marketed-price, .id-prop {
    font-style: italic;
}

.latest_order-prop {
    color: #818C8D;
}

.actions {
    display: flex;
    gap: 10px;
}

.btn {
    min-width: min-content;
    box-shadow: none;
    align-items: center;
    background: none;
    border: 1px solid lightgray;
    height: 48px;
    width: 48px;
    padding: 11px;
    border-radius: 16px;
    font-size: 24px;
    cursor: pointer;
}

.btn:hover {
    background-color: rgba(255, 38, 0, .2);
    
    > .standby {
        display: none;
    }
    
    > .hover {
        display: inline-block;
    }
}

.btn .hover {
    display: none;
}

@media screen and (max-width: 350px) {
    .btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        > iconify-icon {
            font-size: 18px !important;
        }
    }
    #nb-results {
        margin-top: 0px;
    }
    #margin-container {
        flex-wrap: wrap;
    }
}

/* History button */

.btn-history {
    color: var(--background-color-dark);
}

.btn-history:hover {
    background-color: rgba(56, 102, 65, .2);
}

.btn-history:focus {
    box-shadow: 0 0 0 4px rgba(56, 102, 65, .2);
}

/* Edit button */

.btn-edit {
    color: #447EB4;
}

.btn-edit:hover {
    background-color: rgba(68, 126, 180, .2);
}

.btn-edit:focus {
    box-shadow: 0 0 0 4px rgba(68, 126, 180, .2);
}

/* Delete button */

.btn-delete {
    color: red;
}

.btn-delete:hover {
    background-color: rgba(255, 38, 0, .2);
}

.btn-delete:focus {
    box-shadow: 0 0 0 4px rgba(255, 38, 0, .2);
}
