.item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.item .item-image {
    width: 100%;
    height: 150px;
    background: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #667eea;
}
.item-image {
    width: 100%;
    height: 120px;
    background: #0f3460;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #e94560;
}
.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    width: 98%;
    max-width: 1400px;
}
.item h4 {
    min-height: 40px;
}
.item p {
    min-height: 20px;
}
.inp-box {
    width: 100%;
}
.item .inp {
    padding: 12px auto;
    width: 76%;
    color: white;
    background-color: #667eea;
    border-radius: 10px;
    border: none;
    justify-self: end;
    font-size: 17px;
    float: left;
    cursor: pointer;
    height: 55px;
}
.item .inp:disabled {
    padding: 12px auto;
    width: 76%;
    color: white;
    background-color: #3f4d8d88;
    border-radius: 10px;
    border: none;
    justify-self: end;
    font-size: 17px;
    float: left;
    cursor: not-allowed;
    height: 55px;
}
.item .inp-lock {
    padding: 15px auto;
    width: 20%;
    color: white;
    background-color: #667eea;
    border-radius: 10px;
    border: none;
    justify-self: end;
    font-size: 18px;
    float: right;
    cursor: pointer;
    height: 55px;
}
.sell-form {
    width: 80%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.sell-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #5f7cff, #6c7ae0);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
    margin-left: auto;
    margin-right: auto;
}

.sell-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(95,124,255,0.4);
}

@media (max-width: 480px) {
    .header {
        padding: 20px 10px;
        width: 92%;
    }
}